org.opensaml.xml.encryption.impl
public abstract class EncryptedTypeImpl extends AbstractValidatingXMLObject implements EncryptedType
EncryptedType
.Modifier and Type | Field and Description |
---|---|
private CipherData |
cipherData
CipherData child element.
|
private String |
encoding
Encoding attribute value.
|
private EncryptionMethod |
encryptionMethod
EncryptionMethod child element.
|
private EncryptionProperties |
encryptionProperties
EncryptionProperties child element.
|
private String |
id
id attribute value.
|
private KeyInfo |
keyInfo
EncryptionMethod child element.
|
private String |
mimeType
MimeType attribute value.
|
private String |
type
Type attribute value.
|
ENCODING_ATTRIB_NAME, ID_ATTRIB_NAME, MIMETYPE_ATTRIB_NAME, TYPE_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
Modifier | Constructor and Description |
---|---|
protected |
EncryptedTypeImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor
|
Modifier and Type | Method and Description |
---|---|
CipherData |
getCipherData()
Gets the CipherData child element.
|
String |
getEncoding()
Gets the encoding applied to the plaintext content prior to encryption.
|
EncryptionMethod |
getEncryptionMethod()
Gets the EncryptionMethod child element.
|
EncryptionProperties |
getEncryptionProperties()
Gets the EncryptionProperties child element.
|
String |
getID()
Gets the unique ID for the XML element.
|
KeyInfo |
getKeyInfo()
Gets the KeyInfo child element.
|
String |
getMimeType()
Gets the MIME type of the plaintext content.
|
List<XMLObject> |
getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
|
String |
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 |
setID(String newID)
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 |
setType(String newType)
Sets the type information for the plaintext content.
|
deregisterValidator, getValidators, registerValidator, validate, validateChildren
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deregisterValidator, getValidators, registerValidator, validate
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
private String id
private String type
private String mimeType
private String encoding
private EncryptionMethod encryptionMethod
private KeyInfo keyInfo
private CipherData cipherData
private EncryptionProperties encryptionProperties
public String getID()
getID
in interface EncryptedType
public void setID(String newID)
setID
in interface EncryptedType
newID
- the unique ID for the XML elementpublic String getType()
getType
in interface EncryptedType
public void setType(String newType)
setType
in interface EncryptedType
newType
- the type information for the plaintext contentpublic String getMimeType()
getMimeType
in interface EncryptedType
public void setMimeType(String newMimeType)
setMimeType
in interface EncryptedType
newMimeType
- the MIME type of the plaintext contentpublic String getEncoding()
getEncoding
in interface EncryptedType
public void setEncoding(String newEncoding)
setEncoding
in interface EncryptedType
newEncoding
- the encoding applied to the plaintext content prior to encryptionpublic EncryptionMethod getEncryptionMethod()
getEncryptionMethod
in interface EncryptedType
public void setEncryptionMethod(EncryptionMethod newEncryptionMethod)
setEncryptionMethod
in interface EncryptedType
newEncryptionMethod
- the new EncryptionMethod child elementpublic KeyInfo getKeyInfo()
getKeyInfo
in interface EncryptedType
public void setKeyInfo(KeyInfo newKeyInfo)
setKeyInfo
in interface EncryptedType
newKeyInfo
- the new KeyInfo child elementpublic CipherData getCipherData()
getCipherData
in interface EncryptedType
public void setCipherData(CipherData newCipherData)
setCipherData
in interface EncryptedType
newCipherData
- the new CipherData child elementpublic EncryptionProperties getEncryptionProperties()
getEncryptionProperties
in interface EncryptedType
public void setEncryptionProperties(EncryptionProperties newEncryptionProperties)
setEncryptionProperties
in interface EncryptedType
newEncryptionProperties
- the new EncryptionProperties child elementpublic List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
Copyright © 1999-2014 JBoss by Red Hat. All Rights Reserved.