Class DerivedKeyImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.DerivedKeyImpl
- All Implemented Interfaces:
XMLObject
,DerivedKey
public class DerivedKeyImpl extends AbstractXMLObject implements DerivedKey
Concrete implementation of
DerivedKey
.-
Field Summary
Fields Modifier and Type Field Description private DerivedKeyName
derivedKeyName
DerivedKeyName child element.private String
id
Id attribute.private KeyDerivationMethod
keyDerivationMethod
KeyDerivationMethod child element.private MasterKeyName
masterKeyName
MasterKeyName child element.private String
recipient
Recipient attribute.private ReferenceList
referenceList
ReferenceList child element.private String
type
Type 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
Constructors Modifier Constructor Description protected
DerivedKeyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor. -
Method Summary
Modifier and Type Method Description DerivedKeyName
getDerivedKeyName()
Get the DerivedKeyName child element.String
getId()
Gets the Id attribute.KeyDerivationMethod
getKeyDerivationMethod()
Get the KeyDerivationMethod child element.MasterKeyName
getMasterKeyName()
Get the MasterKeyName child element.List<XMLObject>
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.String
getRecipient()
Gets the Recipient attribute.ReferenceList
getReferenceList()
Get the ReferenceList child element.String
getType()
Gets the Type attribute.void
setDerivedKeyName(DerivedKeyName name)
Set the DerivedKeyName child element.void
setId(String newId)
Sets the Id attribute.void
setKeyDerivationMethod(KeyDerivationMethod method)
Set the KeyDerivationMethod child element.void
setMasterKeyName(MasterKeyName name)
Set the MasterKeyName child element.void
setRecipient(String newRecipient)
Sets the Recipient attribute.void
setReferenceList(ReferenceList newReferenceList)
Set the ReferenceList child element.void
setType(String newType)
Sets the Type attribute.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 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
-
DerivedKeyImpl
Constructor.- Parameters:
namespaceURI
- namespace URIelementLocalName
- local namenamespacePrefix
- namespace prefix
-
-
Method Details
-
getKeyDerivationMethod
Get the KeyDerivationMethod child element.- Specified by:
getKeyDerivationMethod
in interfaceDerivedKey
- Returns:
- the element
-
setKeyDerivationMethod
Set the KeyDerivationMethod child element.- Specified by:
setKeyDerivationMethod
in interfaceDerivedKey
- Parameters:
method
- the key derivation method
-
getReferenceList
Get the ReferenceList child element.- Specified by:
getReferenceList
in interfaceDerivedKey
- Returns:
- the element
-
setReferenceList
Set the ReferenceList child element.- Specified by:
setReferenceList
in interfaceDerivedKey
- Parameters:
newReferenceList
- the list
-
getDerivedKeyName
Get the DerivedKeyName child element.- Specified by:
getDerivedKeyName
in interfaceDerivedKey
- Returns:
- the element
-
setDerivedKeyName
Set the DerivedKeyName child element.- Specified by:
setDerivedKeyName
in interfaceDerivedKey
- Parameters:
name
- the key name
-
getMasterKeyName
Get the MasterKeyName child element.- Specified by:
getMasterKeyName
in interfaceDerivedKey
- Returns:
- the element
-
setMasterKeyName
Set the MasterKeyName child element.- Specified by:
setMasterKeyName
in interfaceDerivedKey
- Parameters:
name
- the key name
-
getRecipient
Gets the Recipient attribute.- Specified by:
getRecipient
in interfaceDerivedKey
- Returns:
- the recipient
-
setRecipient
Sets the Recipient attribute.- Specified by:
setRecipient
in interfaceDerivedKey
- Parameters:
newRecipient
- the recipient
-
getId
Gets the Id attribute.- Specified by:
getId
in interfaceDerivedKey
- Returns:
- the id
-
setId
Sets the Id attribute.- Specified by:
setId
in interfaceDerivedKey
- Parameters:
newId
- the id
-
getType
Gets the Type attribute.- Specified by:
getType
in interfaceDerivedKey
- Returns:
- the type
-
setType
Sets the Type attribute.- Specified by:
setType
in 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:
getOrderedChildren
in interfaceXMLObject
- Returns:
- ordered list of child elements
-