javax.xml.crypto.enc

Interface ToBeEncrypted

All known subinterfaces:
ToBeEncryptedXML
All known implementing classes:
DOMToBeEncryptedXML, ToBeEncryptedKey, ToBeEncryptedOctetStream

  1. public interface ToBeEncrypted
An abstract representation to all to-be-encrypted classes. It defines the common fields (Type, MimeType and Encoding) of EncryptedType.
See Also:
EncryptedType, ToBeEncryptedKey, ToBeEncryptedOctetStream, ToBeEncryptedXML

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getEncoding()
Returns a URI identifying the transfer encoding of the data that has been encrypted.
  1. java.lang.String
getMimeType()
Returns the mime type of the data that has been encrypted.
  1. java.lang.String
getType()
Returns a URI identifying the type of the plaintext form of the encrypted content.

Method Detail

getType

  1. java.lang.String getType()
Returns a URI identifying the type of the plaintext form of the encrypted content.
Returns:
the type, or null if not specified

getMimeType

  1. 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 null if not specified

getEncoding

  1. java.lang.String getEncoding()
Returns a URI identifying the transfer encoding of the data that has been encrypted.
Returns:
the encoding, or null if not specified