Lines Matching refs:X509

55     .generate_stack_macros("X509")
221 X509 *x509;
250 STACK_OF(X509) *certs;
333 int X509_verify(X509 *a, EVP_PKEY *r);
334 int X509_self_signed(X509 *cert, int verify_signature);
353 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
354 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
361 int X509_pubkey_digest(const X509 *data, const EVP_MD *type,
363 int X509_digest(const X509 *data, const EVP_MD *type,
365 ASN1_OCTET_STRING *X509_digest_sig(const X509 *cert,
374 X509 *X509_load_http(const char *url, BIO *bio, BIO *rbio, int timeout);
379 OSSL_HTTP_REQ_CTX_nbio_d2i(rctx, pcert, ASN1_ITEM_rptr(X509))
385 X509 *d2i_X509_fp(FILE *fp, X509 **x509);
386 int i2d_X509_fp(FILE *fp, const X509 *x509);
433 X509 *d2i_X509_bio(BIO *bp, X509 **x509);
434 int i2d_X509_bio(BIO *bp, const X509 *x509);
482 DECLARE_ASN1_DUP_FUNCTION(X509)
517 X509_REQ *X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
518 X509 *X509_REQ_to_X509(X509_REQ *r, int days, EVP_PKEY *pkey);
530 int X509_get_pubkey_parameters(EVP_PKEY *pkey, STACK_OF(X509) *chain);
531 long X509_get_pathlen(X509 *x);
572 DECLARE_ASN1_FUNCTIONS(X509)
573 X509 *X509_new_ex(OSSL_LIB_CTX *libctx, const char *propq);
578 int X509_set_ex_data(X509 *r, int idx, void *arg);
579 void *X509_get_ex_data(const X509 *r, int idx);
580 DECLARE_ASN1_ENCODE_FUNCTIONS_only(X509,X509_AUX)
582 int i2d_re_X509_tbs(X509 *x, unsigned char **pp);
589 int X509_get_signature_info(X509 *x, int *mdnid, int *pknid, int *secbits,
593 const X509_ALGOR **palg, const X509 *x);
594 int X509_get_signature_nid(const X509 *x);
596 void X509_set0_distinguishing_id(X509 *x, ASN1_OCTET_STRING *d_id);
597 ASN1_OCTET_STRING *X509_get0_distinguishing_id(X509 *x);
601 int X509_alias_set1(X509 *x, const unsigned char *name, int len);
602 int X509_keyid_set1(X509 *x, const unsigned char *id, int len);
603 unsigned char *X509_alias_get0(X509 *x, int *len);
604 unsigned char *X509_keyid_get0(X509 *x, int *len);
614 int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
658 long X509_get_version(const X509 *x);
659 int X509_set_version(X509 *x, long version);
660 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
661 ASN1_INTEGER *X509_get_serialNumber(X509 *x);
662 const ASN1_INTEGER *X509_get0_serialNumber(const X509 *x);
663 int X509_set_issuer_name(X509 *x, const X509_NAME *name);
664 X509_NAME *X509_get_issuer_name(const X509 *a);
665 int X509_set_subject_name(X509 *x, const X509_NAME *name);
666 X509_NAME *X509_get_subject_name(const X509 *a);
667 const ASN1_TIME * X509_get0_notBefore(const X509 *x);
668 ASN1_TIME *X509_getm_notBefore(const X509 *x);
669 int X509_set1_notBefore(X509 *x, const ASN1_TIME *tm);
670 const ASN1_TIME *X509_get0_notAfter(const X509 *x);
671 ASN1_TIME *X509_getm_notAfter(const X509 *x);
672 int X509_set1_notAfter(X509 *x, const ASN1_TIME *tm);
673 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
674 int X509_up_ref(X509 *x);
675 int X509_get_signature_type(const X509 *x);
689 X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x);
690 const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);
691 void X509_get0_uids(const X509 *x, const ASN1_BIT_STRING **piuid,
693 const X509_ALGOR *X509_get0_tbs_sigalg(const X509 *x);
695 EVP_PKEY *X509_get0_pubkey(const X509 *x);
696 EVP_PKEY *X509_get_pubkey(X509 *x);
697 ASN1_BIT_STRING *X509_get0_pubkey_bitstr(const X509 *x);
781 int X509_check_private_key(const X509 *cert, const EVP_PKEY *pkey);
783 X509 *x, STACK_OF(X509) *chain,
786 void OSSL_STACK_OF_X509_free(STACK_OF(X509) *certs);
787 STACK_OF(X509) *X509_chain_up_ref(STACK_OF(X509) *chain);
789 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
790 unsigned long X509_issuer_and_serial_hash(X509 *a);
792 int X509_issuer_name_cmp(const X509 *a, const X509 *b);
793 unsigned long X509_issuer_name_hash(X509 *a);
795 int X509_subject_name_cmp(const X509 *a, const X509 *b);
796 unsigned long X509_subject_name_hash(X509 *x);
799 unsigned long X509_issuer_name_hash_old(X509 *a);
800 unsigned long X509_subject_name_hash_old(X509 *x);
808 int X509_add_cert(STACK_OF(X509) *sk, X509 *cert, int flags);
809 int X509_add_certs(STACK_OF(X509) *sk, STACK_OF(X509) *certs, int flags);
811 int X509_cmp(const X509 *a, const X509 *b);
815 OSSL_DEPRECATEDIN_3_0 int X509_certificate_type(const X509 *x,
824 int X509_aux_print(BIO *out, X509 *x, int indent);
826 int X509_print_ex_fp(FILE *bp, X509 *x, unsigned long nmflag,
828 int X509_print_fp(FILE *bp, X509 *x);
838 int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflag,
840 int X509_print(BIO *bp, X509 *x);
841 int X509_ocspid_print(BIO *bp, X509 *x);
911 int X509_get_ext_count(const X509 *x);
912 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos);
913 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos);
914 int X509_get_ext_by_critical(const X509 *x, int crit, int lastpos);
915 X509_EXTENSION *X509_get_ext(const X509 *x, int loc);
916 X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
917 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
918 void *X509_get_ext_d2i(const X509 *x, int nid, int *crit, int *idx);
919 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
1023 /* lookup a cert from a X509 STACK */
1024 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, const X509_NAME *name,
1026 X509 *X509_find_by_subject(STACK_OF(X509) *sk, const X509_NAME *name);