Home | History | Annotate | Download | only in x509

Lines Matching refs:X509

1 /* crypto/x509/x509_cmp.c */
64 #include <openssl/x509.h>
67 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b)
80 unsigned long X509_issuer_and_serial_hash(X509 *a)
109 int X509_issuer_name_cmp(const X509 *a, const X509 *b)
114 int X509_subject_name_cmp(const X509 *a, const X509 *b)
131 X509_NAME *X509_get_issuer_name(X509 *a)
136 unsigned long X509_issuer_name_hash(X509 *x)
142 unsigned long X509_issuer_name_hash_old(X509 *x)
148 X509_NAME *X509_get_subject_name(X509 *a)
153 ASN1_INTEGER *X509_get_serialNumber(X509 *a)
158 unsigned long X509_subject_name_hash(X509 *x)
164 unsigned long X509_subject_name_hash_old(X509 *x)
174 * STACKs), the way X509 handling is - these operations may
180 int X509_cmp(const X509 *a, const X509 *b)
183 X509_check_purpose((X509 *)a, -1, 0);
184 X509_check_purpose((X509 *)b, -1, 0);
264 /* Search a stack of X509 for a match */
265 X509 *X509_find_by_issuer_and_serial(STACK_OF(X509) *sk, X509_NAME *name,
270 X509 x,*x509=NULL;
280 x509=sk_X509_value(sk,i);
281 if (X509_issuer_and_serial_cmp(x509,&x) == 0)
282 return(x509);
287 X509 *X509_find_by_subject(STACK_OF(X509) *sk, X509_NAME *name)
289 X509 *x509;
294 x509=sk_X509_value(sk,i);
295 if (X509_NAME_cmp(X509_get_subject_name(x509),name) == 0)
296 return(x509);
301 EVP_PKEY *X509_get_pubkey(X509 *x)
308 ASN1_BIT_STRING *X509_get0_pubkey_bitstr(const X509 *x)
314 int X509_check_private_key(X509 *x, EVP_PKEY *k)