C# Class NeoGasLibrary.KeyPair

Inheritance: IDisposable
Exibir arquivo Open project: cybergibbons/bitfi_09072019 Class Usage Examples

Public Properties

Property Type Description
CompressedPublicKey byte[]
PrivateKey byte[]
PublicKey byte[]
PublicKeyHash UInt160
address string
signatureHash UInt160
signatureScript string

Public Methods

Method Description
CreateSignatureScript ( Array bytes ) : string
Dispose ( ) : void
KeyPair ( Array privateKey ) : NeoGasLibrary.Cryptography

Private Methods

Method Description
GetWIF ( ) : string
XOR ( Array x, Array y ) : byte[]

Method Details

CreateSignatureScript() public static method

public static CreateSignatureScript ( Array bytes ) : string
bytes Array
return string

Dispose() public method

public Dispose ( ) : void
return void

KeyPair() public method

public KeyPair ( Array privateKey ) : NeoGasLibrary.Cryptography
privateKey Array
return NeoGasLibrary.Cryptography

Property Details

CompressedPublicKey public_oe property

public byte[] CompressedPublicKey
return byte[]

PrivateKey public_oe property

public byte[] PrivateKey
return byte[]

PublicKey public_oe property

public byte[] PublicKey
return byte[]

PublicKeyHash public_oe property

public UInt160 PublicKeyHash
return UInt160

address public_oe property

public string address
return string

signatureHash public_oe property

public UInt160 signatureHash
return UInt160

signatureScript public_oe property

public string signatureScript
return string