Functions |
| int R_CDECL | R_CERT_new (R_CERT_CTX *cert_ctx, R_CERT_TYPE type, R_CERT **cert) |
| | Creates a new certificate. More...
|
| int R_CDECL | R_CERT_free (R_CERT *cert) |
| | Removes the certificate cert and frees all allocated memory. More...
|
| int R_CDECL | R_CERT_from_binary (R_CERT_CTX *cert_ctx, R_FLAG_SHARE flag, R_CERT_TYPE type, unsigned int max_buf_len, const unsigned char *buf, unsigned int *consumed_len, R_CERT **cert) |
| | Creates a certificate from the specified binary data in ASN.1 format indicated by data with a length of length. More...
|
| int R_CDECL | R_CERT_to_binary (R_CERT *cert, unsigned int max_buf_len, unsigned char *buf, unsigned int *outlen) |
| | Creates ASN.1 binary certificate data from the specified R_CERT structure. More...
|
| int R_CDECL | R_CERT_inc_reference (R_CERT *cert) |
| | Increments the reference count for the specified certificate structure cert. More...
|
| int R_CDECL | R_CERT_dup (R_CERT *cert, R_FLAG_SHARE flag, R_CERT **dup) |
| | Duplicates the certificate object cert and returns the duplicate in dup. More...
|
| int R_CDECL | R_CERT_get_info (R_CERT *cert, R_CERT_INFO info_id, void *value) |
| | Returns the requested information from the certificate. More...
|
| int R_CDECL | R_CERT_set_info (R_CERT *cert, R_CERT_INFO info_id, void *value) |
| | Sets the information into a certificate. More...
|
| int R_CDECL | R_CERT_public_key_to_R_PKEY (R_CERT *cert, R_FLAG_SHARE flag, R_PKEY **pkey) |
| | Returns the public key for the certificate cert. More...
|
| int R_CDECL | R_CERT_sign (R_CERT *cert, R_PKEY *pkey, int sig_type) |
| | Uses the signature type sig_type to sign the certificate cert. More...
|
| int R_CDECL | R_CERT_verify (R_CERT *cert, R_PKEY *pkey, int *verified) |
| | Verifies the R_CERT certificate cert using the public key pkey. More...
|
| int R_CDECL | R_CERT_compare_cb (R_CERT *cert1, R_CERT *cert2) |
| | Compares two certificates cert1 and cert2. More...
|
| int R_CDECL | R_CERT_is_equal (R_CERT *cert1, R_CERT *cert2) |
| | Compares certificates cert1 and cert2 to establish whether they are binary equivalents. More...
|
| int R_CDECL | R_CERT_is_info_present (R_CERT *cert, R_CERT_INFO info_id) |
| | Checks the specified extension is present in the certificate. More...
|
| int R_CDECL | R_CERT_is_info_critical (R_CERT *cert, R_CERT_INFO info_id) |
| | Checks that the specified extension in a certificate is critical. More...
|
| int R_CDECL | R_CERT_subject_name_compare_cb (R_CERT *cert1, R_CERT *cert2) |
| | Compares the subject name of two certificates cert1 and cert2. More...
|
| int R_CDECL | R_CERT_subject_name_is_equal (R_CERT *cert1, R_CERT *cert2) |
| | Compares the subject names of certificates cert1 and cert2 to establish whether they are binary equivalents. More...
|
| int R_CDECL | R_CERT_subject_name_to_string (R_CERT *cert, unsigned int max_str_len, char *str) |
| | Generates a string version of the subject name from the certificate cert and copies it into the string str. More...
|
| int R_CDECL | R_CERT_issuer_name_to_string (R_CERT *cert, unsigned int max_str_len, char *str) |
| | Generates a string version of the issuer name from the certificate cert and copies it into the string str. More...
|
| int R_CDECL | R_CERT_not_after_to_R_TIME (R_CERT *cert, R_TIME *not_after_time) |
| | Returns a reference to an R_TIME representation of the notAfter field for the certificate cert. More...
|
| int R_CDECL | R_CERT_not_after_from_R_TIME (R_CERT *cert, R_TIME *not_after_time) |
| | Stores the notAfter time into the certificate. More...
|
| int R_CDECL | R_CERT_not_before_to_R_TIME (R_CERT *cert, R_TIME *not_before_time) |
| | Returns a reference to an R_TIME representation of the notBefore field for the certificate cert. More...
|
| int R_CDECL | R_CERT_not_before_from_R_TIME (R_CERT *cert, R_TIME *not_before_time) |
| | Stores the notBefore time into the certificate. More...
|
| int R_CDECL | R_CERT_not_after_to_binary (R_CERT *cert, unsigned int max_buf_len, unsigned char *buf, unsigned int *out_len) |
| | Returns a reference to a binary representation of the notAfter field for the certificate cert. More...
|
| int R_CDECL | R_CERT_not_before_to_binary (R_CERT *cert, unsigned int max_buf_len, unsigned char *buf, unsigned int *out_len) |
| | Returns a reference to a binary representation of the notBefore field for the certificate cert. More...
|
| int R_CDECL | R_CERT_not_after_to_string (R_CERT *cert, unsigned int max_buf_len, char *str) |
| | Returns a string representation of the notAfter field for the certificate cert. More...
|
| int R_CDECL | R_CERT_not_before_to_string (R_CERT *cert, unsigned int max_buf_len, char *str) |
| | Returns a string representation of the notBefore field for the certificate cert. More...
|
| int R_CDECL | R_CERT_read (R_CERT_CTX *cert_ctx, BIO *bio, R_CERT_TYPE type, R_FORMAT format, R_CERT **cert) |
| | Creates a new certificate from the data obtained from the BIO bio. More...
|
| int R_CDECL | R_CERT_read_file (R_CERT_CTX *cert_ctx, char *filename, R_CERT_TYPE type, R_FORMAT format, R_CERT **cert) |
| | Creates a new certificate structure from the file filename. More...
|
| int R_CDECL | R_CERT_write (R_CERT *cert, BIO *bio, R_FORMAT format, void *format_arg) |
| | Outputs the R_CERT structure cert to the BIO bio. More...
|
| int R_CDECL | R_CERT_write_file (R_CERT *cert, char *filename, R_FORMAT format, void *format_arg) |
| | Outputs the R_CERT structure cert to the file filename. More...
|
| int R_CDECL | R_CERT_TYPE_from_string (char *str, R_CERT_TYPE *type) |
| | Returns the certificate type for the string str. More...
|
| int R_CDECL | R_CERT_TYPE_to_string (R_CERT_TYPE type, unsigned int max_str_len, char *str) |
| | Returns the string for the type type. More...
|
| int R_CDECL | R_CERT_fingerprint (R_CERT *cert, int md_type, unsigned int max_buf_len, unsigned char *buf, unsigned int *out_len) |
| | Returns the fingerprint hash of a certificate. More...
|
| int R_CDECL | R_CERT_is_matching_private_key (R_CERT *cert, R_PKEY *pkey) |
| | Checks that the specified private key pkey corresponds to the public key in the certificate cert. More...
|
| int R_CDECL | R_CERT_time_validity (R_CERT *cert, int *validity) |
| | Checks the validity of the specified certificate cert. More...
|
| int R_CDECL | R_CERT_issuer_name_to_R_CERT_NAME (R_CERT *cert, R_FLAG_SHARE flag, R_CERT_NAME **issuer) |
| | Creates an R_CERT_NAME that contains the issuer name for the certificate cert. More...
|
| int R_CDECL | R_CERT_subject_name_to_R_CERT_NAME (R_CERT *cert, R_FLAG_SHARE flag, R_CERT_NAME **subject) |
| | Creates an R_CERT_NAME that contains the subject name subject for the certificate cert. More...
|
| int R_CDECL | R_CERT_check (R_CERT *cert, unsigned int check_flag) |
| | Checks the version of an X.509 certificate when extensions or subject and issuer unique identifiers are present. More...
|