Package org.opensaml.xmlsec.encryption
Interface EncryptedType
-
- All Superinterfaces:
XMLObject
- All Known Subinterfaces:
EncryptedData,EncryptedKey
public interface EncryptedType extends XMLObject
XMLObject representing XML Encryption, version 20021210, EncryptedType type. This is the base type forEncryptedDataandEncryptedKeytypes.
-
-
Field Summary
Fields Modifier and Type Field Description static StringENCODING_ATTRIB_NAMEEncoding attribute name.static StringID_ATTRIB_NAMEId attribute name.static StringMIMETYPE_ATTRIB_NAMEMimeType attribute name.static StringTYPE_ATTRIB_NAMEType attribute name.static StringTYPE_LOCAL_NAMELocal name of the XSI type.static QNameTYPE_NAMEQName of the XSI type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CipherDatagetCipherData()Gets the CipherData child element.StringgetEncoding()Gets the encoding applied to the plaintext content prior to encryption.EncryptionMethodgetEncryptionMethod()Gets the EncryptionMethod child element.EncryptionPropertiesgetEncryptionProperties()Gets the EncryptionProperties child element.StringgetID()Gets the unique ID for the XML element.KeyInfogetKeyInfo()Gets the KeyInfo child element.StringgetMimeType()Gets the MIME type of the plaintext content.StringgetType()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.voidsetID(String newID)Sets 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.voidsetType(String newType)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 Detail
-
TYPE_LOCAL_NAME
static final String TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
- Constant Field Values
-
TYPE_NAME
static final QName TYPE_NAME
QName of the XSI type.
-
ID_ATTRIB_NAME
static final String ID_ATTRIB_NAME
Id attribute name.- See Also:
- Constant Field Values
-
TYPE_ATTRIB_NAME
static final String TYPE_ATTRIB_NAME
Type attribute name.- See Also:
- Constant Field Values
-
MIMETYPE_ATTRIB_NAME
static final String MIMETYPE_ATTRIB_NAME
MimeType attribute name.- See Also:
- Constant Field Values
-
ENCODING_ATTRIB_NAME
static final String ENCODING_ATTRIB_NAME
Encoding attribute name.- See Also:
- Constant Field Values
-
-
Method Detail
-
getID
@Nullable String getID()
Gets the unique ID for the XML element.- Returns:
- the unique ID for the XML element
-
setID
void setID(@Nullable String newID)Sets the unique ID for the XML element.- Parameters:
newID- the unique ID for the XML element
-
getType
@Nullable String getType()
Gets the type information for the plaintext content.- Returns:
- the type information for the plaintext content
-
setType
void setType(@Nullable String newType)Sets the type information for the plaintext content.- Parameters:
newType- the type information for the plaintext content
-
getMimeType
@Nullable String getMimeType()
Gets the MIME type of the plaintext content.- Returns:
- the MIME type of the plaintext content
-
setMimeType
void setMimeType(@Nullable String newMimeType)Sets the MIME type of the plaintext content.- Parameters:
newMimeType- the MIME type of the plaintext content
-
getEncoding
@Nullable String getEncoding()
Gets the encoding applied to the plaintext content prior to encryption.- Returns:
- the encoding applied to the plaintext content prior to encryption
-
setEncoding
void setEncoding(@Nullable String newEncoding)Sets the encoding applied to the plaintext content prior to encryption.- Parameters:
newEncoding- the encoding applied to the plaintext content prior to encryption
-
getEncryptionMethod
@Nullable EncryptionMethod getEncryptionMethod()
Gets the EncryptionMethod child element.- Returns:
- the EncryptionMethod child element
-
setEncryptionMethod
void setEncryptionMethod(@Nullable EncryptionMethod newEncryptionMethod)Sets the EncryptionMethod child element.- Parameters:
newEncryptionMethod- the new EncryptionMethod child element
-
getKeyInfo
@Nullable KeyInfo getKeyInfo()
Gets the KeyInfo child element.- Returns:
- the KeyInfo child element
-
setKeyInfo
void setKeyInfo(@Nullable KeyInfo newKeyInfo)Sets the KeyInfo child element.- Parameters:
newKeyInfo- the new KeyInfo child element
-
getCipherData
@Nullable CipherData getCipherData()
Gets the CipherData child element.- Returns:
- the CipherData child element
-
setCipherData
void setCipherData(@Nullable CipherData newCipherData)Sets the CipherData child element.- Parameters:
newCipherData- the new CipherData child element
-
getEncryptionProperties
@Nullable EncryptionProperties getEncryptionProperties()
Gets the EncryptionProperties child element.- Returns:
- the EncryptionProperties child element
-
setEncryptionProperties
void setEncryptionProperties(@Nullable EncryptionProperties newEncryptionProperties)Sets the EncryptionProperties child element.- Parameters:
newEncryptionProperties- the new EncryptionProperties child element
-
-