gnu.crypto.sig.rsa
Class RSAPKCS1V1_5Signature
- Cloneable, ISignature
public class RSAPKCS1V1_5Signature
Version:
RSAPKCS1V1_5Signature()- Default 0-arguments constructor.
|
RSAPKCS1V1_5Signature(String mdName)- Constructs an instance of this object using the designated message
digest algorithm as its underlying hash function.
|
clone, generateSignature, init, name, nextRandomBytes, setupForSigning, setupForVerification, setupSign, setupVerify, sign, update, update, verify, verifySignature |
RSAPKCS1V1_5Signature
public RSAPKCS1V1_5Signature()
Default 0-arguments constructor. Uses SHA-1 as the default hash.
RSAPKCS1V1_5Signature
public RSAPKCS1V1_5Signature(String mdName)
Constructs an instance of this object using the designated message
digest algorithm as its underlying hash function.
mdName - the canonical name of the underlying hash function.
clone
public Object clone()
Returns a clone copy of this instance.
- clone in interface ISignature
- clone in interface BaseSignature
- a clone copy of this instance.
generateSignature
protected Object generateSignature()
throws IllegalStateException- generateSignature in interface BaseSignature
setupForSigning
protected void setupForSigning(PrivateKey k)
throws IllegalArgumentException- setupForSigning in interface BaseSignature
setupForVerification
protected void setupForVerification(PublicKey k)
throws IllegalArgumentException- setupForVerification in interface BaseSignature
verifySignature
protected boolean verifySignature(Object sig)
throws IllegalStateException- verifySignature in interface BaseSignature
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.