Interface MlsAead

All Known Implementing Classes:
BcMlsAead

public interface MlsAead
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     
    byte[]
    open(byte[] key, byte[] nonce, byte[] aad, byte[] pt)
     
    byte[]
    seal(byte[] key, byte[] nonce, byte[] aad, byte[] pt)
     
  • Method Details

    • getKeySize

      int getKeySize()
    • getNonceSize

      int getNonceSize()
    • open

      byte[] open(byte[] key, byte[] nonce, byte[] aad, byte[] pt) throws org.bouncycastle.crypto.InvalidCipherTextException
      Throws:
      org.bouncycastle.crypto.InvalidCipherTextException
    • seal

      byte[] seal(byte[] key, byte[] nonce, byte[] aad, byte[] pt) throws org.bouncycastle.crypto.InvalidCipherTextException
      Throws:
      org.bouncycastle.crypto.InvalidCipherTextException