Package org.apache.xml.security.encryption

Provides classes for implementing XML Encryption applications.

See:
          Description

Interface Summary
AgreementMethod A Key Agreement algorithm provides for the derivation of a shared secret key based on a shared secret computed from certain types of compatible public keys from both the sender and the recipient.
CipherData CipherData provides encrypted data.
CipherReference CipherReference identifies a source which, when processed, yields the encrypted octet sequence.
CipherValue CipherValue is the wrapper for cipher text.
EncryptedData The EncryptedData element is the core element in the syntax.
EncryptedKey The EncryptedKey element is used to transport encryption keys from the originator to a known recipient(s).
EncryptedType EncryptedType is the abstract type from which EncryptedData and EncryptedKey are derived.
EncryptionMethod EncryptionMethod describes the encryption algorithm applied to the cipher data.
EncryptionProperties EncryptionProperties can hold additional information concerning the generation of the EncryptedData or EncryptedKey.
EncryptionProperty Additional information items concerning the generation of the EncryptedData or EncryptedKey can be placed in an EncryptionProperty element (e.g., date/time stamp or the serial number of cryptographic hardware used during encryption).
Reference A wrapper for a pointer from a key value of an EncryptedKey to items encrypted by that key value (EncryptedData or EncryptedKey elements).
ReferenceList ReferenceList is an element that contains pointers from a key value of an EncryptedKey to items encrypted by that key value (EncryptedData or EncryptedKey elements).
Transforms A container for ds:Transforms.
XMLCipherParameters Constants
 

Class Summary
XMLCipher XMLCipher encrypts and decrypts the contents of Documents, Elements and Element contents.
XMLCipherInput XMLCipherInput is used to wrap input passed into the XMLCipher encryption operations.
 

Exception Summary
XMLEncryptionException  
 

Package org.apache.xml.security.encryption Description

Provides classes for implementing XML Encryption applications. There are two main families of classes in this package. The first group of classes is an XML Schema to Java mapping of  the complex types and elements of the XML Encryption Schema as outllined at XML Encrtypyion Specification. The second group of classes are used to perform encryption operations, and to manipulate the first group of classes. The most important classes in this second group is XMLCipher, XMLEncryptionFactory and XMLSerializer. XMLCipher was designed to resemble javax.crypto.Cipher. The aforementioned classes were desinged with ease-of-use and configurability in mind. Becuase of this, the programmer may at times be exposed to lower level programming tasks. This library strives to be as simple as possible to use, but no simpler.