Package org.apache.wss4j.dom.str
Class EncryptedKeySTRParser
java.lang.Object
org.apache.wss4j.dom.str.EncryptedKeySTRParser
- All Implemented Interfaces:
STRParser
This implementation of STRParser is for parsing a SecurityTokenReference element, found in the
KeyInfo element associated with an EncryptedKey element
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.wss4j.dom.str.STRParser
STRParser.REFERENCE_TYPE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseSecurityTokenReference(STRParserParameters parameters) Parse a SecurityTokenReference element and extract credentials.
-
Constructor Details
-
EncryptedKeySTRParser
public EncryptedKeySTRParser()
-
-
Method Details
-
parseSecurityTokenReference
public STRParserResult parseSecurityTokenReference(STRParserParameters parameters) throws WSSecurityException Parse a SecurityTokenReference element and extract credentials.- Specified by:
parseSecurityTokenReferencein interfaceSTRParser- Parameters:
parameters- The parameters to parse- Returns:
- the STRParserResult Object containing the parsing results
- Throws:
WSSecurityException
-