Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
BitSharper
EcKey
EcKey
BitSharper.EcKey.EcKey C# (CSharp) Method
EcKey Class Documentation
Show file
Open project: TangibleCryptography/BitSharper
EcKey()
public
method
Creates an ECKey given only the private key. This works because EC public keys are derivable from their private keys by doing a multiply with the generator value.
public
EcKey
(
BigInteger
privKey
) :
System
privKey
Org.BouncyCastle.Math.BigInteger
return
System
public EcKey(BigInteger privKey) { _priv = privKey; _pub = PublicKeyFromPrivate(privKey); }
Same methods
EcKey::
EcKey
( ) :
System
EcKey
EcKey
ExtractPrivateKeyFromAsn1
FromAsn1
GetPrivKeyBytes
GetPrivateKeyEncoded
PublicKeyFromPrivate
Sign
ToAddress
ToAsn1
ToString
Verify