|
Bouncy Castle Cryptography Library 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputEncryptor
General interface for an operator that is able to produce an OutputStream that will output encrypted data.
Method Summary | |
---|---|
org.bouncycastle.asn1.x509.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. |
java.io.OutputStream |
getOutputStream(java.io.OutputStream encOut)
Wrap the passed in output stream encOut, returning an output stream that encrypts anything passed in before sending on to encOut. |
Method Detail |
---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
java.io.OutputStream getOutputStream(java.io.OutputStream encOut)
encOut
- output stream for encrypted output.
GenericKey getKey()
|
Bouncy Castle Cryptography Library 1.46 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |