Class CipherOption

java.lang.Object
org.apache.hadoop.crypto.CipherOption

@Private public class CipherOption extends Object
Used between client and server to negotiate the cipher suite, key and iv.
  • Constructor Details

    • CipherOption

      public CipherOption(CipherSuite suite)
    • CipherOption

      public CipherOption(CipherSuite suite, byte[] inKey, byte[] inIv, byte[] outKey, byte[] outIv)
  • Method Details

    • getCipherSuite

      public CipherSuite getCipherSuite()
    • getInKey

      public byte[] getInKey()
    • getInIv

      public byte[] getInIv()
    • getOutKey

      public byte[] getOutKey()
    • getOutIv

      public byte[] getOutIv()