org.opensaml.xml.encryption
Interface AgreementMethod

All Superinterfaces:
ElementExtensibleXMLObject, ValidatingXMLObject, XMLObject
All Known Implementing Classes:
AgreementMethodImpl

public interface AgreementMethod
extends ValidatingXMLObject, ElementExtensibleXMLObject

XMLObject representing XML Encryption, version 20021210, AgreementMethod element.


Field Summary
static java.lang.String ALGORITHM_ATTRIBUTE_NAME
          Algorithm attribute name
static java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
          Element local name
static javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
          Default element name
static java.lang.String TYPE_LOCAL_NAME
          Local name of the XSI type
static javax.xml.namespace.QName TYPE_NAME
          QName of the XSI type
 
Method Summary
 java.lang.String getAlgorithm()
          Gets the algorithm URI attribute value for this agreement method.
 KANonce getKANonce()
          Get the nonce child element used to introduce variability into the generation of keying material.
 OriginatorKeyInfo getOriginatorKeyInfo()
          Get the child element containing the key generation material for the originator
 RecipientKeyInfo getRecipientKeyInfo()
          Get the child element containing the key generation material for the recipient
 void setAlgorithm(java.lang.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.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 
Methods inherited from interface org.opensaml.xml.ElementExtensibleXMLObject
getUnknownXMLObjects
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

DEFAULT_ELEMENT_LOCAL_NAME

static final java.lang.String DEFAULT_ELEMENT_LOCAL_NAME
Element local name

See Also:
Constant Field Values

DEFAULT_ELEMENT_NAME

static final javax.xml.namespace.QName DEFAULT_ELEMENT_NAME
Default element name


TYPE_LOCAL_NAME

static final java.lang.String TYPE_LOCAL_NAME
Local name of the XSI type

See Also:
Constant Field Values

TYPE_NAME

static final javax.xml.namespace.QName TYPE_NAME
QName of the XSI type


ALGORITHM_ATTRIBUTE_NAME

static final java.lang.String ALGORITHM_ATTRIBUTE_NAME
Algorithm attribute name

See Also:
Constant Field Values
Method Detail

getAlgorithm

java.lang.String getAlgorithm()
Gets the algorithm URI attribute value for this agreement method.

Returns:
the algorithm URI attribute value

setAlgorithm

void setAlgorithm(java.lang.String newAlgorithm)
Sets the algorithm URI attribute value for this agreement method.

Parameters:
newAlgorithm - the new algorithm URI attribute value

getKANonce

KANonce getKANonce()
Get the nonce child element used to introduce variability into the generation of keying material.

Returns:
the KA-Nonce child element

setKANonce

void setKANonce(KANonce newKANonce)
Set the nonce child element used to introduce variability into the generation of keying material.

Parameters:
newKANonce - the new KA-Nonce child element

getOriginatorKeyInfo

OriginatorKeyInfo getOriginatorKeyInfo()
Get the child element containing the key generation material for the originator

Returns:
the OriginatorKeyInfo child element

setOriginatorKeyInfo

void setOriginatorKeyInfo(OriginatorKeyInfo newOriginatorKeyInfo)
Set the child element containing the key generation material for the originator

Parameters:
newOriginatorKeyInfo - the new OriginatorKeyInfo child element

getRecipientKeyInfo

RecipientKeyInfo getRecipientKeyInfo()
Get the child element containing the key generation material for the recipient

Returns:
the RecipientKeyInfo child element

setRecipientKeyInfo

void setRecipientKeyInfo(RecipientKeyInfo newRecipientKeyInfo)
Set the child element containing the key generation material for the recipient

Parameters:
newRecipientKeyInfo - the new RecipientKeyInfo child element