The EllipticCurve type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CheckDomainParams |
Run a full check on the group order r and the distinguished point G.
|
![]() | GenerateKeyPair |
Generates a private/public key pair.
|
![]() | HashAndSign(array<Byte>[]()[][], array<Byte>[]()[][]) |
Signature of data, using the installed
random number generator RNG.
|
![]() | HashAndSign(array<Byte>[]()[][], array<Byte>[]()[][], array<Byte>[]()[][]) |
Signature of data, using specified random.
|
![]() | HashAndVerify |
Returns true if the signature is valid.
|
![]() | PublicKey |
Returns the public key for a given private key.
Each key is a byte[] array.
|
![]() | SessionKey |
Generates a 20-byte or 32-byte session key from the Key Derivation Parameters KDP
and the given SharedSecret.
|
![]() | SetDomainParams |
Sets the domain parameters from binary data
All arrays are Big-Endian, msb first.
|
![]() | SharedSecret |
Generates the shared secret corresponding to the private key of
one party and the public key of another party.
|
![]() | Sign(array<Byte>[]()[][], array<Byte>[]()[][]) |
Returns a signature of the 20-byte hash or 32-byte, using the
installed random number generate RNG.
|
![]() | Sign(array<Byte>[]()[][], array<Byte>[]()[][], array<Byte>[]()[][]) |
Returns a signature of the 20-byte or 32-byte hash.
|
![]() | Verify |
Verifies a signature, returning true if the signature is valid.
|