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.
CipherDataprovides encrypted data.CipherReferenceidentifies a source which, when processed, yields the encrypted octet sequence.CipherValueis the wrapper for cipher text.TheEncryptedDataelement is the core element in the syntax.TheEncryptedKeyelement is used to transport encryption keys from the originator to a known recipient(s).EncryptedType is the abstract type from whichEncryptedDataandEncryptedKeyare derived.EncryptionMethoddescribes the encryption algorithm applied to the cipher data.EncryptionPropertiescan hold additional information concerning the generation of theEncryptedDataorEncryptedKey.Additional information items concerning the generation of theEncryptedDataorEncryptedKeycan be placed in anEncryptionPropertyelement (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 anEncryptedKeyto items encrypted by that key value (EncryptedDataorEncryptedKeyelements).ReferenceListis an element that contains pointers from a key value of anEncryptedKeyto items encrypted by that key value (EncryptedDataorEncryptedKeyelements).A container fords:Transforms.XMLCipherencrypts and decrypts the contents ofDocuments,Elements andElementcontents.XMLCipherInputis used to wrap input passed into the XMLCipher encryption operations.Constants