|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.bouncycastle.bcpg.AEADUtils
| Fields inherited from interface org.bouncycastle.bcpg.AEADAlgorithmTags |
EAX, GCM, OCB |
| Method Summary | |
static int |
getAuthTagLength(int aeadAlgorithmTag)
Return the length of the authentication tag used by the given AEAD algorithm in octets. |
static int |
getIVLength(int aeadAlgorithmTag)
Return the length of the IV used by the given AEAD algorithm in octets. |
static byte[][] |
splitMessageKeyAndIv(byte[] messageKeyAndIv,
int cipherAlgo,
int aeadAlgo)
Split a given byte array containing m |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static int getIVLength(int aeadAlgorithmTag)
aeadAlgorithmTag - AEAD algorithm identifierpublic static int getAuthTagLength(int aeadAlgorithmTag)
aeadAlgorithmTag - AEAD algorithm identifier
public static byte[][] splitMessageKeyAndIv(byte[] messageKeyAndIv,
int cipherAlgo,
int aeadAlgo)
messageKeyAndIv - m+n-8 bytes of concatenated message key and IVcipherAlgo - symmetric cipher algorithmaeadAlgo - AEAD algorithm
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||