x509

Name

x509 -- 

Synopsis



#define     OID_SHA1
#define     OID_MD5
#define     MAX_PRIV_PARAMS_SIZE
#define     DSA_PRIVATE_PARAMS
#define     DSA_PUBLIC_PARAMS
#define     RSA_PRIVATE_PARAMS
#define     RSA_PUBLIC_PARAMS
int         gnutls_x509_crt_get_issuer_dn_by_oid
                                            (gnutls_x509_crt_t cert,
                                             const char *oid,
                                             int indx,
                                             unsigned int raw_flag,
                                             void *buf,
                                             size_t *sizeof_buf);
int         gnutls_x509_crt_get_subject_alt_name
                                            (gnutls_x509_crt_t cert,
                                             unsigned int seq,
                                             void *ret,
                                             size_t *ret_size,
                                             unsigned int *critical);
int         gnutls_x509_crt_get_dn_by_oid   (gnutls_x509_crt_t cert,
                                             const char *oid,
                                             int indx,
                                             unsigned int raw_flag,
                                             void *buf,
                                             size_t *sizeof_buf);
int         gnutls_x509_crt_get_ca_status   (gnutls_x509_crt_t cert,
                                             unsigned int *critical);
int         gnutls_x509_crt_get_pk_algorithm
                                            (gnutls_x509_crt_t cert,
                                             unsigned int *bits);
int         gnutls_x509_crt_get_serial      (gnutls_x509_crt_t cert,
                                             void *result,
                                             size_t *result_size);
int         gnutls_x509_crt_check_revocation
                                            (gnutls_x509_crt_t cert,
                                             const gnutls_x509_crl_t *crl_list,
                                             int crl_list_length);
int         gnutls_x509_crl_get_crt_count   (gnutls_x509_crl_t crl);
int         gnutls_x509_crl_get_crt_serial  (gnutls_x509_crl_t crl,
                                             int index,
                                             unsigned char *serial,
                                             size_t *serial_size,
                                             time_t *time);
void        gnutls_x509_crl_deinit          (gnutls_x509_crl_t crl);
int         gnutls_x509_crl_init            (gnutls_x509_crl_t *crl);
int         gnutls_x509_crl_import          (gnutls_x509_crl_t crl,
                                             const gnutls_datum_t *data,
                                             gnutls_x509_crt_fmt_t format);
int         gnutls_x509_crl_export          (gnutls_x509_crl_t crl,
                                             gnutls_x509_crt_fmt_t format,
                                             void *output_data,
                                             size_t *output_data_size);
int         gnutls_x509_crt_init            (gnutls_x509_crt_t *cert);
void        gnutls_x509_crt_deinit          (gnutls_x509_crt_t cert);
int         gnutls_x509_crt_import          (gnutls_x509_crt_t cert,
                                             const gnutls_datum_t *data,
                                             gnutls_x509_crt_fmt_t format);
int         gnutls_x509_crt_export          (gnutls_x509_crt_t cert,
                                             gnutls_x509_crt_fmt_t format,
                                             void *output_data,
                                             size_t *output_data_size);
int         gnutls_x509_crt_get_key_usage   (gnutls_x509_crt_t cert,
                                             unsigned int *key_usage,
                                             unsigned int *critical);
int         gnutls_x509_crt_get_version     (gnutls_x509_crt_t cert);
int         gnutls_x509_privkey_init        (gnutls_x509_privkey_t *key);
void        gnutls_x509_privkey_deinit      (gnutls_x509_privkey_t key);
int         gnutls_x509_privkey_generate    (gnutls_x509_privkey_t key,
                                             gnutls_pk_algorithm_t algo,
                                             unsigned int bits,
                                             unsigned int flags);
int         gnutls_x509_privkey_import      (gnutls_x509_privkey_t key,
                                             const gnutls_datum_t *data,
                                             gnutls_x509_crt_fmt_t format);
int         gnutls_x509_privkey_get_pk_algorithm
                                            (gnutls_x509_privkey_t key);
int         gnutls_x509_privkey_import_rsa_raw
                                            (gnutls_x509_privkey_t privkey,
                                             const gnutls_datum_t *m,
                                             const gnutls_datum_t *e,
                                             const gnutls_datum_t *d,
                                             const gnutls_datum_t *p,
                                             const gnutls_datum_t *q,
                                             const gnutls_datum_t *u);
int         gnutls_x509_privkey_export_rsa_raw
                                            (gnutls_x509_privkey_t key,
                                             gnutls_datum_t *m,
                                             gnutls_datum_t *e,
                                             gnutls_datum_t *d,
                                             gnutls_datum_t *p,
                                             gnutls_datum_t *q,
                                             gnutls_datum_t *u);
int         gnutls_x509_privkey_export      (gnutls_x509_privkey_t key,
                                             gnutls_x509_crt_fmt_t format,
                                             void *output_data,
                                             size_t *output_data_size);
#define     GNUTLS_CRL_REASON_UNUSED
#define     GNUTLS_CRL_REASON_KEY_COMPROMISE
#define     GNUTLS_CRL_REASON_CA_COMPROMISE
#define     GNUTLS_CRL_REASON_AFFILIATION_CHANGED
#define     GNUTLS_CRL_REASON_SUPERSEEDED
#define     GNUTLS_CRL_REASON_CESSATION_OF_OPERATION
#define     GNUTLS_CRL_REASON_CERTIFICATE_HOLD
#define     GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN
#define     GNUTLS_CRL_REASON_AA_COMPROMISE

Description

A longer description goes here.

Details

OID_SHA1

#define     OID_SHA1

OID_MD5

#define     OID_MD5

MAX_PRIV_PARAMS_SIZE

#define     MAX_PRIV_PARAMS_SIZE

DSA_PRIVATE_PARAMS

#define     DSA_PRIVATE_PARAMS

DSA_PUBLIC_PARAMS

#define     DSA_PUBLIC_PARAMS

RSA_PRIVATE_PARAMS

#define     RSA_PRIVATE_PARAMS

RSA_PUBLIC_PARAMS

#define     RSA_PUBLIC_PARAMS

gnutls_x509_crt_get_issuer_dn_by_oid ()

int         gnutls_x509_crt_get_issuer_dn_by_oid
                                            (gnutls_x509_crt_t cert,
                                             const char *oid,
                                             int indx,
                                             unsigned int raw_flag,
                                             void *buf,
                                             size_t *sizeof_buf);

gnutls_x509_crt_get_subject_alt_name ()

int         gnutls_x509_crt_get_subject_alt_name
                                            (gnutls_x509_crt_t cert,
                                             unsigned int seq,
                                             void *ret,
                                             size_t *ret_size,
                                             unsigned int *critical);

gnutls_x509_crt_get_dn_by_oid ()

int         gnutls_x509_crt_get_dn_by_oid   (gnutls_x509_crt_t cert,
                                             const char *oid,
                                             int indx,
                                             unsigned int raw_flag,
                                             void *buf,
                                             size_t *sizeof_buf);

gnutls_x509_crt_get_ca_status ()

int         gnutls_x509_crt_get_ca_status   (gnutls_x509_crt_t cert,
                                             unsigned int *critical);

gnutls_x509_crt_get_pk_algorithm ()

int         gnutls_x509_crt_get_pk_algorithm
                                            (gnutls_x509_crt_t cert,
                                             unsigned int *bits);

gnutls_x509_crt_get_serial ()

int         gnutls_x509_crt_get_serial      (gnutls_x509_crt_t cert,
                                             void *result,
                                             size_t *result_size);

gnutls_x509_crt_check_revocation ()

int         gnutls_x509_crt_check_revocation
                                            (gnutls_x509_crt_t cert,
                                             const gnutls_x509_crl_t *crl_list,
                                             int crl_list_length);

gnutls_x509_crl_get_crt_count ()

int         gnutls_x509_crl_get_crt_count   (gnutls_x509_crl_t crl);

gnutls_x509_crl_get_crt_serial ()

int         gnutls_x509_crl_get_crt_serial  (gnutls_x509_crl_t crl,
                                             int index,
                                             unsigned char *serial,
                                             size_t *serial_size,
                                             time_t *time);

gnutls_x509_crl_deinit ()

void        gnutls_x509_crl_deinit          (gnutls_x509_crl_t crl);

gnutls_x509_crl_init ()

int         gnutls_x509_crl_init            (gnutls_x509_crl_t *crl);

gnutls_x509_crl_import ()

int         gnutls_x509_crl_import          (gnutls_x509_crl_t crl,
                                             const gnutls_datum_t *data,
                                             gnutls_x509_crt_fmt_t format);

gnutls_x509_crl_export ()

int         gnutls_x509_crl_export          (gnutls_x509_crl_t crl,
                                             gnutls_x509_crt_fmt_t format,
                                             void *output_data,
                                             size_t *output_data_size);

gnutls_x509_crt_init ()

int         gnutls_x509_crt_init            (gnutls_x509_crt_t *cert);

gnutls_x509_crt_deinit ()

void        gnutls_x509_crt_deinit          (gnutls_x509_crt_t cert);

gnutls_x509_crt_import ()

int         gnutls_x509_crt_import          (gnutls_x509_crt_t cert,
                                             const gnutls_datum_t *data,
                                             gnutls_x509_crt_fmt_t format);

gnutls_x509_crt_export ()

int         gnutls_x509_crt_export          (gnutls_x509_crt_t cert,
                                             gnutls_x509_crt_fmt_t format,
                                             void *output_data,
                                             size_t *output_data_size);

gnutls_x509_crt_get_key_usage ()

int         gnutls_x509_crt_get_key_usage   (gnutls_x509_crt_t cert,
                                             unsigned int *key_usage,
                                             unsigned int *critical);

gnutls_x509_crt_get_version ()

int         gnutls_x509_crt_get_version     (gnutls_x509_crt_t cert);

gnutls_x509_privkey_init ()

int         gnutls_x509_privkey_init        (gnutls_x509_privkey_t *key);

gnutls_x509_privkey_deinit ()

void        gnutls_x509_privkey_deinit      (gnutls_x509_privkey_t key);

gnutls_x509_privkey_generate ()

int         gnutls_x509_privkey_generate    (gnutls_x509_privkey_t key,
                                             gnutls_pk_algorithm_t algo,
                                             unsigned int bits,
                                             unsigned int flags);

gnutls_x509_privkey_import ()

int         gnutls_x509_privkey_import      (gnutls_x509_privkey_t key,
                                             const gnutls_datum_t *data,
                                             gnutls_x509_crt_fmt_t format);

gnutls_x509_privkey_get_pk_algorithm ()

int         gnutls_x509_privkey_get_pk_algorithm
                                            (gnutls_x509_privkey_t key);

gnutls_x509_privkey_import_rsa_raw ()

int         gnutls_x509_privkey_import_rsa_raw
                                            (gnutls_x509_privkey_t privkey,
                                             const gnutls_datum_t *m,
                                             const gnutls_datum_t *e,
                                             const gnutls_datum_t *d,
                                             const gnutls_datum_t *p,
                                             const gnutls_datum_t *q,
                                             const gnutls_datum_t *u);

gnutls_x509_privkey_export_rsa_raw ()

int         gnutls_x509_privkey_export_rsa_raw
                                            (gnutls_x509_privkey_t key,
                                             gnutls_datum_t *m,
                                             gnutls_datum_t *e,
                                             gnutls_datum_t *d,
                                             gnutls_datum_t *p,
                                             gnutls_datum_t *q,
                                             gnutls_datum_t *u);

gnutls_x509_privkey_export ()

int         gnutls_x509_privkey_export      (gnutls_x509_privkey_t key,
                                             gnutls_x509_crt_fmt_t format,
                                             void *output_data,
                                             size_t *output_data_size);

GNUTLS_CRL_REASON_UNUSED

#define     GNUTLS_CRL_REASON_UNUSED

GNUTLS_CRL_REASON_KEY_COMPROMISE

#define     GNUTLS_CRL_REASON_KEY_COMPROMISE

GNUTLS_CRL_REASON_CA_COMPROMISE

#define     GNUTLS_CRL_REASON_CA_COMPROMISE

GNUTLS_CRL_REASON_AFFILIATION_CHANGED

#define     GNUTLS_CRL_REASON_AFFILIATION_CHANGED

GNUTLS_CRL_REASON_SUPERSEEDED

#define     GNUTLS_CRL_REASON_SUPERSEEDED

GNUTLS_CRL_REASON_CESSATION_OF_OPERATION

#define     GNUTLS_CRL_REASON_CESSATION_OF_OPERATION

GNUTLS_CRL_REASON_CERTIFICATE_HOLD

#define     GNUTLS_CRL_REASON_CERTIFICATE_HOLD

GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN

#define     GNUTLS_CRL_REASON_PRIVILEGE_WITHDRAWN

GNUTLS_CRL_REASON_AA_COMPROMISE

#define     GNUTLS_CRL_REASON_AA_COMPROMISE