public class GCM_PARAMS extends CkParams
| Constructor and Description |
|---|
GCM_PARAMS(byte[] iv,
byte[] aad,
int tagBits)
Create a new GCM_PARAMS object with the given attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getMaxFieldLen() |
CK_GCM_PARAMS |
getParams()
Get this parameters object as an object of the corresponding *_PARAMS
class of the iaik.pkcs.pkcs11.wrapper package.
|
String |
toString(String indent) |
codeToName, ptr2str, requireNonNull, setModule, toString, val2Strpublic GCM_PARAMS(byte[] iv,
byte[] aad,
int tagBits)
iv - Initialization vectoraad - additional authentication data. This data is authenticated but not encrypted.tagBits - length of authentication tag (output following ciphertext) in bits. (0 - 128)
depending on the algorithm implementation within the hsm, ulTagBits may be any
one of the following five values: 128, 120, 112, 104, or 96, may be 64 or 32;public CK_GCM_PARAMS getParams()
CkParamsprotected int getMaxFieldLen()
getMaxFieldLen in class CkParamsCopyright © 2023. All rights reserved.