Ntk.Core.PublicKey Reference Manual
Packages
vd
Ntk
Core
PublicKey
PublicKey
deserialize_from_variant
encrypt
save_pub_key
serialize_to_variant
to_string
verify
PublicKey
Object Hierarchy:
Description:
public
class
PublicKey
:
Object
,
ISerializable
A PGP public key
Namespace:
Ntk.Core
Package:
vd
Content:
Creation methods:
public
PublicKey
(
uint8
[]? from_pem,
string
? from_file =
null
)
throws
GCryptError
Methods:
public
void
save_pub_key
(
string
pk_path)
throws
GCryptError
public
bool
verify
(
uchar
[] msg,
uchar
[] signature)
throws
GCryptError
public
uchar
[]
encrypt
(
uchar
[] message)
throws
GCryptError
public
Variant
serialize_to_variant
()
public
void
deserialize_from_variant
(
Variant
v)
throws
SerializerError
public
string
to_string
()