com.ibm.crypto.pkcs11impl.provider
Class GeneralPKCS11Parameters
java.lang.Object
java.security.AlgorithmParametersSpi
com.ibm.crypto.pkcs11impl.provider.GeneralPKCS11Parameters
public class GeneralPKCS11Parameters
- extends java.security.AlgorithmParametersSpi
This class implements the parameter (IV) used with an algorithm in
feedback-mode. IV is defined in the standards as follows:
IV ::= OCTET STRING -- 8 octets
Constructor Summary |
GeneralPKCS11Parameters(java.security.Provider provider,
java.lang.String alg)
Creates a new instance of this class |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GeneralPKCS11Parameters
public GeneralPKCS11Parameters(java.security.Provider provider,
java.lang.String alg)
- Creates a new instance of this class
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec parmSpec)
throws java.security.spec.InvalidParameterSpecException
- Specified by:
engineInit
in class java.security.AlgorithmParametersSpi
- Throws:
java.security.spec.InvalidParameterSpecException
engineInit
protected void engineInit(byte[] encoded)
throws java.io.IOException
- Specified by:
engineInit
in class java.security.AlgorithmParametersSpi
- Throws:
java.io.IOException
engineInit
protected void engineInit(byte[] encoded,
java.lang.String decodingMethod)
throws java.io.IOException
- Specified by:
engineInit
in class java.security.AlgorithmParametersSpi
- Throws:
java.io.IOException
engineGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class parmSpec)
throws java.security.spec.InvalidParameterSpecException
- Specified by:
engineGetParameterSpec
in class java.security.AlgorithmParametersSpi
- Throws:
java.security.spec.InvalidParameterSpecException
engineGetEncoded
protected byte[] engineGetEncoded()
throws java.io.IOException
- Specified by:
engineGetEncoded
in class java.security.AlgorithmParametersSpi
- Throws:
java.io.IOException
engineGetEncoded
protected byte[] engineGetEncoded(java.lang.String encodingMethod)
throws java.io.IOException
- Specified by:
engineGetEncoded
in class java.security.AlgorithmParametersSpi
- Throws:
java.io.IOException
engineToString
protected java.lang.String engineToString()
- Specified by:
engineToString
in class java.security.AlgorithmParametersSpi