Class DigestMethod.Parser
- java.lang.Object
-
- org.opensaml.xmlsec.agreement.impl.DigestMethod.Parser
-
- All Implemented Interfaces:
KeyAgreementParameterParser
- Enclosing class:
- DigestMethod
public static class DigestMethod.Parser extends Object implements KeyAgreementParameterParser
Implementation ofKeyAgreementParameterParser.
-
-
Constructor Summary
Constructors Constructor Description Parser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhandles(XMLObject xmlObject)Evaluate whether the specifiedXMLObjectis handled by the implementation.KeyAgreementParameterparse(XMLObject xmlObject)Parse the specifiedXMLObjectinto aKeyAgreementParameter.
-
-
-
Method Detail
-
handles
public boolean handles(@Nonnull XMLObject xmlObject)Evaluate whether the specifiedXMLObjectis handled by the implementation.- Specified by:
handlesin interfaceKeyAgreementParameterParser- Parameters:
xmlObject- the XML object to evaluate- Returns:
- true if handles, false if not
-
parse
public KeyAgreementParameter parse(@Nonnull XMLObject xmlObject) throws KeyAgreementException
Parse the specifiedXMLObjectinto aKeyAgreementParameter.- Specified by:
parsein interfaceKeyAgreementParameterParser- Parameters:
xmlObject- the XMLObject to be parsed- Returns:
- the new key agreement parameter instance
- Throws:
KeyAgreementException- if parameter parsing of the supplied object fails
-
-