skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 2:... HP Open Source Security for OpenVMS Volume 2:...
go to beginning of appendix: Data Structures and Header Files Data Structures and Header Files
go to previous page: BIO Structure BIO Structure
go to next page: New and Changed SSL APIs in OpenSSL 0.9.7dNew and Changed SSL APIs in OpenSSL 0.9.7d
end of book navigation links

X509 Structure 



The X509 structure is defined in x509.h.
typedef struct x509_st
 
{
	X509_CINF *cert_info;
	X509_ALGOR *sig_alg;
	ASN1_BIT_STRING *signature;
	int valid;
	int references;
	char *name;
	CRYPTO_EX_DATA ex_data;
 
	/* These contain copies of various extension values */
 
	long ex_pathlen;
	unsigned long ex_flags;
	unsigned long ex_kusage;
	unsigned long ex_xkusage;
	unsigned long ex_nscert;
	ASN1_OCTET_STRING *skid;
	struct AUTHORITY_KEYID_st *akid;
 
#ifndef NO_SHA
	unsigned char sha1_hash[SHA_DIGEST_LENGTH];
#endif
 
	X509_CERT_AUX *aux;
 
} X509;

go to previous page: BIO Structure BIO Structure
go to next page: New and Changed SSL APIs in OpenSSL 0.9.7dNew and Changed SSL APIs in OpenSSL 0.9.7d