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.-
ClassDescriptionA 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.TheEncryptedData
element is the core element in the syntax.TheEncryptedKey
element is used to transport encryption keys from the originator to a known recipient(s).EncryptedType is the abstract type from whichEncryptedData
andEncryptedKey
are derived.EncryptionMethod
describes the encryption algorithm applied to the cipher data.EncryptionProperties
can hold additional information concerning the generation of theEncryptedData
orEncryptedKey
.Additional information items concerning the generation of theEncryptedData
orEncryptedKey
can be placed in anEncryptionProperty
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 anEncryptedKey
to items encrypted by that key value (EncryptedData
orEncryptedKey
elements).ReferenceList
is an element that contains pointers from a key value of anEncryptedKey
to items encrypted by that key value (EncryptedData
orEncryptedKey
elements).A container fords:Transform
s.XMLCipher
encrypts and decrypts the contents ofDocument
s,Element
s andElement
contents.XMLCipherInput
is used to wrap input passed into the XMLCipher encryption operations.Constants