Class EncryptedTypeImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.encryption.impl.EncryptedTypeImpl
- All Implemented Interfaces:
XMLObject,EncryptedType
- Direct Known Subclasses:
EncryptedDataImpl,EncryptedKeyImpl
Abstract implementation of
EncryptedType.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate CipherDataCipherData child element.private StringEncoding attribute value.private EncryptionMethodEncryptionMethod child element.private EncryptionPropertiesEncryptionProperties child element.private Stringid attribute value.private KeyInfoEncryptionMethod child element.private StringMimeType attribute value.private StringType attribute value.Fields inherited from interface org.opensaml.xmlsec.encryption.EncryptedType
ENCODING_ATTRIB_NAME, ID_ATTRIB_NAME, MIMETYPE_ATTRIB_NAME, TYPE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEncryptedTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
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.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.getType()Gets the type information for the plaintext content.voidsetCipherData(CipherData newCipherData) Sets the CipherData child element.voidsetEncoding(String newEncoding) Sets the encoding applied to the plaintext content prior to encryption.voidsetEncryptionMethod(EncryptionMethod newEncryptionMethod) Sets the EncryptionMethod child element.voidsetEncryptionProperties(EncryptionProperties newEncryptionProperties) Sets the EncryptionProperties child element.voidSets the unique ID for the XML element.voidsetKeyInfo(KeyInfo newKeyInfo) Sets the KeyInfo child element.voidsetMimeType(String newMimeType) Sets the MIME type of the plaintext content.voidSets the type information for the plaintext content.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
-
id
id attribute value. -
type
Type attribute value. -
mimeType
MimeType attribute value. -
encoding
Encoding attribute value. -
encryptionMethod
EncryptionMethod child element. -
keyInfo
EncryptionMethod child element. -
cipherData
CipherData child element. -
encryptionProperties
EncryptionProperties child element.
-
-
Constructor Details
-
Method Details
-
getID
Gets the unique ID for the XML element.- Specified by:
getIDin interfaceEncryptedType- Returns:
- the unique ID for the XML element
-
setID
Sets the unique ID for the XML element.- Specified by:
setIDin interfaceEncryptedType- Parameters:
newID- the unique ID for the XML element
-
getType
Gets the type information for the plaintext content.- Specified by:
getTypein interfaceEncryptedType- Returns:
- the type information for the plaintext content
-
setType
Sets the type information for the plaintext content.- Specified by:
setTypein interfaceEncryptedType- Parameters:
newType- the type information for the plaintext content
-
getMimeType
Gets the MIME type of the plaintext content.- Specified by:
getMimeTypein interfaceEncryptedType- Returns:
- the MIME type of the plaintext content
-
setMimeType
Sets the MIME type of the plaintext content.- Specified by:
setMimeTypein interfaceEncryptedType- Parameters:
newMimeType- the MIME type of the plaintext content
-
getEncoding
Gets the encoding applied to the plaintext content prior to encryption.- Specified by:
getEncodingin interfaceEncryptedType- Returns:
- the encoding applied to the plaintext content prior to encryption
-
setEncoding
Sets the encoding applied to the plaintext content prior to encryption.- Specified by:
setEncodingin interfaceEncryptedType- Parameters:
newEncoding- the encoding applied to the plaintext content prior to encryption
-
getEncryptionMethod
Gets the EncryptionMethod child element.- Specified by:
getEncryptionMethodin interfaceEncryptedType- Returns:
- the EncryptionMethod child element
-
setEncryptionMethod
Sets the EncryptionMethod child element.- Specified by:
setEncryptionMethodin interfaceEncryptedType- Parameters:
newEncryptionMethod- the new EncryptionMethod child element
-
getKeyInfo
Gets the KeyInfo child element.- Specified by:
getKeyInfoin interfaceEncryptedType- Returns:
- the KeyInfo child element
-
setKeyInfo
Sets the KeyInfo child element.- Specified by:
setKeyInfoin interfaceEncryptedType- Parameters:
newKeyInfo- the new KeyInfo child element
-
getCipherData
Gets the CipherData child element.- Specified by:
getCipherDatain interfaceEncryptedType- Returns:
- the CipherData child element
-
setCipherData
Sets the CipherData child element.- Specified by:
setCipherDatain interfaceEncryptedType- Parameters:
newCipherData- the new CipherData child element
-
getEncryptionProperties
Gets the EncryptionProperties child element.- Specified by:
getEncryptionPropertiesin interfaceEncryptedType- Returns:
- the EncryptionProperties child element
-
setEncryptionProperties
Sets the EncryptionProperties child element.- Specified by:
setEncryptionPropertiesin interfaceEncryptedType- Parameters:
newEncryptionProperties- the new EncryptionProperties child element
-
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
-