Package com.yahoo.security
Class AeadCipher
java.lang.Object
com.yahoo.security.AeadCipher
AEAD cipher wrapper to hide the underlying crypto provider used.
- Author:
- vekterli
-
Method Summary
Modifier and TypeMethodDescriptionReturns a wrappingInputStreamthat, depending on the cipher mode, either encrypts or decrypts all data that is read from the underlying input stream.Returns a wrappingOutputStreamthat, depending on the cipher mode, either encrypts or decrypts all data that is written to it before passing it on toout.
-
Method Details
-
wrapOutputStream
Returns a wrappingOutputStreamthat, depending on the cipher mode, either encrypts or decrypts all data that is written to it before passing it on toout. -
wrapInputStream
Returns a wrappingInputStreamthat, depending on the cipher mode, either encrypts or decrypts all data that is read from the underlying input stream.
-