Class EncryptedKeySTRParser

java.lang.Object
org.apache.wss4j.dom.str.EncryptedKeySTRParser
All Implemented Interfaces:
STRParser

public class EncryptedKeySTRParser extends Object implements STRParser
This implementation of STRParser is for parsing a SecurityTokenReference element, found in the KeyInfo element associated with an EncryptedKey element
  • Constructor Details

    • EncryptedKeySTRParser

      public EncryptedKeySTRParser()
  • Method Details

    • parseSecurityTokenReference

      public STRParserResult parseSecurityTokenReference(STRParserParameters parameters) throws org.apache.wss4j.common.ext.WSSecurityException
      Parse a SecurityTokenReference element and extract credentials.
      Specified by:
      parseSecurityTokenReference in interface STRParser
      Parameters:
      parameters - The parameters to parse
      Returns:
      the STRParserResult Object containing the parsing results
      Throws:
      org.apache.wss4j.common.ext.WSSecurityException