| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static BlockCipher | |
| pack-priv static Digest | |
| pack-priv static AsymmetricBlockCipher | |
| pack-priv static Signer | |
| pack-priv static Wrapper |
| BcImplProvider | back to summary |
|---|---|
| pack-priv BcImplProvider() | |
| createBlockCipher | back to summary |
|---|---|
| pack-priv static BlockCipher createBlockCipher(int encAlgorithm) throws PGPException | |
| createDigest | back to summary |
|---|---|
| pack-priv static Digest createDigest(int algorithm) throws PGPException | |
| createPublicKeyCipher | back to summary |
|---|---|
| pack-priv static AsymmetricBlockCipher createPublicKeyCipher(int encAlgorithm) throws PGPException | |
| createSigner | back to summary |
|---|---|
| pack-priv static Signer createSigner(int keyAlgorithm, int hashAlgorithm, CipherParameters keyParam) throws PGPException | |
| createWrapper | back to summary |
|---|---|
| pack-priv static Wrapper createWrapper(int encAlgorithm) throws PGPException | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final Digest | |
| private final Signer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | generateSignature()
Implements org. generate a signature for the message we've been loaded with using the key we were initialised with. |
| public void | init(boolean
true if for signing, false otherwise forSigning, CipherParameters necessary parameters. param)Implements org. Initialise the signer for signing or verification. |
| public void | |
| public void | update(byte b)
Implements org. update the internal digest with the byte b |
| public void | update(byte[] in, int off, int len)
Implements org. update the internal digest with the byte array in |
| public boolean | verifySignature(byte[] signature)
Implements org. return true if the internal state represents the signature described in the passed in array. |
| digBuf | back to summary |
|---|---|
| private final byte[] digBuf | |
| digest | back to summary |
|---|---|
| private final Digest digest | |
| signer | back to summary |
|---|---|
| private final Signer signer | |
| EdDsaSigner | back to summary |
|---|---|
| pack-priv EdDsaSigner(Signer signer, Digest digest) | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() throws CryptoException, DataLengthException Implements org. Doc from org. generate a signature for the message we've been loaded with using the key we were initialised with. | |
| init | back to summary |
|---|---|
| public void init(boolean forSigning, CipherParameters param) Implements org. Doc from org. Initialise 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 b) Implements org. Doc from org. update the internal digest with the byte b | |
| update | back to summary |
|---|---|
| public void update(byte[] in, int off, int len) Implements org. Doc from org. update the internal digest with the byte array in | |
| verifySignature | back to summary |
|---|---|
| public boolean verifySignature(byte[] signature) Implements org. Doc from org. return true if the internal state represents the signature described in the passed in array. | |