public class LunaGcmParameterSpec extends Object implements AlgorithmParameterSpec
| Constructor and Description |
|---|
LunaGcmParameterSpec(byte[] iv,
byte[] aad,
int tagBits)
Sets the spec data
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getAad() |
byte[] |
getDataEncoded() |
byte[] |
getIv() |
int |
getTagBits() |
String |
toString() |
public LunaGcmParameterSpec(byte[] iv,
byte[] aad,
int tagBits)
iv - The IV. If null (or HSM is in FIPS mode), it's recorded as a 0-byte arrayaad - The additional authentication data. If null, it's recorded as a 0-byte arraytagBits - # of bits in the auth tag (max 128)public byte[] getIv()
public byte[] getAad()
public int getTagBits()
public byte[] getDataEncoded()
public String toString()
toString in class ObjectObject.toString()Copyright 2014-2016 SafeNet Inc