C# Class NeoGasLibrary.KeyPair

Inheritance: IDisposable
Show file 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 property

public byte[] CompressedPublicKey
return byte[]

PrivateKey public property

public byte[] PrivateKey
return byte[]

PublicKey public property

public byte[] PublicKey
return byte[]

PublicKeyHash public property

public UInt160 PublicKeyHash
return UInt160

address public property

public string address
return string

signatureHash public property

public UInt160 signatureHash
return UInt160

signatureScript public property

public string signatureScript
return string