| Modifier and Type | Field and Description |
|---|---|
| private final AlgorithmIdentifier | |
| private final Digest | |
| private boolean | |
| private static final Hashtable | |
| private final AsymmetricBlockCipher |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| public byte[] | generateSignature()
Implements org. |
| public String | |
| public void | init(boolean
true if for signing, false otherwise forSigning, CipherParameters necessary parameters. parameters)Implements org. |
| public void | |
| public void | update(byte input)
Implements org. |
| public void | update(byte[] input, int inOff, int length)
Implements org. |
| public boolean | verifySignature(byte[] signature)
Implements org. |
| algId | back to summary |
|---|---|
| private final AlgorithmIdentifier algId | |
| digest | back to summary |
|---|---|
| private final Digest digest | |
| forSigning | back to summary |
|---|---|
| private boolean forSigning | |
| oidMap | back to summary |
|---|---|
| private static final Hashtable<K, V> oidMap | |
| rsaEngine | back to summary |
|---|---|
| private final AsymmetricBlockCipher rsaEngine | |
| RSADigestSigner | back to summary |
|---|---|
| public RSADigestSigner(Digest digest) | |
| RSADigestSigner | back to summary |
|---|---|
| public RSADigestSigner(Digest digest, ASN1ObjectIdentifier digestOid) | |
| derEncode | back to summary |
|---|---|
| private byte[] derEncode(byte[] hash) throws IOException | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() throws CryptoException, DataLengthException Implements org. Generate a signature for the message we've been loaded with using the key we were initialised with. | |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName()
Deprecated
| |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters parameters) Implements org. Initialize the signer for signing or verification.
| |
| reset | back to summary |
|---|---|
| public void reset() Implements org. Doc from org. reset the internal state | |
| update | back to summary |
|---|---|
| public void update(byte input) Implements org. update the internal digest with the byte b | |
| update | back to summary |
|---|---|
| public void update(byte[] input, int inOff, int length) Implements org. update the internal digest with the byte array in | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] signature) Implements org. return true if the internal state represents the signature described in the passed in array. | |