public class LunaParametersIv
extends java.security.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(java.lang.String format)
Returns the IV parameter spec in the specified format.
|
protected <T extends java.security.spec.AlgorithmParameterSpec> |
engineGetParameterSpec(java.lang.Class<T> paramSpec) |
protected void |
engineInit(java.security.spec.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,
java.lang.String format)
Initialize the algorithm parameters with an IV given in the specified format.
|
protected java.lang.String |
engineToString() |
protected byte[] engineGetEncoded() throws java.io.IOException
engineGetEncoded
in class java.security.AlgorithmParametersSpi
java.io.IOException
protected byte[] engineGetEncoded(java.lang.String format) throws java.io.IOException
engineGetEncoded
in class java.security.AlgorithmParametersSpi
format
- the encoding to use for the returned IVjava.io.IOException
protected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T> paramSpec) throws java.security.spec.InvalidParameterSpecException
engineGetParameterSpec
in class java.security.AlgorithmParametersSpi
java.security.spec.InvalidParameterSpecException
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecException
engineInit
in class java.security.AlgorithmParametersSpi
java.security.spec.InvalidParameterSpecException
protected void engineInit(byte[] params) throws java.io.IOException
engineInit
in class java.security.AlgorithmParametersSpi
params
- DER-encoded IV parameterjava.io.IOException
protected void engineInit(byte[] params, java.lang.String format) throws java.io.IOException
engineInit
in class java.security.AlgorithmParametersSpi
params
- the encoded IVformat
- the encoding used in the IVjava.io.IOException
protected java.lang.String engineToString()
engineToString
in class java.security.AlgorithmParametersSpi
Copyright 2014-2018 SafeNet. All rights reserved.