Class AeadCipher

java.lang.Object
com.yahoo.security.AeadCipher

public class AeadCipher extends Object
AEAD cipher wrapper to hide the underlying crypto provider used.
Author:
vekterli
  • Method Details

    • wrapOutputStream

      public OutputStream wrapOutputStream(OutputStream out)
      Returns a wrapping OutputStream that, depending on the cipher mode, either encrypts or decrypts all data that is written to it before passing it on to out.
    • wrapInputStream

      public InputStream wrapInputStream(InputStream in)
      Returns a wrapping InputStream that, depending on the cipher mode, either encrypts or decrypts all data that is read from the underlying input stream.