Unit mseopensslx509

Description

 

Overview

Classes, Interfaces, Objects and Records

Name Description
Record X509_NAME_ENTRY  
Record X509_NAME  
Record X509_VAL  
Record X509_CINF  
Record X509  
Record X509_REQ_INFO  
Record X509_REQ  
Record X509_EXTENSION  
Record X509_SIG  
Record X509_STORE  

Functions and Procedures

function X509_get_version(x: pX509): cint;
function X509_get_notBefore(a: pX509): pASN1_TIME;
function X509_get_notAfter(a: pX509): pASN1_TIME;
function X509_REQ_get_version(req: pX509_REQ): cint;
function X509_REQ_get_subject_name(req: pX509_REQ): pX509_NAME;

Types

pEVP_PKEY = SslPtr;
pASN1_OBJECT = SslPtr;
pASN1_STRING = SslPtr;
pASN1_TIME = SslPtr;
pX509_NAME_ENTRY = ˆX509_NAME_ENTRY;
pX509_NAME = ˆX509_NAME;
pDN = ˆX509_NAME;
pX509_VAL = ˆX509_VAL;
pX509_CINF = ˆX509_CINF;
pX509 = ˆX509;
pX509V3_CTX = pointer;
pX509_REQ = ˆX509_REQ;
pX509_REQ_INFO = ˆX509_REQ_INFO;
pX509_EXTENSION = ˆX509_EXTENSION;
pSTACK_OFX509_EXTENSION = pointer;
pX509_CRL = pointer;
pX509_SIG = ˆX509_SIG;
pX509_STORE_CTX = pointer;
TCertificateVerifyFunction = function(ok: cint; ctx: pX509_STORE_CTX): cint; cdecl;
pSTACK_OFX509 = pointer;
pX509_STORE = ˆX509_STORE;
pX509_LOOKUP = pointer;
pSTACK_OF509LOOKUP = pointer;
pX509_LOOKUP_METHOD = pointer;

Constants

X509_V_OK = 0;
X509_V_ILLEGAL = 1;
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT = 2;
X509_V_ERR_UNABLE_TO_GET_CRL = 3;
X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE = 4;
X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE = 5;
X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY = 6;
X509_V_ERR_CERT_SIGNATURE_FAILURE = 7;
X509_V_ERR_CRL_SIGNATURE_FAILURE = 8;
X509_V_ERR_CERT_NOT_YET_VALID = 9;
X509_V_ERR_CERT_HAS_EXPIRED = 10;
X509_V_ERR_CRL_NOT_YET_VALID = 11;
X509_V_ERR_CRL_HAS_EXPIRED = 12;
X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD = 13;
X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD = 14;
X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD = 15;
X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD = 16;
X509_V_ERR_OUT_OF_MEM = 17;
X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT = 18;
X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN = 19;
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 20;
X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE = 21;
X509_V_ERR_CERT_CHAIN_TOO_LONG = 22;
X509_V_ERR_CERT_REVOKED = 23;
X509_V_ERR_INVALID_CA = 24;
X509_V_ERR_PATH_LENGTH_EXCEEDED = 25;
X509_V_ERR_INVALID_PURPOSE = 26;
X509_V_ERR_CERT_UNTRUSTED = 27;
X509_V_ERR_CERT_REJECTED = 28;
X509_V_ERR_SUBJECT_ISSUER_MISMATCH = 29;
X509_V_ERR_AKID_SKID_MISMATCH = 30;
X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH = 31;
X509_V_ERR_KEYUSAGE_NO_CERTSIGN = 32;
X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER = 33;
X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION = 34;
X509_V_ERR_APPLICATION_VERIFICATION = 50;

Variables

X509_new: function(): PX509; cdecl;
X509_free: procedure(x: PX509); cdecl;
X509_NAME_oneline: function(a: PX509_NAME; buf: pchar; size: cint): pchar; cdecl;
X509_Get_Subject_Name: function(a: PX509):PX509_NAME; cdecl;
X509_Get_Issuer_Name: function(a: PX509):PX509_NAME; cdecl;
X509_NAME_hash: function(x: PX509_NAME):longword; cdecl;
X509_digest: function(data: PX509; _type: PEVP_MD; md: pchar; len: pcint):cint; cdecl;
X509_print: function(b: PBIO; a: PX509): cint; cdecl;
X509_set_version: function(x: PX509; version: cint): cint; cdecl;
X509_set_pubkey: function(x: PX509; pkey: pEVP_PKEY): cint; cdecl;
X509_set_issuer_name: function(x: PX509; name: PX509_NAME): cint; cdecl;
X509_NAME_add_entry_by_txt: function(name: PX509_NAME; field: pchar; _type: cint; bytes: pbyte; len, loc, _set: cint): cint; cdecl;
X509_sign: function(x: PX509; pkey: pEVP_PKEY; const md: PEVP_MD): cint; cdecl;
X509_gmtime_adj: function(s: PASN1_UTCTIME; adj: cint): PASN1_UTCTIME; cdecl;
X509_set_NotBefore: function(x: PX509; tm: PASN1_UTCTIME): cint; cdecl;
X509_set_NotAfter: function(x: PX509; tm: PASN1_UTCTIME): cint; cdecl;
X509_get_serialNumber: function(x: PX509): PASN1_INTEGER; cdecl;
X509_NAME_new: function: pX509_NAME; cdecl;
X509_NAME_free: procedure(x:pX509_NAME) cdecl;
X509_NAME_get_entry: function(name: pX509_NAME; loc: cint): pX509_NAME_ENTRY; cdecl;
X509_NAME_get_text_by_NID: function(name: pX509_NAME; nid: cint; buf: PCharacter; len: cint): cint; cdecl;
X509_load_cert_file: function(ctx: pX509_LOOKUP; const filename: PCharacter; _type: cint): cint; cdecl;
X509_get1_email: function(x: pX509): pSTACK; cdecl;
X509_get_pubkey: function(a: pX509): pEVP_PKEY; cdecl;
X509_check_private_key: function(x509: pX509; pkey: pEVP_PKEY): cint; cdecl;
X509_check_purpose: function(x: pX509; id: cint; ca: cint): cint; cdecl;
X509_issuer_and_serial_cmp: function(a: pX509; b: pX509): cint; cdecl;
X509_issuer_and_serial_hash: function(a: pX509): cardinal; cdecl;
X509_verify_cert: function(ctx: pX509_STORE_CTX): cint; cdecl;
X509_verify_cert_error_string: function(n: clong): PCharacter; cdecl;
X509_email_free: procedure(sk: pSTACK); cdecl;
X509_get_ext: function(x: pX509; loc: cint): pX509_EXTENSION; cdecl;
X509_get_ext_by_NID: function(x: pX509; nid, lastpos: cint): cint; cdecl;
X509_get_ext_d2i: function(x: pX509; nid: cint; var crit, idx: cint): pointer; cdecl;
X509V3_EXT_d2i: function(ext: pX509_EXTENSION): pointer; cdecl;
X509V3_EXT_i2d: function(ext_nid: cint; crit: cint; ext_struc: pointer): pX509_EXTENSION; cdecl;
X509V3_EXT_conf_nid: function(conf: pointer; ctx: pointer; ext_nid: cint; value: PCharacter): pX509_EXTENSION; cdecl;
X509_set_subject_name: function(x: pX509; name: pX509_NAME): cint; cdecl;
X509V3_set_ctx: procedure(ctx: pX509V3_CTX; issuer: pX509; subject: pX509; req: pX509_REQ; crl: pX509_CRL; flags: cint);
X509_SIG_free: procedure(a: pX509_SIG); cdecl;
X509_PUBKEY_get: function(key: pointer): pEVP_PKEY; cdecl;
X509_REQ_new: function: pX509_REQ; cdecl;
X509_REQ_free: procedure(req: pX509_REQ); cdecl;
X509_REQ_set_version: function(req: pX509_REQ; version: clong): cint; cdecl;
X509_REQ_set_subject_name: function(req: pX509_REQ; name: pX509_NAME): cint; cdecl;
X509_REQ_add1_attr_by_txt: function(req: pX509_REQ; attrname: PCharacter; asn1_type: cint; bytes: pointer; len: cint): cint; cdecl;
X509_REQ_add_extensions: function(req: pX509_REQ; exts: pSTACK_OFX509_EXTENSION): cint; cdecl;
X509_REQ_set_pubkey: function(req: pX509_REQ; pkey: pEVP_PKEY): cint; cdecl;
X509_REQ_get_pubkey: function(req: pX509_REQ): pEVP_PKEY; cdecl;
X509_REQ_sign: function(req: pX509_REQ; pkey: pEVP_PKEY; const md: pEVP_MD): cint; cdecl;
X509_STORE_new: function: pX509_STORE; cdecl;
X509_STORE_free: procedure(v: pX509_STORE); cdecl;
X509_STORE_add_cert: function(ctx: pX509_STORE; x: pX509): cint; cdecl;
X509_STORE_add_lookup: function(v: pX509_STORE; m: pX509_LOOKUP_METHOD): pX509_LOOKUP; cdecl;
X509_STORE_CTX_new: function: pX509_STORE_CTX; cdecl;
X509_STORE_CTX_free: procedure(ctx: pX509_STORE); cdecl;
X509_STORE_CTX_init: procedure(ctx: pX509_STORE_CTX; store: pX509_STORE; x509: pX509; chain: pSTACK_OFX509); cdecl;
X509_STORE_CTX_get_current_cert: function(ctx: pX509_STORE_CTX): pX509; cdecl;
X509_STORE_CTX_get_error: function(ctx: pX509_STORE_CTX): cint; cdecl;
X509_STORE_CTX_get_error_depth: function(ctx: pX509_STORE_CTX): cint; cdecl;
X509_LOOKUP_new: function(method: pX509_LOOKUP_METHOD): pX509_LOOKUP; cdecl;
X509_LOOKUP_init: function(ctx: pX509_LOOKUP): cint; cdecl;
X509_LOOKUP_free: procedure(ctx: pX509_LOOKUP); cdecl;
X509_LOOKUP_ctrl: function(ctx: pX509_LOOKUP; cmd: cint; const argc: PCharacter; argl: clong; ret: pointer): cint; cdecl;
X509_LOOKUP_file: function: pX509_LOOKUP_METHOD; cdecl;
d2i_X509_REQ_bio: function(bp: pBIO; req: pX509_REQ): pX509_REQ; cdecl;
i2d_X509_REQ_bio: function(bp: pBIO; req: pX509_REQ): cint; cdecl;
d2i_X509_bio: function(bp: pBIO; x509: pX509): pX509; cdecl;

Description

Functions and Procedures

function X509_get_version(x: pX509): cint;
 
function X509_get_notBefore(a: pX509): pASN1_TIME;
 
function X509_get_notAfter(a: pX509): pASN1_TIME;
 
function X509_REQ_get_version(req: pX509_REQ): cint;
 
function X509_REQ_get_subject_name(req: pX509_REQ): pX509_NAME;
 

Types

pEVP_PKEY = SslPtr;
 
pASN1_OBJECT = SslPtr;
 
pASN1_STRING = SslPtr;
 
pASN1_TIME = SslPtr;
 
pX509_NAME_ENTRY = ˆX509_NAME_ENTRY;
 
pX509_NAME = ˆX509_NAME;
 
pDN = ˆX509_NAME;
 
pX509_VAL = ˆX509_VAL;
 
pX509_CINF = ˆX509_CINF;
 
pX509 = ˆX509;
 
pX509V3_CTX = pointer;
 
pX509_REQ = ˆX509_REQ;
 
pX509_REQ_INFO = ˆX509_REQ_INFO;
 
pX509_EXTENSION = ˆX509_EXTENSION;
 
pSTACK_OFX509_EXTENSION = pointer;
 
pX509_CRL = pointer;
 
pX509_SIG = ˆX509_SIG;
 
pX509_STORE_CTX = pointer;
 
TCertificateVerifyFunction = function(ok: cint; ctx: pX509_STORE_CTX): cint; cdecl;
 
pSTACK_OFX509 = pointer;
 
pX509_STORE = ˆX509_STORE;
 
pX509_LOOKUP = pointer;
 
pSTACK_OF509LOOKUP = pointer;
 
pX509_LOOKUP_METHOD = pointer;
 

Constants

X509_V_OK = 0;
 
X509_V_ILLEGAL = 1;
 
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT = 2;
 
X509_V_ERR_UNABLE_TO_GET_CRL = 3;
 
X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE = 4;
 
X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE = 5;
 
X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY = 6;
 
X509_V_ERR_CERT_SIGNATURE_FAILURE = 7;
 
X509_V_ERR_CRL_SIGNATURE_FAILURE = 8;
 
X509_V_ERR_CERT_NOT_YET_VALID = 9;
 
X509_V_ERR_CERT_HAS_EXPIRED = 10;
 
X509_V_ERR_CRL_NOT_YET_VALID = 11;
 
X509_V_ERR_CRL_HAS_EXPIRED = 12;
 
X509_V_ERR_ERROR_IN_CERT_NOT_BEFORE_FIELD = 13;
 
X509_V_ERR_ERROR_IN_CERT_NOT_AFTER_FIELD = 14;
 
X509_V_ERR_ERROR_IN_CRL_LAST_UPDATE_FIELD = 15;
 
X509_V_ERR_ERROR_IN_CRL_NEXT_UPDATE_FIELD = 16;
 
X509_V_ERR_OUT_OF_MEM = 17;
 
X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT = 18;
 
X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN = 19;
 
X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY = 20;
 
X509_V_ERR_UNABLE_TO_VERIFY_LEAF_SIGNATURE = 21;
 
X509_V_ERR_CERT_CHAIN_TOO_LONG = 22;
 
X509_V_ERR_CERT_REVOKED = 23;
 
X509_V_ERR_INVALID_CA = 24;
 
X509_V_ERR_PATH_LENGTH_EXCEEDED = 25;
 
X509_V_ERR_INVALID_PURPOSE = 26;
 
X509_V_ERR_CERT_UNTRUSTED = 27;
 
X509_V_ERR_CERT_REJECTED = 28;
 
X509_V_ERR_SUBJECT_ISSUER_MISMATCH = 29;
 
X509_V_ERR_AKID_SKID_MISMATCH = 30;
 
X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH = 31;
 
X509_V_ERR_KEYUSAGE_NO_CERTSIGN = 32;
 
X509_V_ERR_UNABLE_TO_GET_CRL_ISSUER = 33;
 
X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION = 34;
 
X509_V_ERR_APPLICATION_VERIFICATION = 50;
 

Variables

X509_new: function(): PX509; cdecl;
 
X509_free: procedure(x: PX509); cdecl;
 
X509_NAME_oneline: function(a: PX509_NAME; buf: pchar; size: cint): pchar; cdecl;
 
X509_Get_Subject_Name: function(a: PX509):PX509_NAME; cdecl;
 
X509_Get_Issuer_Name: function(a: PX509):PX509_NAME; cdecl;
 
X509_NAME_hash: function(x: PX509_NAME):longword; cdecl;
 
X509_digest: function(data: PX509; _type: PEVP_MD; md: pchar; len: pcint):cint; cdecl;
 
X509_print: function(b: PBIO; a: PX509): cint; cdecl;
 
X509_set_version: function(x: PX509; version: cint): cint; cdecl;
 
X509_set_pubkey: function(x: PX509; pkey: pEVP_PKEY): cint; cdecl;
 
X509_set_issuer_name: function(x: PX509; name: PX509_NAME): cint; cdecl;
 
X509_NAME_add_entry_by_txt: function(name: PX509_NAME; field: pchar; _type: cint; bytes: pbyte; len, loc, _set: cint): cint; cdecl;
 
X509_sign: function(x: PX509; pkey: pEVP_PKEY; const md: PEVP_MD): cint; cdecl;
 
X509_gmtime_adj: function(s: PASN1_UTCTIME; adj: cint): PASN1_UTCTIME; cdecl;
 
X509_set_NotBefore: function(x: PX509; tm: PASN1_UTCTIME): cint; cdecl;
 
X509_set_NotAfter: function(x: PX509; tm: PASN1_UTCTIME): cint; cdecl;
 
X509_get_serialNumber: function(x: PX509): PASN1_INTEGER; cdecl;
 
X509_NAME_new: function: pX509_NAME; cdecl;
 
X509_NAME_free: procedure(x:pX509_NAME) cdecl;
 
X509_NAME_get_entry: function(name: pX509_NAME; loc: cint): pX509_NAME_ENTRY; cdecl;
 
X509_NAME_get_text_by_NID: function(name: pX509_NAME; nid: cint; buf: PCharacter; len: cint): cint; cdecl;
 
X509_load_cert_file: function(ctx: pX509_LOOKUP; const filename: PCharacter; _type: cint): cint; cdecl;
 
X509_get1_email: function(x: pX509): pSTACK; cdecl;
 
X509_get_pubkey: function(a: pX509): pEVP_PKEY; cdecl;
 
X509_check_private_key: function(x509: pX509; pkey: pEVP_PKEY): cint; cdecl;
 
X509_check_purpose: function(x: pX509; id: cint; ca: cint): cint; cdecl;
 
X509_issuer_and_serial_cmp: function(a: pX509; b: pX509): cint; cdecl;
 
X509_issuer_and_serial_hash: function(a: pX509): cardinal; cdecl;
 
X509_verify_cert: function(ctx: pX509_STORE_CTX): cint; cdecl;
 
X509_verify_cert_error_string: function(n: clong): PCharacter; cdecl;
 
X509_email_free: procedure(sk: pSTACK); cdecl;
 
X509_get_ext: function(x: pX509; loc: cint): pX509_EXTENSION; cdecl;
 
X509_get_ext_by_NID: function(x: pX509; nid, lastpos: cint): cint; cdecl;
 
X509_get_ext_d2i: function(x: pX509; nid: cint; var crit, idx: cint): pointer; cdecl;
 
X509V3_EXT_d2i: function(ext: pX509_EXTENSION): pointer; cdecl;
 
X509V3_EXT_i2d: function(ext_nid: cint; crit: cint; ext_struc: pointer): pX509_EXTENSION; cdecl;
 
X509V3_EXT_conf_nid: function(conf: pointer; ctx: pointer; ext_nid: cint; value: PCharacter): pX509_EXTENSION; cdecl;
 
X509_set_subject_name: function(x: pX509; name: pX509_NAME): cint; cdecl;
 
X509V3_set_ctx: procedure(ctx: pX509V3_CTX; issuer: pX509; subject: pX509; req: pX509_REQ; crl: pX509_CRL; flags: cint);
 
X509_SIG_free: procedure(a: pX509_SIG); cdecl;
 
X509_PUBKEY_get: function(key: pointer): pEVP_PKEY; cdecl;
 
X509_REQ_new: function: pX509_REQ; cdecl;
 
X509_REQ_free: procedure(req: pX509_REQ); cdecl;
 
X509_REQ_set_version: function(req: pX509_REQ; version: clong): cint; cdecl;
 
X509_REQ_set_subject_name: function(req: pX509_REQ; name: pX509_NAME): cint; cdecl;
 
X509_REQ_add1_attr_by_txt: function(req: pX509_REQ; attrname: PCharacter; asn1_type: cint; bytes: pointer; len: cint): cint; cdecl;
 
X509_REQ_add_extensions: function(req: pX509_REQ; exts: pSTACK_OFX509_EXTENSION): cint; cdecl;
 
X509_REQ_set_pubkey: function(req: pX509_REQ; pkey: pEVP_PKEY): cint; cdecl;
 
X509_REQ_get_pubkey: function(req: pX509_REQ): pEVP_PKEY; cdecl;
 
X509_REQ_sign: function(req: pX509_REQ; pkey: pEVP_PKEY; const md: pEVP_MD): cint; cdecl;
 
X509_STORE_new: function: pX509_STORE; cdecl;
 
X509_STORE_free: procedure(v: pX509_STORE); cdecl;
 
X509_STORE_add_cert: function(ctx: pX509_STORE; x: pX509): cint; cdecl;
 
X509_STORE_add_lookup: function(v: pX509_STORE; m: pX509_LOOKUP_METHOD): pX509_LOOKUP; cdecl;
 
X509_STORE_CTX_new: function: pX509_STORE_CTX; cdecl;
 
X509_STORE_CTX_free: procedure(ctx: pX509_STORE); cdecl;
 
X509_STORE_CTX_init: procedure(ctx: pX509_STORE_CTX; store: pX509_STORE; x509: pX509; chain: pSTACK_OFX509); cdecl;
 
X509_STORE_CTX_get_current_cert: function(ctx: pX509_STORE_CTX): pX509; cdecl;
 
X509_STORE_CTX_get_error: function(ctx: pX509_STORE_CTX): cint; cdecl;
 
X509_STORE_CTX_get_error_depth: function(ctx: pX509_STORE_CTX): cint; cdecl;
 
X509_LOOKUP_new: function(method: pX509_LOOKUP_METHOD): pX509_LOOKUP; cdecl;
 
X509_LOOKUP_init: function(ctx: pX509_LOOKUP): cint; cdecl;
 
X509_LOOKUP_free: procedure(ctx: pX509_LOOKUP); cdecl;
 
X509_LOOKUP_ctrl: function(ctx: pX509_LOOKUP; cmd: cint; const argc: PCharacter; argl: clong; ret: pointer): cint; cdecl;
 
X509_LOOKUP_file: function: pX509_LOOKUP_METHOD; cdecl;
 
d2i_X509_REQ_bio: function(bp: pBIO; req: pX509_REQ): pX509_REQ; cdecl;
 
i2d_X509_REQ_bio: function(bp: pBIO; req: pX509_REQ): cint; cdecl;
 
d2i_X509_bio: function(bp: pBIO; x509: pX509): pX509; cdecl;
 

Generated by PasDoc 0.16.0.