Class DerivedKeyImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.DerivedKeyImpl
- All Implemented Interfaces:
XMLObject,DerivedKey
Concrete implementation of
DerivedKey.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DerivedKeyNameDerivedKeyName child element.private StringId attribute.private KeyDerivationMethodKeyDerivationMethod child element.private MasterKeyNameMasterKeyName child element.private StringRecipient attribute.private ReferenceListReferenceList child element.private StringType attribute.Fields inherited from interface org.opensaml.xmlsec.encryption.DerivedKey
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ID_ATTRIBUTE_NAME, RECIPIENT_ATTRIBUTE_NAME, TYPE_ATTRIBUTE_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDerivedKeyImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the DerivedKeyName child element.getId()Gets the Id attribute.Get the KeyDerivationMethod child element.Get the MasterKeyName child element.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Gets the Recipient attribute.Get the ReferenceList child element.getType()Gets the Type attribute.voidSet the DerivedKeyName child element.voidSets the Id attribute.voidSet the KeyDerivationMethod child element.voidSet the MasterKeyName child element.voidsetRecipient(String newRecipient) Sets the Recipient attribute.voidsetReferenceList(ReferenceList newReferenceList) Set the ReferenceList child element.voidSets the Type attribute.Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
keyDerivationMethod
KeyDerivationMethod child element. -
referenceList
ReferenceList child element. -
derivedKeyName
DerivedKeyName child element. -
masterKeyName
MasterKeyName child element. -
recipient
Recipient attribute. -
id
Id attribute. -
type
Type attribute.
-
-
Constructor Details
-
Method Details
-
getKeyDerivationMethod
Get the KeyDerivationMethod child element.- Specified by:
getKeyDerivationMethodin interfaceDerivedKey- Returns:
- the element
-
setKeyDerivationMethod
Set the KeyDerivationMethod child element.- Specified by:
setKeyDerivationMethodin interfaceDerivedKey- Parameters:
method- the key derivation method
-
getReferenceList
Get the ReferenceList child element.- Specified by:
getReferenceListin interfaceDerivedKey- Returns:
- the element
-
setReferenceList
Set the ReferenceList child element.- Specified by:
setReferenceListin interfaceDerivedKey- Parameters:
newReferenceList- the list
-
getDerivedKeyName
Get the DerivedKeyName child element.- Specified by:
getDerivedKeyNamein interfaceDerivedKey- Returns:
- the element
-
setDerivedKeyName
Set the DerivedKeyName child element.- Specified by:
setDerivedKeyNamein interfaceDerivedKey- Parameters:
name- the key name
-
getMasterKeyName
Get the MasterKeyName child element.- Specified by:
getMasterKeyNamein interfaceDerivedKey- Returns:
- the element
-
setMasterKeyName
Set the MasterKeyName child element.- Specified by:
setMasterKeyNamein interfaceDerivedKey- Parameters:
name- the key name
-
getRecipient
Gets the Recipient attribute.- Specified by:
getRecipientin interfaceDerivedKey- Returns:
- the recipient
-
setRecipient
Sets the Recipient attribute.- Specified by:
setRecipientin interfaceDerivedKey- Parameters:
newRecipient- the recipient
-
getId
Gets the Id attribute.- Specified by:
getIdin interfaceDerivedKey- Returns:
- the id
-
setId
Sets the Id attribute.- Specified by:
setIdin interfaceDerivedKey- Parameters:
newId- the id
-
getType
Gets the Type attribute.- Specified by:
getTypein interfaceDerivedKey- Returns:
- the type
-
setType
Sets the Type attribute.- Specified by:
setTypein interfaceDerivedKey- Parameters:
newType- the type
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-