public interface OutputEncryptor
Modifier and Type | Method and Description |
---|---|
AlgorithmIdentifier |
getAlgorithmIdentifier()
Return the algorithm identifier describing the encryption
algorithm and parameters this encryptor uses.
|
GenericKey |
getKey()
Return the key used for encrypting the output.
|
OutputStream |
getOutputStream(OutputStream encOut)
Wrap the passed in output stream encOut, returning an output stream
that encrypts anything passed in before sending on to encOut.
|
AlgorithmIdentifier getAlgorithmIdentifier()
OutputStream getOutputStream(OutputStream encOut)
encOut
- output stream for encrypted output.GenericKey getKey()
Copyright © 2015. All rights reserved.