Class AEADParameters

java.lang.Object
org.bouncycastle.crypto.params.AEADParameters
All Implemented Interfaces:
CipherParameters

public class AEADParameters
extends Object
implements CipherParameters
  • Constructor Details

    • AEADParameters

      public AEADParameters​(KeyParameter key, int macSize, byte[] nonce)
      Base constructor.
      Parameters:
      key - key to be used by underlying cipher
      macSize - macSize in bits
      nonce - nonce to be used
    • AEADParameters

      public AEADParameters​(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
      Base constructor.
      Parameters:
      key - key to be used by underlying cipher
      macSize - macSize in bits
      nonce - nonce to be used
      associatedText - initial associated text, if any
  • Method Details

    • getKey

      public KeyParameter getKey()
    • getMacSize

      public int getMacSize()
    • getAssociatedText

      public byte[] getAssociatedText()
    • getNonce

      public byte[] getNonce()