public abstract class DsaSignature extends DigitalSignature
The following key types are currently supported:
java.security.interfaces.DSAPublicKey or
java.security.interfaces.DSAPrivateKey.DsaConfinedPrivateKey.TokenDSAPrivateKey
.CapiDsaPrivateKey.When the signature algorithm is initialized with a key, an appropriate underlying DSA algorithm implementation is automatically selected based on the type of key passed in.
A DSA digital signature algorithm instance can be obtained using the Java
Cryptography Architecture (JCA), by requesting the
'<digestAlgorithm>withDSA' algorithm from the
Entrust cryptographic
service provider. This can be done using the following call:
Signature.getInstance("<digestAlgorithm>withDSA", "Entrust");
| Modifier and Type | Method and Description |
|---|---|
protected com.entrust.toolkit.security.crypto.signature.DigitalSignatureImpl |
getDigitalSignatureImpl(java.lang.String implClassName)
Instantiates the internal signature algorithm implementation from the
indicated class.
|
assertParametersValid, engineGetParameter, engineGetParameters, engineInitSign, engineInitSign, engineInitVerify, engineSetParameter, engineSetParameter, engineSign, engineSign, engineUpdate, engineUpdate, engineVerify, engineVerify, generateDefaultParameters, getDigest, getPrng, toAlgorithmParametersprotected final com.entrust.toolkit.security.crypto.signature.DigitalSignatureImpl getDigitalSignatureImpl(java.lang.String implClassName)
throws java.lang.RuntimeException
DigitalSignatureThis API is necessary so that the signature algorithm implementation classes can exist in a different package and not require public constructors.
getDigitalSignatureImpl in class DigitalSignatureimplClassName - the name of the class for the signature algorithm
implementationjava.lang.RuntimeException - if the signature algorithm implementation could not be
instantiated