| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AffinePoint | |
| private final ECOperations |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static ImmutableIntegerModuloP | |
| public AffinePoint | |
| public static Optional | |
| public ECOperations | |
| public byte[] | Returns: the ECDSA signature valuethe private key scalar as a little-endian byte array privateKey, byte[] the digest to be signed digest, ECDSAOperations.the seed that will be used to produce the nonce. This object
should contain an array that is at least 64 bits longer than
the number of bits required to represent the group order. seedSign a digest using the provided private key and seed. |
| public byte[] | Returns: the ECDSA signature valuethe private key scalar as a little-endian byte array privateKey, byte[] the digest to be signed digest, ECDSAOperations.the nonce object containing a little-endian scalar value. nonceSign a digest using the provided private key and nonce. |
| public boolean |
| basePoint | back to summary |
|---|---|
| private final AffinePoint basePoint | |
| ecOps | back to summary |
|---|---|
| private final ECOperations ecOps | |
| ECDSAOperations | back to summary |
|---|---|
| public ECDSAOperations(ECOperations ecOps, ECPoint basePoint) | |
| b2a | back to summary |
|---|---|
| public static ImmutableIntegerModuloP b2a(IntegerModuloP b, IntegerFieldModuloP orderField, byte[] temp1) | |
| basePointMultiply | back to summary |
|---|---|
| public AffinePoint basePointMultiply(byte[] scalar) | |
| forParameters | back to summary |
|---|---|
| public static Optional | |
| getEcOperations | back to summary |
|---|---|
| public ECOperations getEcOperations() | |
| signDigest | back to summary |
|---|---|
| public byte[] signDigest(byte[] privateKey, byte[] digest, ECDSAOperations. Sign a digest using the provided private key and seed. Important Note The private key is a scalar represented using a little-endian byte array. This is backwards from the conventional representation in ECDSA. The routines that produce and consume this value uses little-endian, so this deviation from convention removes the requirement to swap the byte order. The returned signature is in the conventional byte order.
| |
| signDigest | back to summary |
|---|---|
| public byte[] signDigest(byte[] privateKey, byte[] digest, ECDSAOperations. Sign a digest using the provided private key and nonce. Important Note The private key and nonce are scalars represented by a little-endian byte array. This is backwards from the conventional representation in ECDSA. The routines that produce and consume these values use little-endian, so this deviation from convention removes the requirement to swap the byte order. The returned signature is in the conventional byte order.
| |
| verifySignedDigest | back to summary |
|---|---|
| public boolean verifySignedDigest(byte[] digest, byte[] sig, ECPoint pp) | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| nonceValue | back to summary |
|---|---|
| private final byte[] nonceValue | |
| Nonce | back to summary |
|---|---|
| public Nonce(byte[] nonceValue) | |
| getNonceValue | back to summary |
|---|---|
| public byte[] getNonceValue() | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| seedValue | back to summary |
|---|---|
| private final byte[] seedValue | |
| Seed | back to summary |
|---|---|
| public Seed(byte[] seedValue) | |
| getSeedValue | back to summary |
|---|---|
| public byte[] getSeedValue() | |