Class KeyAgreementParametersParser
java.lang.Object
org.opensaml.xmlsec.agreement.impl.KeyAgreementParametersParser
A component which parses an instance of
AgreementMethod and produces a new instance
of KeyAgreementParameters.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected List<KeyAgreementParameterParser>Obtain the list ofKeyAgreementParameterParserinstances to use.parse(AgreementMethod agreementMethod) Parse the specifiedAgreementMethodinto an instance ofKeyAgreementParameters.
-
Field Details
-
log
@Nonnull private org.slf4j.Logger logLogger.
-
-
Constructor Details
-
KeyAgreementParametersParser
public KeyAgreementParametersParser()
-
-
Method Details
-
parse
@Nonnull public KeyAgreementParameters parse(@Nonnull AgreementMethod agreementMethod) throws KeyAgreementException Parse the specifiedAgreementMethodinto an instance ofKeyAgreementParameters.- Parameters:
agreementMethod- the AgreementMethod to process- Returns:
- the new instance of key agreement parameters
- Throws:
KeyAgreementException- if parameters parsing does not complete successfully
-
getParsers
Obtain the list ofKeyAgreementParameterParserinstances to use.This implementation uses the Java Service API to load the instances. Subclasses may override.
- Returns:
- the list of parser instances
-