gnu.crypto.pki.provider
public abstract class RSA extends SignatureSpi implements Cloneable
Field Summary | |
---|---|
protected OID | digestAlgorithm |
protected static OID | DIGEST_ALGORITHM
digestAlgorithm OBJECT IDENTIFIER ::=
{ iso(1) member-body(2) US(840) rsadsi(113549) digestAlgorithm(2) } |
protected MessageDigest | md |
protected RSAPrivateKey | signerKey |
protected RSAPublicKey | verifierKey |
Constructor Summary | |
---|---|
protected | RSA(MessageDigest md, OID digestAlgorithm) |
Method Summary | |
---|---|
Object | clone() |
protected Object | engineGetParameter(String param) |
protected void | engineInitSign(PrivateKey privateKey) |
protected void | engineInitSign(PrivateKey privateKey, SecureRandom random) |
protected void | engineInitVerify(PublicKey publicKey) |
protected void | engineSetParameter(String param, Object value) |
protected byte[] | engineSign() |
protected int | engineSign(byte[] out, int off, int len) |
protected void | engineUpdate(byte b) |
protected void | engineUpdate(byte[] buf, int off, int len) |
protected boolean | engineVerify(byte[] sig) |
protected boolean | engineVerify(byte[] sig, int off, int len) |