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.AlgorithmParametersSpijava.io.IOExceptionprotected byte[] engineGetEncoded(java.lang.String format)
throws java.io.IOException
engineGetEncoded in class java.security.AlgorithmParametersSpiformat - the encoding to use for the returned IVjava.io.IOExceptionprotected <T extends java.security.spec.AlgorithmParameterSpec> T engineGetParameterSpec(java.lang.Class<T> paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineGetParameterSpec in class java.security.AlgorithmParametersSpijava.security.spec.InvalidParameterSpecExceptionprotected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
throws java.security.spec.InvalidParameterSpecException
engineInit in class java.security.AlgorithmParametersSpijava.security.spec.InvalidParameterSpecExceptionprotected void engineInit(byte[] params)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpiparams - DER-encoded IV parameterjava.io.IOExceptionprotected void engineInit(byte[] params,
java.lang.String format)
throws java.io.IOException
engineInit in class java.security.AlgorithmParametersSpiparams - the encoded IVformat - the encoding used in the IVjava.io.IOExceptionprotected java.lang.String engineToString()
engineToString in class java.security.AlgorithmParametersSpiCopyright 2014-2018 SafeNet. All rights reserved.