Package javax.xml.crypto.enc


Classes for parsing, encrypting and decrypting XML EncryptedType structures.
See:
Description

Interface Summary

Interface Description
CipherData A representation of the XML CipherData element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
CipherReference A representation of the XML CipherReference element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
CipherValue A representation of the XML CipherValue element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
DataReference A representation of the XML DataReference element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
EncryptedData A representation of the XML EncryptedData element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
EncryptedType A representation of the XML EncryptedType element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
EncryptionMethod A representation of the XML EncryptionMethod element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
EncryptionProperties A representation of the XML EncryptionProperties element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
EncryptionProperty A representation of the XML EncryptionProperty element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
KeyReference A representation of the XML KeyReference element as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
ReferenceType A representation of the XML CipherData complex type as defined in the W3C Recommendation for XML-Encryption Syntax and Processing.
ToBeEncrypted An abstract representation to all to-be-encrypted classes.
ToBeEncryptedXML A representation of a ToBeEncrypted class that contains a XML Element or content of an Element
XMLDecryptContext Contains context information for decrypting XML EncryptedType structures.
XMLEncryptContext Contains context information for encrypting XML EncryptedType structures.

Class Summary

Class Description
ToBeEncryptedKey A representation of a ToBeEncrypted type containing a Key.
ToBeEncryptedOctetStream A representation of ToBeEncrypted containing the octet sequence
XMLEncryptionFactory A factory for creating EncryptedType objects (such as EncryptedData, EncryptedKey) from scratch or for unmarshalling an EncryptedType object from a corresponding XML representation.

Exception Summary

Exception Description
XMLEncryptionException Indicates an exceptional condition that occured during the XML encryption or decryption process.

Package javax.xml.crypto.enc Description

Classes for parsing, encrypting and decrypting XML EncryptedType structures. This package includes classes that represent the core elements defined in the W3C XML Encryption specification: EncryptedType, EncryptedData, EncryptionMethod, CipherData, CipherReference, EncryptionProperties, and EncryptionProperty. KeyInfo types are defined in the javax.xml.crypto.enc.keyinfo subpackage. XMLEncryptionFactory is an abstract factory that creates EncryptedType objects from scratch or from a pre-existing XML representation, such as a DOM node.

Of primary significance in this package are the EncryptedData and EncryptedKey classes, which allow you to encrypt and decrypt XML encrypted data and key respectively.

Package Specification