| 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 |
|---|---|
boolean |
Encryptor.encrypt()
Encrypts all DOM elements for which at least one recipient has been set.
|
org.w3c.dom.Element |
Encryptor.encryptBinary(java.io.InputStream input)
Encrypts an external binary file referenced by an
Inputstream. |
org.w3c.dom.Element |
Encryptor.encryptBinary(java.lang.String plaintextURI)
Encrypts an external binary file referenced by
plaintextURI. |
org.w3c.dom.Element |
Encryptor.encryptContent(org.w3c.dom.Element element)
Encrypts only the content of a DOM element, not the element's tag and attributes.
|
org.w3c.dom.Element |
Encryptor.encryptElement(org.w3c.dom.Element element)
Encrypts a DOM element.
|
X509Certificate[] |
Encryptor.getRecipients(java.lang.Object element)
Identifies the recipients for whom a particular DOM element has been encrypted
all the users who will be able to decrypt the element.
|
java.lang.String |
Encryptor.getSymmetricAlgorithm(org.w3c.dom.Element element)
Identifies the symmetric algorithm that encrypted a particular <EncryptedData>
DOM element.
|
void |
Encryptor.setCipherURI(java.lang.Object element,
java.lang.String ciphertextURI)
Specifies the cipher text URI for this element.
|
void |
Encryptor.setContentOnly(org.w3c.dom.Element element,
boolean contentOnly)
Determines whether an entire DOM element (including opening and closing tags) or just
the content of a DOM element is to be encrypted.
|
void |
Encryptor.setEncryptedDataBaseID(java.lang.String baseID)
Sets the <EncryptedData> base ID.
|
void |
Encryptor.setEncryptedDataId(java.lang.Object element,
java.lang.String id)
Lets the application specify a particular value for the Id attribute of an
<EncryptedData> DOM element.
|
void |
Encryptor.setEncryptedKeyAlgorithm(java.lang.String algorithm)
Sets the algorithm that encrypts <EncryptedKey> DOM elements.
|
void |
Encryptor.setEncryptedKeyBaseID(java.lang.String baseID)
Sets the <EncryptedKey> base ID.
|
void |
Encryptor.setRecipient(java.lang.Object element,
X509Certificate certificate)
Sets a certificate whose public key will be used to encrypt this particular
DOM element or its content.
|
| Constructor and Description |
|---|
Encryptor(XMLEInit initializer)
Creates a new XML DOM Document.
|