PrivateKey
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "struct gnutls_x509_privkey_int" , cprefix = "gnutls_x509_privkey_" , free_function = "gnutls_x509_privkey_deinit" ) ]
public class PrivateKey
Content:
Static methods:
- public static PrivateKey create ()
Methods:
- public int cpy (PrivateKey source)
- public int export (CertificateFormat format, 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_pkcs8 (CertificateFormat format, string password, PKCSEncryptFlags flags, void* output, ref size_t output_size)
- 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 fix ()
- public int generate (PKAlgorithm algo, uint bits, uint flags = 0)
- public int get_key_id (uint flags, uchar* output, ref size_t output_size)
- public int get_pk_algorithm ()
- public int import (ref Datum data, CertificateFormat format)
- public int import_dsa_raw (ref Datum p, ref Datum q, ref Datum g, ref Datum y, ref Datum x)
- public int import_pkcs8 (ref Datum data, CertificateFormat format, string? password, PKCSEncryptFlags flags)
- public int import_rsa_raw (ref Datum m, ref Datum e, ref Datum d, ref Datum p, ref Datum q, ref Datum u)
- public int sign_data (DigestAlgorithm digest, uint flags, ref Datum data, void* signature, ref size_t signature_size)
- public int sign_hash (ref Datum hash, out Datum signature)
- public int verify_data (uint flags, ref Datum data, ref Datum signature)