The EllipticCurve type exposes the following members.

Methods

  NameDescription
Public methodCheckDomainParams
Run a full check on the group order r and the distinguished point G.
Public methodGenerateKeyPair
Generates a private/public key pair.
Public methodHashAndSign(array<Byte>[]()[][], array<Byte>[]()[][])
Signature of data, using the installed random number generator RNG.
Public methodHashAndSign(array<Byte>[]()[][], array<Byte>[]()[][], array<Byte>[]()[][])
Signature of data, using specified random.
Public methodHashAndVerify
Returns true if the signature is valid.
Public methodPublicKey
Returns the public key for a given private key. Each key is a byte[] array.
Public methodSessionKey
Generates a 20-byte or 32-byte session key from the Key Derivation Parameters KDP and the given SharedSecret.
Public methodSetDomainParams
Sets the domain parameters from binary data All arrays are Big-Endian, msb first.
Public methodSharedSecret
Generates the shared secret corresponding to the private key of one party and the public key of another party.
Public methodSign(array<Byte>[]()[][], array<Byte>[]()[][])
Returns a signature of the 20-byte hash or 32-byte, using the installed random number generate RNG.
Public methodSign(array<Byte>[]()[][], array<Byte>[]()[][], array<Byte>[]()[][])
Returns a signature of the 20-byte or 32-byte hash.
Public methodVerify
Verifies a signature, returning true if the signature is valid.

See Also