Certificate
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct gnutls_openpgp_crt_int" , cprefix = "gnutls_openpgp_crt_" , free_function = "gnutls_openpgp_crt_deinit" ) ]
public class Certificate
[ CCode ( cname = "struct gnutls_openpgp_crt_int" , cprefix = "gnutls_openpgp_crt_" , free_function = "gnutls_openpgp_crt_deinit" ) ]
public class Certificate
Namespace: GnuTLS.OpenPGP
Package: gnutls
Content:
Static methods:
- public static Certificate create ()
Methods:
- public int check_hostname (string hostname)
- public int export (CertificateFormat format, void* output, ref size_t output_size)
- public time_t get_creation_time ()
- public time_t get_expiration_time ()
- public int get_fingerprint (void* fpr, ref size_t fpr_size)
- public int get_key_id (uchar* keyid)
- public int get_key_usage (out KeyUsage key_usage)
- public int get_name (int index, char* buf, ref size_t buf_size)
- public PKAlgorithm get_pk_algorithm (out uint bits)
- public int get_pk_dsa_raw (out Datum p, out Datum q, out Datum g, out Datum y)
- public int get_pk_rsa_raw (out Datum m, out Datum e)
- 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 index, 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_pk_dsa_raw (uint index, out Datum p, out Datum q, out Datum g, out Datum y)
- public int get_subkey_pk_rsa_raw (uint index, out Datum m, out Datum e)
- public int get_subkey_revoked_status (uint idx)
- public int get_subkey_usage (uint idx, out KeyUsage key_usage)
- public int get_version ()
- public int import (ref Datum data, CertificateFormat format)
- public int print (CertificatePrintFormats format, out Datum output)
- public int set_preferred_key_id (uchar* keyid)
- public int verify_ring (Keyring keyring, uint flags, out CertificateStatus verify)
- public int verify_self (uint flags, out CertificateStatus verify)