HomeSort by relevance Sort by last modified time
    Searched refs:X509 (Results 1 - 25 of 163) sorted by null

1 2 3 4 5 6 7

  /external/google-tv-pairing-protocol/cpp/src/polo/pairing/
pairingcontext.h 33 PairingContext(X509* local_certificate,
34 X509* peer_certificate,
38 void set_local_certificate(X509 *local_certificate);
41 void set_peer_certificate(X509 *peer_certificate);
44 X509* client_certificate() const;
47 X509* server_certificate() const;
56 X509 *local_certificate_;
57 X509 *peer_certificate_;
pairingcontext.cc 20 PairingContext::PairingContext(X509 *local_certificate,
21 X509 *peer_certificate,
28 void PairingContext::set_local_certificate(X509* local_certificate) {
32 void PairingContext::set_peer_certificate(X509* peer_certificate) {
36 X509* PairingContext::client_certificate() const {
40 X509* PairingContext::server_certificate() const {
polochallengeresponse.h 36 PoloChallengeResponse(X509* client_cert, X509* server_cert);
52 X509* client_cert;
53 X509* server_cert;
  /external/wpa_supplicant_8/src/crypto/
tls_openssl.h 16 enum ocsp_result check_ocsp_resp(SSL_CTX *ssl_ctx, SSL *ssl, X509 *cert,
17 X509 *issuer, X509 *issuer_issuer);
  /external/boringssl/src/crypto/pem/
pem_x509.c 63 #include <openssl/x509.h>
65 IMPLEMENT_PEM_rw(X509, X509, PEM_STRING_X509, X509)
pem_xaux.c 63 #include <openssl/x509.h>
65 IMPLEMENT_PEM_rw(X509_AUX, X509, PEM_STRING_X509_TRUSTED, X509_AUX)
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/tls/
CertificateType.java 8 public static final short X509 = 0;
  /external/libevent/sample/
openssl_hostname_validation.h 56 HostnameValidationResult validate_hostname(const char *hostname, const X509 *server_cert);
openssl_hostname_validation.c 63 static HostnameValidationResult matches_common_name(const char *hostname, const X509 *server_cert) {
70 common_name_loc = X509_NAME_get_index_by_NID(X509_get_subject_name((X509 *) server_cert), NID_commonName, -1);
76 common_name_entry = X509_NAME_get_entry(X509_get_subject_name((X509 *) server_cert), common_name_loc);
111 static HostnameValidationResult matches_subject_alternative_name(const char *hostname, const X509 *server_cert) {
118 san_names = X509_get_ext_d2i((X509 *) server_cert, NID_subject_alt_name, NULL, NULL);
163 HostnameValidationResult validate_hostname(const char *hostname, const X509 *server_cert) {
  /device/linaro/bootloader/arm-trusted-firmware/tools/cert_create/include/
cert.h 11 #include <openssl/x509.h>
44 X509 *x; /* X509 certificate container */
50 int cert_add_ext(X509 *issuer, X509 *subject, int nid, char *value);
  /external/google-tv-pairing-protocol/cpp/src/polo/util/
certificateutil.h 30 // Reads an X509 certificate from a PEM encoded string.
32 // @return a pointer to a new X509 certificate or NULL if there was an error
34 static X509* X509FromPEM(std::string pem);
36 // Converts an X509 certificate to a PEM encoded string.
37 // @param x509 the X509 certificate
39 static std::string X509ToPEM(X509* x509);
60 // Generates a self-signed X509 certificate.
64 // @return a new self-signed X509 certificat
    [all...]
  /external/boringssl/src/include/openssl/
pkcs7.h 33 DECLARE_STACK_OF(X509)
43 // them into |X509| objects.
44 OPENSSL_EXPORT int PKCS7_get_certificates(STACK_OF(X509) *out_certs, CBS *cbs);
49 CBB *out, const STACK_OF(X509) *certs);
63 OPENSSL_EXPORT int PKCS7_get_PEM_certificates(STACK_OF(X509) *out_certs,
x509_vfy.h 59 #include <openssl/x509.h>
60 /* openssl/x509.h ends up #include-ing this file at about the only
109 X509 *x509; member in union:x509_object_st::__anon14374
170 STACK_OF(X509) *additional_untrusted;
180 int (*get_issuer)(X509 **issuer, X509_STORE_CTX *ctx, X509 *x); /* get issuers cert from ctx */
181 int (*check_issued)(X509_STORE_CTX *ctx, X509 *x, X509 *issuer); /* check issued */
183 int (*get_crl)(X509_STORE_CTX *ctx, X509_CRL **crl, X509 *x); /* retrieve CRL *
    [all...]
x509.h 267 } /* X509 */;
269 DEFINE_STACK_OF(X509)
270 DECLARE_ASN1_SET_OF(X509)
277 int (*check_trust)(struct x509_trust_st *, X509 *, int);
465 X509 *x509; member in struct:X509_info_st
479 * Pat Richard <patr@x509.com> and are used to manipulate
564 OPENSSL_EXPORT int X509_verify(X509 *a, EVP_PKEY *r);
581 OPENSSL_EXPORT int X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md);
582 OPENSSL_EXPORT int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx)
    [all...]
  /external/boringssl/src/crypto/x509/
x_x509.c 68 #include <openssl/x509.h>
89 /* X509 top level structure needs a bit of customisation */
96 X509 *ret = (X509 *)*pval;
144 ASN1_SEQUENCE_ref(X509, x509_cb) = {
145 ASN1_SIMPLE(X509, cert_info, X509_CINF),
146 ASN1_SIMPLE(X509, sig_alg, X509_ALGOR),
147 ASN1_SIMPLE(X509, signature, ASN1_BIT_STRING)
148 } ASN1_SEQUENCE_END_ref(X509, X509)
    [all...]
x509_set.c 61 #include <openssl/x509.h>
63 int X509_set_version(X509 *x, long version)
79 int X509_set_serialNumber(X509 *x, ASN1_INTEGER *serial)
96 int X509_set_issuer_name(X509 *x, X509_NAME *name)
103 int X509_set_subject_name(X509 *x, X509_NAME *name)
110 int X509_set_notBefore(X509 *x, const ASN1_TIME *tm)
127 const ASN1_TIME *X509_get0_notBefore(const X509 *x)
132 int X509_set_notAfter(X509 *x, const ASN1_TIME *tm)
149 const ASN1_TIME *X509_get0_notAfter(const X509 *x)
154 int X509_set_pubkey(X509 *x, EVP_PKEY *pkey
    [all...]
x509_cmp.c 1 /* crypto/x509/x509_cmp.c */
67 #include <openssl/x509.h>
73 int X509_issuer_and_serial_cmp(const X509 *a, const X509 *b)
86 unsigned long X509_issuer_and_serial_hash(X509 *a)
114 int X509_issuer_name_cmp(const X509 *a, const X509 *b)
119 int X509_subject_name_cmp(const X509 *a, const X509 *b)
134 X509_NAME *X509_get_issuer_name(X509 *a
274 X509 x, *x509 = NULL; local
293 X509 *x509; local
    [all...]
x509_trs.c 66 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
67 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
68 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
70 static int obj_trust(int id, X509 *x, int flags);
71 static int (*default_trust) (int id, X509 *x, int flags) = obj_trust;
106 int (*X509_TRUST_set_default(int (*trust) (int, X509 *, int))) (int, X509 *,
108 int (*oldtrust) (int, X509 *, int);
114 int X509_check_trust(X509 *x, int id, int flags)
170 OPENSSL_PUT_ERROR(X509, X509_R_INVALID_TRUST)
    [all...]
x509spki.c 62 #include <openssl/x509.h>
89 OPENSSL_PUT_ERROR(X509, X509_R_BASE64_DECODE_ERROR);
93 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
98 OPENSSL_PUT_ERROR(X509, X509_R_BASE64_DECODE_ERROR);
118 OPENSSL_PUT_ERROR(X509, ERR_R_OVERFLOW);
123 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
129 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
a_verify.c 57 #include <openssl/x509.h>
81 OPENSSL_PUT_ERROR(X509, ERR_R_PASSED_NULL_PARAMETER);
86 OPENSSL_PUT_ERROR(X509, X509_R_INVALID_BIT_STRING_BITS_LEFT);
99 OPENSSL_PUT_ERROR(X509, ERR_R_MALLOC_FAILURE);
105 OPENSSL_PUT_ERROR(X509, ERR_R_EVP_LIB);
x_x509a.c 62 #include <openssl/x509.h>
66 * modifiable data about a certificate. This data is appended to the X509
68 * "traditional" X509 routines will simply ignore the extra data.
71 static X509_CERT_AUX *aux_get(X509 *x);
83 static X509_CERT_AUX *aux_get(X509 *x)
92 int X509_alias_set1(X509 *x, unsigned char *name, int len)
109 int X509_keyid_set1(X509 *x, unsigned char *id, int len)
126 unsigned char *X509_alias_get0(X509 *x, int *len)
135 unsigned char *X509_keyid_get0(X509 *x, int *len)
144 int X509_add1_trust_object(X509 *x, ASN1_OBJECT *obj
    [all...]
x509_ext.c 1 /* crypto/x509/x509_ext.c */
62 #include <openssl/x509.h>
111 int X509_get_ext_count(X509 *x)
116 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos)
121 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos)
126 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos)
132 X509_EXTENSION *X509_get_ext(X509 *x, int loc)
137 X509_EXTENSION *X509_delete_ext(X509 *x, int loc)
142 int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc)
147 void *X509_get_ext_d2i(X509 *x, int nid, int *crit, int *idx
    [all...]
  /external/boringssl/src/crypto/x509v3/
v3name_test.cc 64 #include <openssl/x509.h>
136 static int set_cn(X509 *crt, ...)
166 * int X509_add_ext(X509 *x, X509_EXTENSION *ex, int loc); X509_EXTENSION
168 * ASN1_OCTET_STRING *data); int X509_add_ext(X509 *x, X509_EXTENSION *ex,
172 static int set_altname(X509 *crt, ...)
222 static int set_cn1(X509 *crt, const char *name)
227 static int set_cn_and_email(X509 *crt, const char *name)
233 static int set_cn2(X509 *crt, const char *name)
239 static int set_cn3(X509 *crt, const char *name)
245 static int set_email1(X509 *crt, const char *name
    [all...]
v3_purp.c 81 static void x509v3_cache_extensions(X509 *x);
83 static int check_ssl_ca(const X509 *x);
84 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
86 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
88 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
90 static int purpose_smime(const X509 *x, int ca);
91 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
93 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
95 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
97 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/
X509.java 9 public class X509
22 // provider.addAlgorithm("KeyFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.KeyFactory");
23 // provider.addAlgorithm("Alg.Alias.KeyFactory.X509", "X.509");
29 provider.addAlgorithm("CertificateFactory.X.509", "org.bouncycastle.jcajce.provider.asymmetric.x509.CertificateFactory");
30 provider.addAlgorithm("Alg.Alias.CertificateFactory.X509", "X.509");

Completed in 275 milliseconds

1 2 3 4 5 6 7