public class DSASHA1ProxySignature extends ProxySignature
signature_appRandom| Constructor and Description |
|---|
DSASHA1ProxySignature()
Creates a new instance of this
DSAProxySignatureEngine. |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineSign() |
protected boolean |
engineVerify(byte[] sigBytes) |
protected String |
getSignatureName()
Returns an instance of the signature engine used to delegate all
cryptographic operations to.
|
protected byte[] |
removeSignumAndAlign20(byte[] signedInteger)
Receives the byte representation of a POSITIVE integer value as
two's-complement representation.
|
engineGetParameter, engineGetParameters, engineInitSign, engineInitSign, engineInitVerify, engineSetParameter, engineSetParameter, engineSign, engineUpdate, engineUpdate, engineUpdate, engineVerify, getInstance, getInstanceUncaughtclonepublic DSASHA1ProxySignature()
throws NoSuchAlgorithmException,
NoSuchProviderException
DSAProxySignatureEngine.protected String getSignatureName()
ProxySignaturegetSignatureName in class ProxySignatureProxySignature.getSignatureName()protected boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class ProxySignatureSignatureExceptionSignatureSpi.engineVerify(byte[])protected byte[] engineSign()
throws SignatureException
engineSign in class ProxySignatureSignatureExceptionSignatureSpi.engineSign()protected byte[] removeSignumAndAlign20(byte[] signedInteger)
signedInteger must not contain more than 21
bytes.signedInteger must not represent a negative
integer.signedInteger - The two's-complement byte representation of a POSITIVE integer
value.© 2002-2005 IAIK, © 2004, 2006 - 2019 Stiftung SIC