|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.AlgorithmParametersSpi
com.ibm.crypto.pkcs11impl.provider.DSAParameters
public class DSAParameters
This class implements Digital Signature Algorithm paremters specified by FIPS 186 standard.
Field Summary | |
---|---|
protected java.math.BigInteger |
g
|
protected java.math.BigInteger |
p
|
protected java.math.BigInteger |
q
|
Constructor Summary | |
---|---|
DSAParameters(java.security.Provider provider)
Constructs a new instance of this class. |
Method Summary | ||
---|---|---|
protected byte[] |
engineGetEncoded()
Returns the parameters in encoded bytes. |
|
protected byte[] |
engineGetEncoded(java.lang.String encodingMethod)
Returns the parameters in encoded bytes with encoding method specified. |
|
protected
|
engineGetParameterSpec(java.lang.Class<T> paramSpec)
Return the parameter spec used by this parameter instance. |
|
protected void |
engineInit(java.security.spec.AlgorithmParameterSpec paramSpec)
Initialize the DSAParameters by a DSAParameterSpec |
|
protected void |
engineInit(byte[] params)
Initialize the DSAParameters by encoded bytes |
|
protected void |
engineInit(byte[] params,
java.lang.String decodingMethod)
Initialize the DSAParameters by encoded bytes with the specified decoding method. |
|
protected java.lang.String |
engineToString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.math.BigInteger p
protected java.math.BigInteger q
protected java.math.BigInteger g
Constructor Detail |
---|
public DSAParameters(java.security.Provider provider)
Method Detail |
---|
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecException
engineInit
in class java.security.AlgorithmParametersSpi
paramSpec
- the DSA algorithm parameter spec for this instance.
java.security.spec.InvalidParameterSpecException
protected void engineInit(byte[] params) throws java.io.IOException
engineInit
in class java.security.AlgorithmParametersSpi
params
- the encoded bytes of the parameters.
java.io.IOException
protected void engineInit(byte[] params, java.lang.String decodingMethod) throws java.io.IOException
engineInit
in class java.security.AlgorithmParametersSpi
params
- the encoded bytes of the parameters.decodingMethod
- the decoding method to be used.
java.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
paramSpec
- the parameter spec class to be returned
java.security.spec.InvalidParameterSpecException
protected byte[] engineGetEncoded() throws java.io.IOException
engineGetEncoded
in class java.security.AlgorithmParametersSpi
java.io.IOException
protected byte[] engineGetEncoded(java.lang.String encodingMethod) throws java.io.IOException
engineGetEncoded
in class java.security.AlgorithmParametersSpi
java.io.IOException
protected java.lang.String engineToString()
engineToString
in class java.security.AlgorithmParametersSpi
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |