| Package | Description |
|---|---|
| com.entrust.toolkit.xencrypt.core |
Contains classes used to encrypt and decrypt XML elements and sets of
XML elements.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Decryptor.addUser(User user)
Enables a particular
Decryptor instance to decrypt DOM elements that were
encrypted for the specified User. |
boolean |
Decryptor.decrypt()
Decrypts all <EncryptedData> DOM elements that are encrypted for any
User in this Decryptor instance. |
java.lang.String |
Decryptor.decrypt(org.w3c.dom.Element encryptedDataElement)
Decrypts a specified DOM element.
|
byte[] |
Decryptor.decryptBinary(org.w3c.dom.Element encryptedDataElement)
Decrypts a specified DOM element for encrypted external binary data.
|
void |
Decryptor.decryptComplete()
Called by an application to signal that it has finished decrypting
elements in an XML document.
|
java.util.Vector |
Decryptor.getRecipients()
Retrieves a list of the recipients who can decrypt at least one <EncryptedData> DOM element
in this document.
|
java.util.Vector |
Decryptor.getRecipients(org.w3c.dom.Element encryptedDataElement)
Retrieves a list of the recipients who can decrypt this particular <EncryptedData>
DOM element.
|
java.lang.String |
Decryptor.getSymmetricAlgorithm(org.w3c.dom.Element encryptedDataElement)
Returns a URN representing the symmetric algorithm that encrypted
a particular <EncryptedData> DOM element.
|
void |
Decryptor.updateElement(org.w3c.dom.Element encryptedDataElement)
Allows an application to replace a specific <EncryptedData>
element with decrypted data.
|
| 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.
|