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) |
byte[] |
CryptoSuite.decrypt(byte[] data)
Decrypts data using the key specified in the prologue.
|
byte[] |
CryptoManagerImpl.encrypt(byte[] data) |
byte[] |
CryptoSuite.encrypt(byte[] data)
Encrypts data with the configured cipher transformation and key length.
|
byte[] |
CryptoManagerImpl.encrypt(String cipherTransformation,
int keyLengthBits,
byte[] data) |
void |
CryptoManagerImpl.ensureCipherKeyIsAvailable(String cipherTransformation,
int cipherKeyLength) |
CipherInputStream |
CryptoManagerImpl.getCipherInputStream(InputStream inputStream) |
CipherInputStream |
CryptoSuite.getCipherInputStream(InputStream is)
Returns a
CipherInputStream for decrypting through a sequence of InputStreams. |
CipherOutputStream |
CryptoManagerImpl.getCipherOutputStream(OutputStream outputStream) |
CipherOutputStream |
CryptoSuite.getCipherOutputStream(OutputStream os)
Returns a
CipherOutputStream for encrypting through a sequence of
OutputStreams. |
CipherOutputStream |
CryptoManagerImpl.getCipherOutputStream(String cipherTransformation,
int keyLengthBits,
OutputStream outputStream) |
static String |
CryptoManagerImpl.getInstanceKeyID(byte[] instanceKeyCertificate)
Return the identifier of an instance's instance key.
|
Mac |
CryptoManagerImpl.getMacEngine(String keyEntryID) |
String |
CryptoManagerImpl.getMacEngineKeyEntryID() |
String |
CryptoManagerImpl.getMacEngineKeyEntryID(String macAlgorithm,
int keyLengthBits) |
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.
|
void |
CryptoManager.ensureCipherKeyIsAvailable(String cipherTransformation,
int cipherKeyLength)
Ensures that a key exists for the provided cipher transformation and key length.
|
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-2017 ForgeRock AS. All Rights Reserved.