Class AgreementMethodImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xmlsec.encryption.impl.AgreementMethodImpl
-
- All Implemented Interfaces:
ElementExtensibleXMLObject,XMLObject,AgreementMethod
public class AgreementMethodImpl extends AbstractXMLObject implements AgreementMethod
Concrete implementation ofAgreementMethod.
-
-
Field Summary
Fields Modifier and Type Field Description private StringalgorithmAlgorithm attribute value.private KANoncekaNonceKA-Nonce child element value.private OriginatorKeyInfooriginatorKeyInfoOriginatorKeyInfo child element value.private RecipientKeyInforecipientKeyInfoRecipientKeyInfo child element value.private IndexedXMLObjectChildrenList<XMLObject>xmlChildrenList of wildcard <any> XMLObject children.-
Fields inherited from interface org.opensaml.xmlsec.encryption.AgreementMethod
ALGORITHM_ATTRIBUTE_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAgreementMethodImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()KANoncegetKANonce()List<XMLObject>getOrderedChildren()OriginatorKeyInfogetOriginatorKeyInfo()RecipientKeyInfogetRecipientKeyInfo()List<XMLObject>getUnknownXMLObjects()List<XMLObject>getUnknownXMLObjects(QName typeOrName)voidsetAlgorithm(String newAlgorithm)voidsetKANonce(KANonce newKANonce)voidsetOriginatorKeyInfo(OriginatorKeyInfo newOriginatorKeyInfo)voidsetRecipientKeyInfo(RecipientKeyInfo newRecipientKeyInfo)-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
algorithm
private String algorithm
Algorithm attribute value.
-
kaNonce
private KANonce kaNonce
KA-Nonce child element value.
-
originatorKeyInfo
private OriginatorKeyInfo originatorKeyInfo
OriginatorKeyInfo child element value.
-
recipientKeyInfo
private RecipientKeyInfo recipientKeyInfo
RecipientKeyInfo child element value.
-
xmlChildren
private IndexedXMLObjectChildrenList<XMLObject> xmlChildren
List of wildcard <any> XMLObject children.
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithmin interfaceAgreementMethod
-
setAlgorithm
public void setAlgorithm(String newAlgorithm)
- Specified by:
setAlgorithmin interfaceAgreementMethod
-
getKANonce
public KANonce getKANonce()
- Specified by:
getKANoncein interfaceAgreementMethod
-
setKANonce
public void setKANonce(KANonce newKANonce)
- Specified by:
setKANoncein interfaceAgreementMethod
-
getOriginatorKeyInfo
public OriginatorKeyInfo getOriginatorKeyInfo()
- Specified by:
getOriginatorKeyInfoin interfaceAgreementMethod
-
setOriginatorKeyInfo
public void setOriginatorKeyInfo(OriginatorKeyInfo newOriginatorKeyInfo)
- Specified by:
setOriginatorKeyInfoin interfaceAgreementMethod
-
getRecipientKeyInfo
public RecipientKeyInfo getRecipientKeyInfo()
- Specified by:
getRecipientKeyInfoin interfaceAgreementMethod
-
setRecipientKeyInfo
public void setRecipientKeyInfo(RecipientKeyInfo newRecipientKeyInfo)
- Specified by:
setRecipientKeyInfoin interfaceAgreementMethod
-
getUnknownXMLObjects
public List<XMLObject> getUnknownXMLObjects()
- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject
-
getUnknownXMLObjects
public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
- Specified by:
getUnknownXMLObjectsin interfaceElementExtensibleXMLObject
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
-