| Package | Description |
|---|---|
| com.entrust.toolkit.xencrypt.algorithms |
Contains an interface and classes that define the behaviour of
encryption algorithms used in XML encryption.
|
| Modifier and Type | Method and Description |
|---|---|
abstract EncryptionAlgorithm |
EncryptionAlgorithmFactory.createEncryptionAlgorithm(URI algorithmURI)
Creates the encryption algorithm specified by the provided algorithm URI.
|
EncryptionAlgorithm |
EncryptionAlgorithmFactoryDefaultImpl.createEncryptionAlgorithm(URI algorithmURI)
Creates an instance of the encryption algorithm specified by the algorithm URI argument.
|
static EncryptionAlgorithmFactory |
EncryptionAlgorithmFactory.createFactory()
Creates an instance of the
EncyptionAlgorithmFactory implementation class, which is specified
by the XMLE property named EncyptionAlgorithmFactory.ImplementingClass. |
byte[] |
EncryptionAlgorithm.decrypt(byte[] toBeDecrypted)
Decrypts a byte array.
|
byte[] |
EncryptionAlgorithmImpl3DES.decrypt(byte[] bytesToBeDecrypted)
Decrypts a byte array.
|
byte[] |
EncryptionAlgorithmImplAES.decrypt(byte[] bytesToBeDecrypted)
Decrypts a byte array.
|
byte[] |
EncryptionAlgorithmImplRSA.decrypt(byte[] toBeDecrypted)
Decrypts a byte array.
|
byte[] |
KeyWrapAlgorithmImpl3DES.decrypt(byte[] bytesToBeUnwrapped)
Decrypts a byte array.
|
byte[] |
KeyWrapAlgorithmImplAES.decrypt(byte[] bytesToBeUnwrapped)
Unwraps (decrypts) wrapped key data.
|
byte[] |
EncryptionAlgorithm.encrypt(byte[] toBeEncrypted)
Encrypts a byte array.
|
byte[] |
EncryptionAlgorithmImpl3DES.encrypt(byte[] bytesToBeEncrypted)
Encrypts a byte array.
|
byte[] |
EncryptionAlgorithmImplAES.encrypt(byte[] bytesToBeEncrypted)
Encrypts a byte array.
|
byte[] |
EncryptionAlgorithmImplRSA.encrypt(byte[] toBeEncrypted)
Encrypts a byte array.
|
byte[] |
KeyWrapAlgorithmImpl3DES.encrypt(byte[] bytesToBeWrapped)
Encrypts a byte array.
|
byte[] |
KeyWrapAlgorithmImplAES.encrypt(byte[] bytesToBeWrapped)
Wraps (encrypts) key data.
|
java.lang.String |
EncryptionAlgorithm.getIVparameters()
Retrieves a Base 64 encoding of the initialization vector that was
used at the most recent invocation of
initEncrypt() or
initDecrypt(). |
java.lang.String |
EncryptionAlgorithmImpl3DES.getIVparameters()
Retrieves a Base 64 encoding of the initialization vector that was
used at the most recent invocation of
initEncrypt() or
initDecrypt(). |
java.lang.String |
EncryptionAlgorithmImplAES.getIVparameters()
Retrieves a Base 64 encoding of the initialization vector that was
used at the most recent invocation of
initEncrypt() or
initDecrypt(). |
java.lang.String |
KeyWrapAlgorithmImpl3DES.getIVparameters()
Retrieves a Base 64 encoding of the initialization vector that was
used at the most recent invocation of
initWrap() or
initUnwrap(). |
void |
EncryptionAlgorithm.initDecrypt(byte[] keyBytes,
byte[] iv)
Initializes the
EncryptionAlgorithm for decrypting. |
void |
EncryptionAlgorithmImpl3DES.initDecrypt(byte[] keyBytes,
byte[] iv)
Initializes this symmetric cipher for decrypting, using the key
material and initialization vector provided.
|
void |
EncryptionAlgorithmImplAES.initDecrypt(byte[] keyBytes,
byte[] iv)
Initializes this symmetric cipher for decrypting, using the key
material and initialization vector provided.
|
void |
KeyWrapAlgorithmImpl3DES.initDecrypt(byte[] keyBytes,
byte[] iv)
Initializes the symmetric cipher for unwrapping.
|
void |
KeyWrapAlgorithmImplAES.initDecrypt(byte[] keyBytes,
byte[] iv)
Initializes the symmetric cipher for unwrapping key data.
|
void |
EncryptionAlgorithm.initEncrypt()
Initializes the
EncryptionAlgorithm for encrypting a DOM element or
a set of DOM elements. |
void |
EncryptionAlgorithmImpl3DES.initEncrypt()
Initializes the symmetric cipher for encryption using Triple DES.
|
void |
EncryptionAlgorithmImplAES.initEncrypt()
Initializes the symmetric cipher for encryption using AES.
|
void |
KeyWrapAlgorithmImpl3DES.initEncrypt()
Initializes the symmetric cipher for wrapping a key data using
TripleDES.
|
void |
KeyWrapAlgorithmImplAES.initEncrypt()
Initializes the symmetric cipher for wrapping key data.
|
void |
EncryptionAlgorithm.setPrivateKey(java.security.PrivateKey decryptionKey)
Sets a private key for decrypting an <EncryptedKey> element.
|
void |
EncryptionAlgorithmImpl3DES.setPrivateKey(java.security.PrivateKey decryptionKey)
This method is required to implement the
EncryptionAlgorithm
interface, but it applies only to asymmetric ciphers, so this
method does nothing. |
void |
EncryptionAlgorithmImplAES.setPrivateKey(java.security.PrivateKey decryptionKey)
This method is required to implement the
EncryptionAlgorithm interface,
but it applies only to asymmetric ciphers, so this method does nothing. |
void |
EncryptionAlgorithmImplRSA.setPrivateKey(java.security.PrivateKey decryptionKey)
Sets the private key to be used for decrypting.
|
void |
KeyWrapAlgorithmImpl3DES.setPrivateKey(java.security.PrivateKey decryptionKey)
Required to implement the
EncryptionAlgorithm interface,
but does nothing, since TripleDES is a symmetric cipher. |
void |
KeyWrapAlgorithmImplAES.setPrivateKey(java.security.PrivateKey decryptionKey)
Required to implement the
EncryptionAlgorithm interface,
but does nothing, since AES Key Wrap is a symmetric algorithm. |
void |
EncryptionAlgorithm.setPublicKey(java.security.PublicKey encryptionKey)
Sets a public key for encrypting an <EncryptedKey> element.
|
void |
EncryptionAlgorithmImplRSA.setPublicKey(java.security.PublicKey encryptionKey)
Sets the public key to be used for encryption.
|
void |
KeyWrapAlgorithmImpl3DES.setPublicKey(java.security.PublicKey encryptionKey)
Required to implement the
EncryptionAlgorithm interface,
but does nothing, since TripleDES is a symmetric cipher. |
void |
KeyWrapAlgorithmImplAES.setPublicKey(java.security.PublicKey encryptionKey)
Required to implement the
EncryptionAlgorithm interface,
but does nothing, since AES Key Wrap is a symmetric algorithm. |
void |
KeyWrapAlgorithm.setSecretKey(javax.crypto.SecretKey secretKey)
Sets a secret key to wrap an <EncryptedKey> element.
|
void |
KeyWrapAlgorithmImpl3DES.setSecretKey(javax.crypto.SecretKey secretKey)
Sets a secret key to wrap or unwrap an <EncryptedKey> element.
|
void |
KeyWrapAlgorithmImplAES.setSecretKey(javax.crypto.SecretKey secretKey)
Sets a secret key to wrap or unwrap an <EncryptedKey> element.
|
void |
EncryptionAlgorithm.setURI(URI uri)
Sets the algorithm identifier, which is a URI.
|
void |
EncryptionAlgorithmImplRSA.setURI(URI uri)
Sets the algorithm identifier, which is a
URI. |