C# 클래스 Nethereum.Core.Signing.Crypto.EthECKey

파일 보기 프로젝트 열기: Nethereum/Nethereum

공개 메소드들

메소드 설명
CalculateRecId ( this key, ECDSASignature signature, byte hash ) : int
GenerateKey ( ) : ECKey
GetPrivateKeyAsBytes ( this key ) : byte[]
GetPubKeyNoPrefix ( this key ) : byte[]
GetPublicAddress ( string privateKey ) : string
GetPublicAddress ( this key ) : string
GetRecIdFromV ( byte v ) : int
RecoverFromSignature ( ECDSASignature signature, byte hash ) : ECKey
SignAndCalculateV ( this key, byte hash ) : ECDSASignature
VerifyAllowingOnlyLowS ( this key, byte hash, ECDSASignature sig ) : bool

메소드 상세

CalculateRecId() 공개 정적인 메소드

public static CalculateRecId ( this key, ECDSASignature signature, byte hash ) : int
key this
signature NBitcoin.Crypto.ECDSASignature
hash byte
리턴 int

GenerateKey() 공개 정적인 메소드

public static GenerateKey ( ) : ECKey
리턴 NBitcoin.Crypto.ECKey

GetPrivateKeyAsBytes() 공개 정적인 메소드

public static GetPrivateKeyAsBytes ( this key ) : byte[]
key this
리턴 byte[]

GetPubKeyNoPrefix() 공개 정적인 메소드

public static GetPubKeyNoPrefix ( this key ) : byte[]
key this
리턴 byte[]

GetPublicAddress() 공개 정적인 메소드

public static GetPublicAddress ( string privateKey ) : string
privateKey string
리턴 string

GetPublicAddress() 공개 정적인 메소드

public static GetPublicAddress ( this key ) : string
key this
리턴 string

GetRecIdFromV() 공개 정적인 메소드

public static GetRecIdFromV ( byte v ) : int
v byte
리턴 int

RecoverFromSignature() 공개 정적인 메소드

public static RecoverFromSignature ( ECDSASignature signature, byte hash ) : ECKey
signature NBitcoin.Crypto.ECDSASignature
hash byte
리턴 NBitcoin.Crypto.ECKey

SignAndCalculateV() 공개 정적인 메소드

public static SignAndCalculateV ( this key, byte hash ) : ECDSASignature
key this
hash byte
리턴 NBitcoin.Crypto.ECDSASignature

VerifyAllowingOnlyLowS() 공개 정적인 메소드

public static VerifyAllowingOnlyLowS ( this key, byte hash, ECDSASignature sig ) : bool
key this
hash byte
sig NBitcoin.Crypto.ECDSASignature
리턴 bool