public final class NullCryptEngineWrapperImpl extends Object implements CryptEngineWrapper
IMPL| Constructor and Description |
|---|
NullCryptEngineWrapperImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
decrypt(InputStream encryptedStream,
String[] decryptionKeyIdents,
OutputStream decryptedStream)
Decrypts an input.
|
void |
encrypt(InputStream inputStream,
String[] encryptionKeyIdents,
OutputStream encryptedStream)
Encrypts an input.
|
boolean |
isSecure()
Asks if this engine is secure.
|
boolean |
setUp(KeyedGroups cryptProperties)
Sets up the crypt.
|
void |
sign(InputStream inputStream,
String[] signingKeyIdents,
OutputStream signatureStream)
Signs an input.
|
void |
tearDown()
Tears down what has been set up.
|
boolean |
verify(InputStream signedStream,
InputStream signatureStream,
String[] verificationKeyIdents)
Verifies a signed input.
|
public void decrypt(InputStream encryptedStream,
String[] decryptionKeyIdents,
OutputStream decryptedStream)
decrypt in interface CryptEngineWrapperencryptedStream - The encrypted stream.decryptionKeyIdents - The decryption key ident (may be empty).decryptedStream - The decrypted stream.public void encrypt(InputStream inputStream,
String[] encryptionKeyIdents,
OutputStream encryptedStream)
encrypt in interface CryptEngineWrapperinputStream - The input stream.encryptionKeyIdents - The encryption key idents (may be empty).encryptedStream - The encrypted stream.public boolean isSecure()
isSecure in interface CryptEngineWrapperpublic boolean setUp(KeyedGroups cryptProperties)
setUp in interface CryptEngineWrappercryptProperties - The crypt configuration properties.public void sign(InputStream inputStream,
String[] signingKeyIdents,
OutputStream signatureStream)
sign in interface CryptEngineWrapperinputStream - The input stream.signingKeyIdents - The signing key idents (may be empty).signatureStream - The signature stream.public void tearDown()
tearDown in interface CryptEngineWrapperpublic boolean verify(InputStream signedStream,
InputStream signatureStream,
String[] verificationKeyIdents)
verify in interface CryptEngineWrappersignedStream - The signed stream.signatureStream - The signature stream.verificationKeyIdents - The verification key idents (may be empty).Copyright © 2003-2019 Serge Brisson. All Rights Reserved.