Class 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 Detail

      • EncryptedKeySTRParser

        public EncryptedKeySTRParser()
    • Method Detail

      • 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