Package org.bouncycastle.mls.crypto.bc
Class BcMlsAead
java.lang.Object
org.bouncycastle.mls.crypto.bc.BcMlsAead
- All Implemented Interfaces:
MlsAead
-
Constructor Details
-
BcMlsAead
public BcMlsAead(short aeadId)
-
-
Method Details
-
getKeySize
public int getKeySize()- Specified by:
getKeySize
in interfaceMlsAead
-
getNonceSize
public int getNonceSize()- Specified by:
getNonceSize
in interfaceMlsAead
-
open
public byte[] open(byte[] key, byte[] nonce, byte[] aad, byte[] ct) throws org.bouncycastle.crypto.InvalidCipherTextException -
seal
public byte[] seal(byte[] key, byte[] nonce, byte[] aad, byte[] pt) throws org.bouncycastle.crypto.InvalidCipherTextException
-