Package org.opensaml.xmlsec.encryption
Interface EncryptedKey
- All Superinterfaces:
EncryptedType
,XMLObject
- All Known Implementing Classes:
EncryptedKeyImpl
XMLObject representing XML Encryption, version 20021210, EncryptedKey element.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Element local name.static final QName
Default element name.static final String
Recipient attribute name.static final String
Local name of the XSI type.static final QName
QName of the XSI type.Fields inherited from interface org.opensaml.xmlsec.encryption.EncryptedType
ENCODING_ATTRIB_NAME, ID_ATTRIB_NAME, MIMETYPE_ATTRIB_NAME, TYPE_ATTRIB_NAME
-
Method Summary
Modifier and TypeMethodDescriptionGets the child element carrying the human readable name for this key.Gets the hint about for whom this encrypted key is intended.Gets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.void
setCarriedKeyName
(CarriedKeyName newCarriedKeyName) Sets the child element carrying the human readable name for this key.void
setRecipient
(String newRecipient) Sets the hint about for whom this encrypted key is intended.void
setReferenceList
(ReferenceList newReferenceList) Sets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.Methods inherited from interface org.opensaml.xmlsec.encryption.EncryptedType
getCipherData, getEncoding, getEncryptionMethod, getEncryptionProperties, getID, getKeyInfo, getMimeType, getType, setCipherData, setEncoding, setEncryptionMethod, setEncryptionProperties, setID, setKeyInfo, setMimeType, setType
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element local name.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
RECIPIENT_ATTRIB_NAME
Recipient attribute name.- See Also:
-
-
Method Details
-
getRecipient
Gets the hint about for whom this encrypted key is intended.- Returns:
- the hint about who this encrypted key is intended for
-
setRecipient
Sets the hint about for whom this encrypted key is intended.- Parameters:
newRecipient
- the hint about who this encrypted key is intended for
-
getReferenceList
Gets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.- Returns:
- the element containing a list of pointers to encrypted elements
-
setReferenceList
Sets the child element containing pointers to EncryptedData and EncryptedKey elements encrypted using this key.- Parameters:
newReferenceList
- the new reference list for this encrypted key
-
getCarriedKeyName
Gets the child element carrying the human readable name for this key.- Returns:
- the human readable name for this key
-
setCarriedKeyName
Sets the child element carrying the human readable name for this key.- Parameters:
newCarriedKeyName
- the human readable name for this key
-