Package org.opensaml.xmlsec.encryption
Interface EncryptedType
- All Superinterfaces:
XMLObject
- All Known Subinterfaces:
EncryptedData
,EncryptedKey
- All Known Implementing Classes:
EncryptedDataImpl
,EncryptedKeyImpl
,EncryptedTypeImpl
XMLObject representing XML Encryption, version 20021210, EncryptedType type. This is the base type for
EncryptedData
and EncryptedKey
types.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGets the CipherData child element.Gets the encoding applied to the plaintext content prior to encryption.Gets the EncryptionMethod child element.Gets the EncryptionProperties child element.getID()
Gets the unique ID for the XML element.Gets the KeyInfo child element.Gets the MIME type of the plaintext content.getType()
Gets the type information for the plaintext content.void
setCipherData
(CipherData newCipherData) Sets the CipherData child element.void
setEncoding
(String newEncoding) Sets the encoding applied to the plaintext content prior to encryption.void
setEncryptionMethod
(EncryptionMethod newEncryptionMethod) Sets the EncryptionMethod child element.void
setEncryptionProperties
(EncryptionProperties newEncryptionProperties) Sets the EncryptionProperties child element.void
Sets the unique ID for the XML element.void
setKeyInfo
(KeyInfo newKeyInfo) Sets the KeyInfo child element.void
setMimeType
(String newMimeType) Sets the MIME type of the plaintext content.void
Sets the type information for the plaintext content.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
-
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
ID_ATTRIB_NAME
Id attribute name.- See Also:
-
TYPE_ATTRIB_NAME
Type attribute name.- See Also:
-
MIMETYPE_ATTRIB_NAME
MimeType attribute name.- See Also:
-
ENCODING_ATTRIB_NAME
Encoding attribute name.- See Also:
-
-
Method Details
-
getID
Gets the unique ID for the XML element.- Returns:
- the unique ID for the XML element
-
setID
Sets the unique ID for the XML element.- Parameters:
newID
- the unique ID for the XML element
-
getType
Gets the type information for the plaintext content.- Returns:
- the type information for the plaintext content
-
setType
Sets the type information for the plaintext content.- Parameters:
newType
- the type information for the plaintext content
-
getMimeType
Gets the MIME type of the plaintext content.- Returns:
- the MIME type of the plaintext content
-
setMimeType
Sets the MIME type of the plaintext content.- Parameters:
newMimeType
- the MIME type of the plaintext content
-
getEncoding
Gets the encoding applied to the plaintext content prior to encryption.- Returns:
- the encoding applied to the plaintext content prior to encryption
-
setEncoding
Sets the encoding applied to the plaintext content prior to encryption.- Parameters:
newEncoding
- the encoding applied to the plaintext content prior to encryption
-
getEncryptionMethod
Gets the EncryptionMethod child element.- Returns:
- the EncryptionMethod child element
-
setEncryptionMethod
Sets the EncryptionMethod child element.- Parameters:
newEncryptionMethod
- the new EncryptionMethod child element
-
getKeyInfo
Gets the KeyInfo child element.- Returns:
- the KeyInfo child element
-
setKeyInfo
Sets the KeyInfo child element.- Parameters:
newKeyInfo
- the new KeyInfo child element
-
getCipherData
Gets the CipherData child element.- Returns:
- the CipherData child element
-
setCipherData
Sets the CipherData child element.- Parameters:
newCipherData
- the new CipherData child element
-
getEncryptionProperties
Gets the EncryptionProperties child element.- Returns:
- the EncryptionProperties child element
-
setEncryptionProperties
Sets the EncryptionProperties child element.- Parameters:
newEncryptionProperties
- the new EncryptionProperties child element
-