| 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 |
EncryptedElementSet.addElement(org.w3c.dom.Element element)
Adds a DOM element to the set of DOM elements to be encrypted (or whose
content is to be encrypted) for the recipients of this
EncryptedElementSet. |
void |
EncryptedElementSet.addElement(java.io.InputStream input)
Adds an
InputStream to the data set to be encrypted
for the recipients of this EncryptedElementSet. |
void |
EncryptedElementSet.addElement(java.lang.String plaintextURI)
Adds a plaintext URI to the data set to be encrypted for the
recipients of this
EncryptedElementSet. |
void |
EncryptedElementSet.addKeyEncryptionKey(javax.crypto.SecretKey keyEncryptionKey,
byte[] id)
Adds a key encryption key (KEK) to a set of elements.
|
void |
EncryptedElementSet.addRecipient(X509Certificate certificate)
Adds a recipient to a set of elements.
|
void |
EncryptedElementSet.encrypt()
Encrypts the DOM elements in this
EncryptedElementSet,
creating <EncryptedKey> and <EncryptedData> DOM elements
as required. |
org.w3c.dom.Element[] |
EncryptedElementSet.getEncryptedDatas()
Retrieves the <EncryptedData> DOM elements that were created by the Toolkit when
the DOM elements in this
EncryptedElementSet were encrypted. |
org.w3c.dom.Element[] |
EncryptedElementSet.getEncryptedKeys()
Retrieves the <EncryptedKey> DOM elements that were created by the Toolkit when the
DOM elements in this
EncryptedElementSet were encrypted. |
| Constructor and Description |
|---|
EncryptedElementSet(Encryptor encryptor)
Creates an empty
EncryptedElementSet that has no recipients. |