Package org.opensaml.xmlsec.encryption
Interface AgreementMethod
- All Superinterfaces:
ElementExtensibleXMLObject
,XMLObject
- All Known Implementing Classes:
AgreementMethodImpl
XMLObject representing XML Encryption, version 20021210, AgreementMethod element.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the algorithm URI attribute value for this agreement method.Get the nonce child element used to introduce variability into the generation of keying material.Get the child element containing the key generation material for the originator.Get the child element containing the key generation material for the recipient.void
setAlgorithm
(String newAlgorithm) Sets the algorithm URI attribute value for this agreement method.void
setKANonce
(KANonce newKANonce) Set the nonce child element used to introduce variability into the generation of keying material.void
setOriginatorKeyInfo
(OriginatorKeyInfo newOriginatorKeyInfo) Set the child element containing the key generation material for the originator.void
setRecipientKeyInfo
(RecipientKeyInfo newRecipientKeyInfo) Set the child element containing the key generation material for the recipient.Methods inherited from interface org.opensaml.core.xml.ElementExtensibleXMLObject
getUnknownXMLObjects, getUnknownXMLObjects
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
ALGORITHM_ATTRIBUTE_NAME
Algorithm attribute name.- See Also:
-
-
Method Details
-
getAlgorithm
Gets the algorithm URI attribute value for this agreement method.- Returns:
- the algorithm URI attribute value
-
setAlgorithm
Sets the algorithm URI attribute value for this agreement method.- Parameters:
newAlgorithm
- the new algorithm URI attribute value
-
getKANonce
Get the nonce child element used to introduce variability into the generation of keying material.- Returns:
- the KA-Nonce child element
-
setKANonce
Set the nonce child element used to introduce variability into the generation of keying material.- Parameters:
newKANonce
- the new KA-Nonce child element
-
getOriginatorKeyInfo
Get the child element containing the key generation material for the originator.- Returns:
- the OriginatorKeyInfo child element
-
setOriginatorKeyInfo
Set the child element containing the key generation material for the originator.- Parameters:
newOriginatorKeyInfo
- the new OriginatorKeyInfo child element
-
getRecipientKeyInfo
Get the child element containing the key generation material for the recipient.- Returns:
- the RecipientKeyInfo child element
-
setRecipientKeyInfo
Set the child element containing the key generation material for the recipient.- Parameters:
newRecipientKeyInfo
- the new RecipientKeyInfo child element
-