javax.xml.crypto.enc
Interface ToBeEncrypted
-
- All Known Subinterfaces:
- ToBeEncryptedXML
- All Known Implementing Classes:
- DOMToBeEncryptedXML, ToBeEncryptedKey, ToBeEncryptedOctetStream
public interface ToBeEncryptedAn abstract representation to all to-be-encrypted classes. It defines the common fields (Type, MimeType and Encoding) ofEncryptedType.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description java.lang.StringgetEncoding()Returns a URI identifying the transfer encoding of the data that has been encrypted.java.lang.StringgetMimeType()Returns the mime type of the data that has been encrypted.java.lang.StringgetType()Returns a URI identifying the type of the plaintext form of the encrypted content.
-
-
-
Method Detail
-
getType
java.lang.String getType()
Returns a URI identifying the type of the plaintext form of the encrypted content.- Returns:
- the type, or
nullif not specified
-
getMimeType
java.lang.String getMimeType()
Returns the mime type of the data that has been encrypted. Mime type decribes the media type of the data which has been encrypted. The value of this attribute is a string with values defined by http://www.ietf.org/rfc/rfc2045.txt.- Returns:
- the mime type, or
nullif not specified
-
getEncoding
java.lang.String getEncoding()
Returns a URI identifying the transfer encoding of the data that has been encrypted.- Returns:
- the encoding, or
nullif not specified
-
-