Lines Matching refs:x

591 # define         X509_get_version(x) ASN1_INTEGER_get((x)->cert_info->version)  argument
593 # define X509_get_notBefore(x) ((x)->cert_info->validity->notBefore) argument
594 # define X509_get_notAfter(x) ((x)->cert_info->validity->notAfter) argument
595 # define X509_extract_key(x) X509_get_pubkey(x)/*****/ argument
596 # define X509_REQ_get_version(x) ASN1_INTEGER_get((x)->req_info->version) argument
597 # define X509_REQ_get_subject_name(x) ((x)->req_info->subject) argument
600 # define X509_get_signature_type(x) EVP_PKEY_type(OBJ_obj2nid((x)->sig_alg->algorithm)) argument
602 # define X509_CRL_get_version(x) ASN1_INTEGER_get((x)->crl->version) argument
603 # define X509_CRL_get_lastUpdate(x) ((x)->crl->lastUpdate) argument
604 # define X509_CRL_get_nextUpdate(x) ((x)->crl->nextUpdate) argument
605 # define X509_CRL_get_issuer(x) ((x)->crl->issuer) argument
606 # define X509_CRL_get_REVOKED(x) ((x)->crl->revoked) argument
626 # define X509_get_X509_PUBKEY(x) ((x)->cert_info->key) argument
638 char *NETSCAPE_SPKI_b64_encode(NETSCAPE_SPKI *x);
639 EVP_PKEY *NETSCAPE_SPKI_get_pubkey(NETSCAPE_SPKI *x);
640 int NETSCAPE_SPKI_set_pubkey(NETSCAPE_SPKI *x, EVP_PKEY *pkey);
647 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
648 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
650 int X509_REQ_sign(X509_REQ *x, EVP_PKEY *pkey, const EVP_MD *md);
651 int X509_REQ_sign_ctx(X509_REQ *x, EVP_MD_CTX *ctx);
652 int X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const EVP_MD *md);
653 int X509_CRL_sign_ctx(X509_CRL *x, EVP_MD_CTX *ctx);
655 int NETSCAPE_SPKI_sign(NETSCAPE_SPKI *x, EVP_PKEY *pkey, const EVP_MD *md);
778 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
787 int X509_PUBKEY_set(X509_PUBKEY **x, EVP_PKEY *pkey);
835 int i2d_re_X509_tbs(X509 *x, unsigned char **pp);
838 const X509 *x);
839 int X509_get_signature_nid(const X509 *x);
841 int X509_alias_set1(X509 *x, unsigned char *name, int len);
842 int X509_keyid_set1(X509 *x, unsigned char *id, int len);
843 unsigned char *X509_alias_get0(X509 *x, int *len);
844 unsigned char *X509_keyid_get0(X509 *x, int *len);
848 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
849 int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj);
850 void X509_trust_clear(X509 *x);
851 void X509_reject_clear(X509 *x);
860 int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
901 int X509_set_version(X509 *x, long version);
902 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
903 ASN1_INTEGER *X509_get_serialNumber(X509 *x);
904 int X509_set_issuer_name(X509 *x, X509_NAME *name);
906 int X509_set_subject_name(X509 *x, X509_NAME *name);
908 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm);
909 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
910 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
911 EVP_PKEY *X509_get_pubkey(X509 *x);
912 ASN1_BIT_STRING *X509_get0_pubkey_bitstr(const X509 *x);
913 int X509_certificate_type(X509 *x, EVP_PKEY *pubkey /* optional */ );
915 int X509_REQ_set_version(X509_REQ *x, long version);
917 int X509_REQ_set_pubkey(X509_REQ *x, EVP_PKEY *pkey);
943 int X509_CRL_set_version(X509_CRL *x, long version);
944 int X509_CRL_set_issuer_name(X509_CRL *x, X509_NAME *name);
945 int X509_CRL_set_lastUpdate(X509_CRL *x, const ASN1_TIME *tm);
946 int X509_CRL_set_nextUpdate(X509_CRL *x, const ASN1_TIME *tm);
949 int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial);
959 X509 *x, STACK_OF(X509) *chain,
971 unsigned long X509_subject_name_hash(X509 *x);
975 unsigned long X509_subject_name_hash_old(X509 *x);
980 unsigned long X509_NAME_hash(X509_NAME *x);
981 unsigned long X509_NAME_hash_old(X509_NAME *x);
986 int X509_print_ex_fp(FILE *bp, X509 *x, unsigned long nmflag,
988 int X509_print_fp(FILE *bp, X509 *x);
989 int X509_CRL_print_fp(FILE *bp, X509_CRL *x);
999 int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflag,
1001 int X509_print(BIO *bp, X509 *x);
1002 int X509_ocspid_print(BIO *bp, X509 *x);
1003 int X509_CERT_AUX_print(BIO *bp, X509_CERT_AUX *x, int indent);
1004 int X509_CRL_print(BIO *bp, X509_CRL *x);
1005 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflag,
1052 int X509v3_get_ext_count(const STACK_OF(X509_EXTENSION) *x);
1053 int X509v3_get_ext_by_NID(const STACK_OF(X509_EXTENSION) *x,
1055 int X509v3_get_ext_by_OBJ(const STACK_OF(X509_EXTENSION) *x,
1057 int X509v3_get_ext_by_critical(const STACK_OF(X509_EXTENSION) *x,
1059 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc);
1060 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc);
1061 STACK_OF(X509_EXTENSION) *X509v3_add_ext(STACK_OF(X509_EXTENSION) **x,
1064 int X509_get_ext_count(X509 *x);
1065 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1066 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos);
1067 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
1068 X509_EXTENSION *X509_get_ext(X509 *x, int loc);
1069 X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
1070 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
1071 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
1072 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
1075 int X509_CRL_get_ext_count(X509_CRL *x);
1076 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos);
1077 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos);
1078 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos);
1079 X509_EXTENSION *X509_CRL_get_ext(X509_CRL *x, int loc);
1080 X509_EXTENSION *X509_CRL_delete_ext(X509_CRL *x, int loc);
1081 int X509_CRL_add_ext(X509_CRL *x, X509_EXTENSION *ex, int loc);
1082 void *X509_CRL_get_ext_d2i(X509_CRL *x, int nid, int *crit, int *idx);
1083 int X509_CRL_add1_ext_i2d(X509_CRL *x, int nid, void *value, int crit,
1086 int X509_REVOKED_get_ext_count(X509_REVOKED *x);
1087 int X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos);
1088 int X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x, ASN1_OBJECT *obj,
1090 int X509_REVOKED_get_ext_by_critical(X509_REVOKED *x, int crit, int lastpos);
1091 X509_EXTENSION *X509_REVOKED_get_ext(X509_REVOKED *x, int loc);
1092 X509_EXTENSION *X509_REVOKED_delete_ext(X509_REVOKED *x, int loc);
1093 int X509_REVOKED_add_ext(X509_REVOKED *x, X509_EXTENSION *ex, int loc);
1094 void *X509_REVOKED_get_ext_d2i(X509_REVOKED *x, int nid, int *crit, int *idx);
1095 int X509_REVOKED_add1_ext_i2d(X509_REVOKED *x, int nid, void *value, int crit,
1111 int X509at_get_attr_count(const STACK_OF(X509_ATTRIBUTE) *x);
1112 int X509at_get_attr_by_NID(const STACK_OF(X509_ATTRIBUTE) *x, int nid,
1116 X509_ATTRIBUTE *X509at_get_attr(const STACK_OF(X509_ATTRIBUTE) *x, int loc);
1117 X509_ATTRIBUTE *X509at_delete_attr(STACK_OF(X509_ATTRIBUTE) *x, int loc);
1118 STACK_OF(X509_ATTRIBUTE) *X509at_add1_attr(STACK_OF(X509_ATTRIBUTE) **x,
1121 **x, const ASN1_OBJECT *obj,
1126 **x, int nid, int type,
1130 **x, const char *attrname,
1134 void *X509at_get0_data_by_OBJ(STACK_OF(X509_ATTRIBUTE) *x, ASN1_OBJECT *obj,
1221 int X509_check_trust(X509 *x, int id, int flags);