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 ofDerivedKey.
-
-
Field Summary
Fields Modifier and Type Field Description private DerivedKeyNamederivedKeyNameDerivedKeyName child element.private StringidId attribute.private KeyDerivationMethodkeyDerivationMethodKeyDerivationMethod child element.private MasterKeyNamemasterKeyNameMasterKeyName child element.private StringrecipientRecipient attribute.private ReferenceListreferenceListReferenceList child element.private StringtypeType 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 protectedDerivedKeyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DerivedKeyNamegetDerivedKeyName()Get the DerivedKeyName child element.StringgetId()Gets the Id attribute.KeyDerivationMethodgetKeyDerivationMethod()Get the KeyDerivationMethod child element.MasterKeyNamegetMasterKeyName()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.StringgetRecipient()Gets the Recipient attribute.ReferenceListgetReferenceList()Get the ReferenceList child element.StringgetType()Gets the Type attribute.voidsetDerivedKeyName(DerivedKeyName name)Set the DerivedKeyName child element.voidsetId(String newId)Sets the Id attribute.voidsetKeyDerivationMethod(KeyDerivationMethod method)Set the KeyDerivationMethod child element.voidsetMasterKeyName(MasterKeyName name)Set the MasterKeyName child element.voidsetRecipient(String newRecipient)Sets the Recipient attribute.voidsetReferenceList(ReferenceList newReferenceList)Set the ReferenceList child element.voidsetType(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 Detail
-
keyDerivationMethod
@Nullable private KeyDerivationMethod keyDerivationMethod
KeyDerivationMethod child element.
-
referenceList
@Nullable private ReferenceList referenceList
ReferenceList child element.
-
derivedKeyName
@Nullable private DerivedKeyName derivedKeyName
DerivedKeyName child element.
-
masterKeyName
@Nullable private MasterKeyName masterKeyName
MasterKeyName child element.
-
recipient
@Nullable private String recipient
Recipient attribute.
-
id
@Nullable private String id
Id attribute.
-
type
@Nullable private String type
Type attribute.
-
-
Method Detail
-
getKeyDerivationMethod
@Nullable public KeyDerivationMethod getKeyDerivationMethod()
Get the KeyDerivationMethod child element.- Specified by:
getKeyDerivationMethodin interfaceDerivedKey- Returns:
- the element
-
setKeyDerivationMethod
public void setKeyDerivationMethod(@Nullable KeyDerivationMethod method)Set the KeyDerivationMethod child element.- Specified by:
setKeyDerivationMethodin interfaceDerivedKey- Parameters:
method- the key derivation method
-
getReferenceList
@Nullable public ReferenceList getReferenceList()
Get the ReferenceList child element.- Specified by:
getReferenceListin interfaceDerivedKey- Returns:
- the element
-
setReferenceList
public void setReferenceList(@Nullable ReferenceList newReferenceList)Set the ReferenceList child element.- Specified by:
setReferenceListin interfaceDerivedKey- Parameters:
newReferenceList- the list
-
getDerivedKeyName
@Nullable public DerivedKeyName getDerivedKeyName()
Get the DerivedKeyName child element.- Specified by:
getDerivedKeyNamein interfaceDerivedKey- Returns:
- the element
-
setDerivedKeyName
public void setDerivedKeyName(@Nullable DerivedKeyName name)Set the DerivedKeyName child element.- Specified by:
setDerivedKeyNamein interfaceDerivedKey- Parameters:
name- the key name
-
getMasterKeyName
@Nullable public MasterKeyName getMasterKeyName()
Get the MasterKeyName child element.- Specified by:
getMasterKeyNamein interfaceDerivedKey- Returns:
- the element
-
setMasterKeyName
public void setMasterKeyName(@Nullable MasterKeyName name)Set the MasterKeyName child element.- Specified by:
setMasterKeyNamein interfaceDerivedKey- Parameters:
name- the key name
-
getRecipient
@Nullable public String getRecipient()
Gets the Recipient attribute.- Specified by:
getRecipientin interfaceDerivedKey- Returns:
- the recipient
-
setRecipient
public void setRecipient(@Nullable String newRecipient)Sets the Recipient attribute.- Specified by:
setRecipientin interfaceDerivedKey- Parameters:
newRecipient- the recipient
-
getId
@Nullable public String getId()
Gets the Id attribute.- Specified by:
getIdin interfaceDerivedKey- Returns:
- the id
-
setId
public void setId(@Nullable String newId)Sets the Id attribute.- Specified by:
setIdin interfaceDerivedKey- Parameters:
newId- the id
-
getType
@Nullable public String getType()
Gets the Type attribute.- Specified by:
getTypein interfaceDerivedKey- Returns:
- the type
-
setType
public void setType(@Nullable String newType)Sets the Type attribute.- Specified by:
setTypein interfaceDerivedKey- Parameters:
newType- the type
-
getOrderedChildren
public List<XMLObject> 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
-
-