public interface CipherAlgorithm
| Modifier and Type | Method and Description |
|---|---|
UUID |
getCipherUuid()
Returns the UUID of this algorithm
|
InputStream |
getDecryptedInputStream(InputStream encryptedInputStream,
byte[] key,
byte[] iv)
Create a decrypted stream from the supplied encrypted one
|
OutputStream |
getEncryptedOutputStream(OutputStream decryptedOutputStream,
byte[] key,
byte[] iv)
Create an encrypted stream from the supplied unencrypted one
|
String |
getName()
Return the name of this algorithm
|
UUID getCipherUuid()
String getName()
InputStream getDecryptedInputStream(InputStream encryptedInputStream, byte[] key, byte[] iv)
encryptedInputStream - an encrypted streamkey - the decryption keyiv - the ivOutputStream getEncryptedOutputStream(OutputStream decryptedOutputStream, byte[] key, byte[] iv)
decryptedOutputStream - an unencrypted streamkey - a keyiv - an ivCopyright © 2025. All rights reserved.