示例#1
0
 public static ECKeyPair Create(ECDomainNames domain)
 {
     return(new ECKeyPair(null, null, ECDomains.GetDomainParameter(domain), domain));
 }
示例#2
0
 /// <param name="d">Private Key</param>
 /// <param name="Q">Public Key</param>
 internal ECKeyPair(Number d, ECPoint Q, ECDomainParameters domain)
     : this(d, Q, domain, ECDomainNames.none)
 {
     _domainName = ECDomains.GetDomainName(domain);
 }