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 ofKeyAgreementParameterParser
instances to use.parse
(AgreementMethod agreementMethod) Parse the specifiedAgreementMethod
into an instance ofKeyAgreementParameters
.
-
Field Details
-
log
private org.slf4j.Logger logLogger.
-
-
Constructor Details
-
KeyAgreementParametersParser
public KeyAgreementParametersParser()
-
-
Method Details
-
parse
@Nonnull public KeyAgreementParameters parse(@Nonnull AgreementMethod agreementMethod) throws KeyAgreementException Parse the specifiedAgreementMethod
into 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 ofKeyAgreementParameterParser
instances to use.This implementation uses the Java Service API to load the instances. Subclasses may override.
- Returns:
- the list of parser instances
-