Package | Description |
---|---|
org.opends.server.crypto |
This package implements the Directory Server cryptographic framework,
which is described in the
CrytpoManager design document.
|
org.opends.server.types |
Contains implementations for a number of Directory Server data
types.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
CryptoManagerImpl.decrypt(byte[] data)
Decrypts the data in the provided byte array using cipher
specified by the key identifier prologue to the data.
|
byte[] |
CryptoManagerImpl.encrypt(byte[] data)
Encrypts the data in the provided byte array using the preferred
cipher transformation.
|
byte[] |
CryptoManagerImpl.encrypt(String cipherTransformation,
int keyLengthBits,
byte[] data)
Encrypts the data in the provided byte array using the requested
cipher algorithm.
|
CipherInputStream |
CryptoManagerImpl.getCipherInputStream(InputStream inputStream)
Returns a CipherInputStream instantiated with a cipher
corresponding to the key identifier prologue to the data.
|
CipherOutputStream |
CryptoManagerImpl.getCipherOutputStream(OutputStream outputStream)
Writes encrypted data to the provided output stream using the
preferred cipher transformation.
|
CipherOutputStream |
CryptoManagerImpl.getCipherOutputStream(String cipherTransformation,
int keyLengthBits,
OutputStream outputStream)
Writes encrypted data to the provided output stream using the
requested cipher transformation.
|
static String |
CryptoManagerImpl.getInstanceKeyID(byte[] instanceKeyCertificate)
Return the identifier of an instance's instance key.
|
Mac |
CryptoManagerImpl.getMacEngine(String keyEntryID)
For the specified key entry identifier, instantiate a MAC engine.
|
String |
CryptoManagerImpl.getMacEngineKeyEntryID()
For the current preferred MAC algorithm and key length, return
the identifier of the corresponding key entry.
|
String |
CryptoManagerImpl.getMacEngineKeyEntryID(String macAlgorithm,
int keyLengthBits)
For the specified MAC algorithm and key length, return
the identifier of the corresponding key entry.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
CryptoManager.decrypt(byte[] data)
Decrypts the data in the provided byte array using cipher
specified by the key identifier prologue to the data.
|
byte[] |
CryptoManager.encrypt(byte[] data)
Encrypts the data in the provided byte array using the preferred
cipher transformation.
|
byte[] |
CryptoManager.encrypt(String cipherTransformation,
int keyLengthBits,
byte[] data)
Encrypts the data in the provided byte array using the requested
cipher algorithm.
|
CipherInputStream |
CryptoManager.getCipherInputStream(InputStream inputStream)
Returns a CipherInputStream instantiated with a cipher
corresponding to the key identifier prologue to the data.
|
CipherOutputStream |
CryptoManager.getCipherOutputStream(OutputStream outputStream)
Writes encrypted data to the provided output stream using the
preferred cipher transformation.
|
CipherOutputStream |
CryptoManager.getCipherOutputStream(String cipherTransformation,
int keyLengthBits,
OutputStream outputStream)
Writes encrypted data to the provided output stream using the
requested cipher transformation.
|
Mac |
CryptoManager.getMacEngine(String keyEntryID)
For the specified key entry identifier, instantiate a MAC engine.
|
String |
CryptoManager.getMacEngineKeyEntryID()
For the current preferred MAC algorithm and key length, return
the identifier of the corresponding key entry.
|
String |
CryptoManager.getMacEngineKeyEntryID(String macAlgorithm,
int keyLengthBits)
For the specified MAC algorithm and key length, return
the identifier of the corresponding key entry.
|
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.