Ntk.Core.KeyPair Reference Manual
Packages
vd
Ntk
Core
KeyPair
pub_key
KeyPair
decrypt
save_pair
save_pub_key
sign
to_string
KeyPair
Object Hierarchy:
Description:
public
class
KeyPair
:
Object
Represents a pair of keys
Namespace:
Ntk.Core
Package:
vd
Content:
Properties:
public
PublicKey
pub_key
{
set
;
get
; }
Creation methods:
public
KeyPair
(
string
? from_file =
null
)
throws
GCryptError
Methods:
public
void
save_pair
(
string
keys_path)
throws
GCryptError
public
void
save_pub_key
(
string
pk_path)
throws
GCryptError
public
uchar
[]
sign
(
uchar
[] msg)
throws
GCryptError
public
uchar
[]
decrypt
(
uchar
[] cypher)
throws
GCryptError
public
string
to_string
()