public class AgreementMethodImpl extends AbstractValidatingXMLObject implements AgreementMethod
AgreementMethod
.Modifier and Type | Field and Description |
---|---|
private String |
algorithm
Algorithm attribute value.
|
private KANonce |
kaNonce
KA-Nonce child element value.
|
private OriginatorKeyInfo |
originatorKeyInfo
OriginatorKeyInfo child element value.
|
private RecipientKeyInfo |
recipientKeyInfo
RecipientKeyInfo child element value.
|
private IndexedXMLObjectChildrenList |
xmlChildren
List of wildcard <any> XMLObject children.
|
ALGORITHM_ATTRIBUTE_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
AgreementMethodImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
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.
|
List<XMLObject> |
getUnknownXMLObjects()
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model.
|
List<XMLObject> |
getUnknownXMLObjects(QName typeOrName)
Gets the list of XMLObjects added to this XMLObject as part of the "any" content model,
and which match the specified QName.
|
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.
|
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
private String algorithm
private KANonce kaNonce
private OriginatorKeyInfo originatorKeyInfo
private RecipientKeyInfo recipientKeyInfo
private IndexedXMLObjectChildrenList xmlChildren
public String getAlgorithm()
getAlgorithm
in interface AgreementMethod
public void setAlgorithm(String newAlgorithm)
setAlgorithm
in interface AgreementMethod
newAlgorithm
- the new algorithm URI attribute valuepublic KANonce getKANonce()
getKANonce
in interface AgreementMethod
public void setKANonce(KANonce newKANonce)
setKANonce
in interface AgreementMethod
newKANonce
- the new KA-Nonce child elementpublic OriginatorKeyInfo getOriginatorKeyInfo()
getOriginatorKeyInfo
in interface AgreementMethod
public void setOriginatorKeyInfo(OriginatorKeyInfo newOriginatorKeyInfo)
setOriginatorKeyInfo
in interface AgreementMethod
newOriginatorKeyInfo
- the new OriginatorKeyInfo child elementpublic RecipientKeyInfo getRecipientKeyInfo()
getRecipientKeyInfo
in interface AgreementMethod
public void setRecipientKeyInfo(RecipientKeyInfo newRecipientKeyInfo)
setRecipientKeyInfo
in interface AgreementMethod
newRecipientKeyInfo
- the new RecipientKeyInfo child elementpublic List<XMLObject> getUnknownXMLObjects()
getUnknownXMLObjects
in interface ElementExtensibleXMLObject
public List<XMLObject> getUnknownXMLObjects(QName typeOrName)
getUnknownXMLObjects
in interface ElementExtensibleXMLObject
typeOrName
- the QName of the statements to returnpublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 1999–2017. All rights reserved.