PrivateKey
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct gnutls_openpgp_privkey_int" , cprefix = "gnutls_openpgp_privkey_" , free_function = "gnutls_openpgp_privkey_deinit" ) ]
public class PrivateKey
Content:
Static methods:
- public static PrivateKey create ()
Methods:
- public int export (CertificateFormat format, string password, uint flags, void* output, ref size_t output_size)
- public int export_dsa_raw (out Datum p, out Datum q, out Datum g, out Datum y, out Datum x)
- public int export_rsa_raw (out Datum m, out Datum e, out Datum d, out Datum p, out Datum q, out Datum u)
- public int export_subkey_dsa_raw (uint idx, out Datum p, out Datum q, out Datum g, out Datum y, out Datum x)
- public int export_subkey_rsa_raw (uint idx, out Datum m, out Datum e, out Datum d, out Datum p, out Datum q, out Datum u)
- public int get_auth_subkey (uchar* keyid, uint flag)
- public int get_fingerprint (void* fpr, ref size_t fpr_size)
- public int get_key_id (uchar* keyid)
- public PKAlgorithm get_pk_algorithm (out uint bits)
- public int get_preferred_key_id (uchar* keyid)
- public int get_revoked_status ()
- public int get_subkey_count ()
- public time_t get_subkey_creation_time (uint idx)
- public time_t get_subkey_expiration_time (uint idx)
- public int get_subkey_fingerprint (uint idx, void* fpr, ref size_t fpr_size)
- public int get_subkey_id (uint idx, uchar* keyid)
- public int get_subkey_idx (uchar* keyid)
- public PKAlgorithm get_subkey_pk_algorithm (uint idx, out uint bits)
- public int get_subkey_revoked_status (uint index)
- public int import (ref Datum data, CertificateFormat format, string pass, uint flags)
- public int set_preferred_key_id (uchar* keyid)
- public int sign_hash (ref Datum hash, out Datum signature)