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