Lines Matching refs:X509
1 /* crypto/x509/x509.h */
309 } /* X509 */;
311 DECLARE_STACK_OF(X509)
312 DECLARE_ASN1_SET_OF(X509)
319 int (*check_trust)(struct x509_trust_st *, X509 *, int);
328 X509 *forward;
329 X509 *reverse;
513 X509 *x509;
528 * Pat Richard <patr@x509.com> and are used to manipulate
548 STACK_OF(X509) *certs;
647 int X509_verify(X509 *a, EVP_PKEY *r);
663 int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
664 int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx);
671 int X509_pubkey_digest(const X509 *data,const EVP_MD *type,
673 int X509_digest(const X509 *data,const EVP_MD *type,
684 X509 *d2i_X509_fp(FILE *fp, X509 **x509);
685 int i2d_X509_fp(FILE *fp,X509 *x509);
723 X509 *d2i_X509_bio(BIO *bp,X509 **x509);
724 int i2d_X509_bio(BIO *bp,X509 *x509);
761 X509 *X509_dup(X509 *x509);
789 X509_REQ * X509_to_X509_REQ(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
790 X509 * X509_REQ_to_X509(X509_REQ *r, int days,EVP_PKEY *pkey);
801 STACK_OF(X509) *chain);
839 DECLARE_ASN1_FUNCTIONS(X509)
846 int X509_set_ex_data(X509 *r, int idx, void *arg);
847 void *X509_get_ex_data(X509 *r, int idx);
848 int i2d_X509_AUX(X509 *a,unsigned char **pp);
849 X509 * d2i_X509_AUX(X509 **a,const unsigned char **pp,long length);
851 int X509_alias_set1(X509 *x, unsigned char *name, int len);
852 int X509_keyid_set1(X509 *x, unsigned char *id, int len);
853 unsigned char * X509_alias_get0(X509 *x, int *len);
854 unsigned char * X509_keyid_get0(X509 *x, int *len);
855 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
857 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj);
858 int X509_add1_reject_object(X509 *x, ASN1_OBJECT *obj);
859 void X509_trust_clear(X509 *x);
860 void X509_reject_clear(X509 *x);
869 int X509_CRL_get0_by_cert(X509_CRL *crl, X509_REVOKED **ret, X509 *x);
909 int X509_set_version(X509 *x,long version);
910 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial);
911 ASN1_INTEGER * X509_get_serialNumber(X509 *x);
912 int X509_set_issuer_name(X509 *x, X509_NAME *name);
913 X509_NAME * X509_get_issuer_name(X509 *a);
914 int X509_set_subject_name(X509 *x, X509_NAME *name);
915 X509_NAME * X509_get_subject_name(X509 *a);
916 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm);
917 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm);
918 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey);
919 EVP_PKEY * X509_get_pubkey(X509 *x);
920 ASN1_BIT_STRING * X509_get0_pubkey_bitstr(const X509 *x);
921 int X509_certificate_type(X509 *x,EVP_PKEY *pubkey /* optional */);
961 int X509_REQ_check_private_key(X509_REQ *x509,EVP_PKEY *pkey);
963 int X509_check_private_key(X509 *x509,EVP_PKEY *pkey);
965 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b);
966 unsigned long X509_issuer_and_serial_hash(X509 *a);
968 int X509_issuer_name_cmp(const X509 *a, const X509 *b);
969 unsigned long X509_issuer_name_hash(X509 *a);
971 int X509_subject_name_cmp(const X509 *a, const X509 *b);
972 unsigned long X509_subject_name_hash(X509 *x);
975 unsigned long X509_issuer_name_hash_old(X509 *a);
976 unsigned long X509_subject_name_hash_old(X509 *x);
979 int X509_cmp(const X509 *a, const X509 *b);
987 int X509_print_ex_fp(FILE *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
988 int X509_print_fp(FILE *bp,X509 *x);
997 int X509_print_ex(BIO *bp,X509 *x, unsigned long nmflag, unsigned long cflag);
998 int X509_print(BIO *bp,X509 *x);
999 int X509_ocspid_print(BIO *bp,X509 *x);
1053 int X509_get_ext_count(X509 *x);
1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
1057 X509_EXTENSION *X509_get_ext(X509 *x, int loc);
1058 X509_EXTENSION *X509_delete_ext(X509 *x, int loc);
1059 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc);
1060 void * X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx);
1061 int X509_add1_ext_i2d(X509 *x, int nid, void *value, int crit,
1152 /* lookup a cert from a X509 STACK */
1153 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk,X509_NAME *name,
1155 X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name);
1200 int X509_check_trust(X509 *x, int id, int flags);
1204 int X509_TRUST_add(int id, int flags, int (*ck)(X509_TRUST *, X509 *, int),
1217 /* Error codes for the X509 functions. */