public class LunaParametersGcm extends AlgorithmParametersSpi
| Constructor and Description |
|---|
LunaParametersGcm()
This constructor is typically used by the JCE provider.
|
LunaParametersGcm(byte[] iv,
byte[] aad,
int tagBits)
Constructor for use when creating an instance directly.
|
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGetEncoded()
Returns the GCM parameters encoded in a proprietary format.
|
protected byte[] |
engineGetEncoded(String format)
Returns the GCM parameters encoded in a proprietary format.
|
protected <T extends AlgorithmParameterSpec> |
engineGetParameterSpec(Class<T> paramSpec) |
protected void |
engineInit(AlgorithmParameterSpec paramSpec) |
protected void |
engineInit(byte[] params)
Unsupported.
|
protected void |
engineInit(byte[] params,
String format)
Unsupported.
|
protected String |
engineToString() |
public LunaParametersGcm()
public LunaParametersGcm(byte[] iv,
byte[] aad,
int tagBits)
iv - Initialization vectoraad - Additional authentication datatagBits - The number of authentication bitsprotected byte[] engineGetEncoded()
throws IOException
engineGetEncoded in class AlgorithmParametersSpiIOExceptionprotected byte[] engineGetEncoded(String format) throws IOException
engineGetEncoded in class AlgorithmParametersSpiformat - Only "Luna" is supportedIOExceptionprotected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> paramSpec) throws InvalidParameterSpecException
engineGetParameterSpec in class AlgorithmParametersSpiInvalidParameterSpecExceptionprotected void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException
engineInit in class AlgorithmParametersSpiInvalidParameterSpecExceptionprotected void engineInit(byte[] params)
throws IOException
engineInit in class AlgorithmParametersSpiIOExceptionprotected void engineInit(byte[] params,
String format)
throws IOException
engineInit in class AlgorithmParametersSpiIOExceptionprotected String engineToString()
engineToString in class AlgorithmParametersSpiCopyright 2014-2016 SafeNet Inc