ECDSAPrivateKey.this

Generate a new private key

  1. this(AlgorithmIdentifier alg_id, SecureVector!ubyte key_bits)
  2. this(RandomNumberGenerator rng, ECGroup domain, BigInt x)
    struct ECDSAPrivateKey
    this
    ()
  3. this(PrivateKey pkey)

Parameters

rng RandomNumberGenerator

a random number generator

domain ECGroup

parameters to used for this key

x BigInt

the private key (if zero, generate a ney random key)

Meta