public class LunaParametersIv extends AlgorithmParametersSpi
| Constructor and Description |
|---|
LunaParametersIv() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGetEncoded()
Returns the IV parameter spec encoded as a DER-encoded
ASN.1 OCTET-STRING.
|
protected byte[] |
engineGetEncoded(String format)
Returns the IV parameter spec in the specified format.
|
protected <T extends AlgorithmParameterSpec> |
engineGetParameterSpec(Class<T> paramSpec) |
protected void |
engineInit(AlgorithmParameterSpec paramSpec) |
protected void |
engineInit(byte[] params)
Initialize the parameters with an IV given as a DER-encoded
ASN.1 OCTET-STRING.
|
protected void |
engineInit(byte[] params,
String format)
Initialize the algorithm parameters with an IV given in the specified
format.
|
protected String |
engineToString() |
protected byte[] engineGetEncoded()
throws IOException
engineGetEncoded in class AlgorithmParametersSpiIOExceptionprotected byte[] engineGetEncoded(String format) throws IOException
engineGetEncoded in class AlgorithmParametersSpiformat - the encoding to use for the returned IVIOExceptionprotected <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 AlgorithmParametersSpiparams - DER-encoded IV parameterIOExceptionprotected void engineInit(byte[] params,
String format)
throws IOException
engineInit in class AlgorithmParametersSpiparams - the encoded IVformat - the encoding used in the IVIOExceptionprotected String engineToString()
engineToString in class AlgorithmParametersSpiCopyright 2014-2016 SafeNet Inc