Class KeyAgreementParametersParser
- java.lang.Object
-
- org.opensaml.xmlsec.agreement.impl.KeyAgreementParametersParser
-
public class KeyAgreementParametersParser extends Object
A component which parses an instance ofAgreementMethodand produces a new instance ofKeyAgreementParameters.
-
-
Field Summary
Fields Modifier and Type Field Description private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description KeyAgreementParametersParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<KeyAgreementParameterParser>getParsers()Obtain the list ofKeyAgreementParameterParserinstances to use.KeyAgreementParametersparse(AgreementMethod agreementMethod)Parse the specifiedAgreementMethodinto an instance ofKeyAgreementParameters.
-
-
-
Method Detail
-
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
@Nonnull protected List<KeyAgreementParameterParser> 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
-
-