| Package | Description |
|---|---|
| com.entrust.toolkit.xencrypt.core |
Contains classes used to encrypt and decrypt XML elements and sets of
XML elements.
|
| com.entrust.toolkit.xencrypt.exceptions |
Contains classes used to handle exceptions thrown by the Toolkit's XML
encryption code.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Decryptor.addKeyEncryptionkey(byte[] id,
javax.crypto.SecretKey kenEncryptionKey)
Enables a particular
Decryptor instance to decrypt
DOM elements. |
org.w3c.dom.Element |
Encryptor.getEncryptedDataElement(java.io.InputStream binaryInputStream)
Returns the lt;EncryptedData> element referred to by the
Inputstream. |
org.w3c.dom.Element |
Encryptor.getEncryptedDataElement(java.lang.String externalBinaryURI)
Returns the <EncryptedData> element referred to by the
URI references to binary data.
|
void |
Encryptor.setKeyEncryptionKey(java.lang.Object element,
javax.crypto.SecretKey keyEncryptionKey,
byte[] id)
Sets a key encryption key that will be used to encrypt this particular
DOM element.
|
java.io.InputStream |
EncryptionHandler.toInputStream()
Serializes the DOM Document to an
InputStream. |
void |
EncryptionHandler.toOutputStream(java.io.OutputStream outputStream)
Serializes the DOM Document to an
OutputStream. |
void |
Encryptor.updateContent(org.w3c.dom.Element element)
Replaces the unencrypted element content with an <EncryptedData>
element called after the
encryptContent method. |
void |
Encryptor.updateElement(org.w3c.dom.Element element)
Replaces the unencrypted element or content with an <EncryptedData>
element called after encryption.
|
| Constructor and Description |
|---|
Decryptor(XMLEInit initializer)
Initializes the Toolkit to decrypt external binary data.
|
Decryptor(XMLEInit initializer,
java.io.InputStream document)
Parses an encrypted XML document to a DOM tree and initializes the Toolkit to decrypt
DOM elements within that document.
|
Encryptor(XMLEInit initializer)
Creates a new XML DOM Document.
|
Encryptor(XMLEInit initializer,
java.io.InputStream document)
Parses an XML document to a DOM tree and initializes the Toolkit to encrypt DOM
elements within the document.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DecryptorException
Signals that an error has occurred while executing a method of class
Decryptor. |
class |
EncryptedDataException
Signals that an error has occurred while processing an
EncryptedData DOM element. |
class |
EncryptedElementSetException
Signals that an error has occurred while executing a method of class
EncryptedElementSet. |
class |
EncryptedKeyException
Signals that an error has occurred while processing an
EncryptedKey DOM element. |
class |
EncryptedTypeException
Signals that an error has occurred while processing an
EncryptedData DOM element. |
class |
EncryptorException
Signals that an error has occurred while executing a method of class
Encryptor. |
class |
RetrievalMethodException
Signals that an error has occurred while processing an
RetrievalMethod DOM element. |