Package org.apache.xml.security.encryption


package org.apache.xml.security.encryption
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.

  • Class
    Description
    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 provides encrypted data.
    CipherReference identifies a source which, when processed, yields the encrypted octet sequence.
    CipherValue is the wrapper for cipher text.
    The EncryptedData element is the core element in the syntax.
    The EncryptedKey element is used to transport encryption keys from the originator to a known recipient(s).
    EncryptedType is the abstract type from which EncryptedData and EncryptedKey are derived.
    EncryptionMethod describes the encryption algorithm applied to the cipher data.
    EncryptionProperties can hold additional information concerning the generation of the EncryptedData or EncryptedKey.
    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).
    A wrapper for a pointer from a key value of an EncryptedKey to items encrypted by that key value (EncryptedData or EncryptedKey elements).
    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).
    A container for ds:Transforms.
    XMLCipher encrypts and decrypts the contents of Documents, Elements and Element contents.
    XMLCipherInput is used to wrap input passed into the XMLCipher encryption operations.
    Constants