| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Ed25519ctxSigner. | |
| private final byte[] | |
| private boolean | |
| private Ed25519PrivateKeyParameters | |
| private Ed25519PublicKeyParameters |
| Access | Constructor and Description |
|---|---|
| public |
| 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. parameters)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[] buf, 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. |
| buffer | back to summary |
|---|---|
| private final Ed25519ctxSigner. | |
| context | back to summary |
|---|---|
| private final byte[] context | |
| forSigning | back to summary |
|---|---|
| private boolean forSigning | |
| privateKey | back to summary |
|---|---|
| private Ed25519PrivateKeyParameters privateKey | |
| publicKey | back to summary |
|---|---|
| private Ed25519PublicKeyParameters publicKey | |
| Ed25519ctxSigner | back to summary |
|---|---|
| public Ed25519ctxSigner(byte[] context) | |
| generateSignature | back to summary |
|---|---|
| public byte[] generateSignature() 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 parameters) 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[] buf, 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. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized byte[] | |
| public synchronized void | reset()
Overrides java. Resets the |
| pack-priv synchronized boolean |
| Buffer | back to summary |
|---|---|
| private Buffer() | |
| generateSignature | back to summary |
|---|---|
| pack-priv synchronized byte[] generateSignature(Ed25519PrivateKeyParameters privateKey, byte[] ctx) | |
| reset | back to summary |
|---|---|
| public synchronized void reset() Overrides java. Doc from java. Resets the | |
| verifySignature | back to summary |
|---|---|
| pack-priv synchronized boolean verifySignature(Ed25519PublicKeyParameters publicKey, byte[] ctx, byte[] signature) | |