X.509v3 certificate parsing and processing. More...
#include "asn1.h"
Go to the source code of this file.
Data Structures | |
struct | x509_algorithm_identifier |
struct | x509_name |
struct | x509_certificate |
Defines | |
#define | X509_EXT_BASIC_CONSTRAINTS (1 << 0) |
#define | X509_EXT_PATH_LEN_CONSTRAINT (1 << 1) |
#define | X509_EXT_KEY_USAGE (1 << 2) |
#define | X509_EXT_SUBJECT_ALT_NAME (1 << 3) |
#define | X509_EXT_ISSUER_ALT_NAME (1 << 4) |
#define | X509_KEY_USAGE_DIGITAL_SIGNATURE (1 << 0) |
#define | X509_KEY_USAGE_NON_REPUDIATION (1 << 1) |
#define | X509_KEY_USAGE_KEY_ENCIPHERMENT (1 << 2) |
#define | X509_KEY_USAGE_DATA_ENCIPHERMENT (1 << 3) |
#define | X509_KEY_USAGE_KEY_AGREEMENT (1 << 4) |
#define | X509_KEY_USAGE_KEY_CERT_SIGN (1 << 5) |
#define | X509_KEY_USAGE_CRL_SIGN (1 << 6) |
#define | X509_KEY_USAGE_ENCIPHER_ONLY (1 << 7) |
#define | X509_KEY_USAGE_DECIPHER_ONLY (1 << 8) |
Enumerations | |
enum | { X509_VALIDATE_OK, X509_VALIDATE_BAD_CERTIFICATE, X509_VALIDATE_UNSUPPORTED_CERTIFICATE, X509_VALIDATE_CERTIFICATE_REVOKED, X509_VALIDATE_CERTIFICATE_EXPIRED, X509_VALIDATE_CERTIFICATE_UNKNOWN, X509_VALIDATE_UNKNOWN_CA } |
X.509v3 certificate parsing and processing.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.
Alternatively, this software may be distributed under the terms of BSD license.
See README and COPYING for more details.
Definition in file x509v3.h.