public class AESEncryptionStreamServiceImpl extends Object implements EncryptionStreamService
| Constructor and Description |
|---|
AESEncryptionStreamServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
static CipherInputStream |
createCipherInputStream(byte[] secretKey,
InputStream original,
int cipherMode) |
static CipherOutputStream |
createCipherOutputStream(byte[] secretKey,
OutputStream original,
int cipherMode) |
InputStream |
getDecryptedInputStream(InputStream inputStream,
KeySource keySource,
KeyID keyID) |
InputStream |
getEncryptedInputStream(InputStream inputStream,
KeySource keySource,
KeyID keyID,
Boolean compress) |
public InputStream getEncryptedInputStream(InputStream inputStream, KeySource keySource, KeyID keyID, Boolean compress)
getEncryptedInputStream in interface EncryptionStreamServicepublic InputStream getDecryptedInputStream(InputStream inputStream, KeySource keySource, KeyID keyID)
getDecryptedInputStream in interface EncryptionStreamServicepublic static CipherInputStream createCipherInputStream(byte[] secretKey, InputStream original, int cipherMode)
public static CipherOutputStream createCipherOutputStream(byte[] secretKey, OutputStream original, int cipherMode)
Copyright © 2018. All Rights Reserved.