Searched defs:trust (Results 1 - 20 of 20) sorted by relevance

/external/chromium/net/base/
H A Dtest_root_certs_nss.cc17 // for a certificate whose trust status has been changed by the
22 // and copying |trust|.
23 TrustEntry(CERTCertificate* certificate, CERTCertTrust trust);
27 CERTCertTrust trust() const { return trust_; } function in class:net::TestRootCerts::TrustEntry
33 // The original trust settings, before |certificate_| was manipulated to
41 CERTCertTrust trust)
43 trust_(trust) {
51 // Preserve the original trust bits so that they can be restored when
58 // particular trust settings associated with it, and attempts to use
59 // |original_trust| later to restore the original trust setting
40 TrustEntry(CERTCertificate* certificate, CERTCertTrust trust) argument
[all...]
/external/openssl/crypto/x509/
H A Dx509_trs.c68 static int trust_1oidany(X509_TRUST *trust, X509 *x, int flags);
69 static int trust_1oid(X509_TRUST *trust, X509 *x, int flags);
70 static int trust_compat(X509_TRUST *trust, X509 *x, int flags);
75 /* WARNING: the following table should be kept in order of trust
76 * and without any gaps so we can just subtract the minimum trust
100 return (*a)->trust - (*b)->trust;
103 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int)
107 default_trust = trust;
142 tmp.trust
149 X509_TRUST_set(int *t, int trust) argument
244 trust_1oidany(X509_TRUST *trust, X509 *x, int flags) argument
254 trust_1oid(X509_TRUST *trust, X509 *x, int flags) argument
260 trust_compat(X509_TRUST *trust, X509 *x, int flags) argument
[all...]
H A Dx509_vpm.c76 param->trust = 0;
173 x509_verify_param_copy(trust, 0);
244 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust) argument
246 return X509_TRUST_set(&param->trust, trust);
327 0, /* trust */
337 X509_TRUST_EMAIL, /* trust */
347 X509_TRUST_EMAIL, /* trust */
357 X509_TRUST_SSL_CLIENT, /* trust */
367 X509_TRUST_SSL_SERVER, /* trust */
[all...]
H A Dx509_lu.c699 int X509_STORE_set_trust(X509_STORE *ctx, int trust) argument
701 return X509_VERIFY_PARAM_set_trust(ctx->param, trust);
H A Dx509_vfy.c269 * so we get any trust settings.
354 /* The chain extensions are OK: check trust */
356 if (param->trust > 0) ok = check_trust(ctx);
624 * chain including trust anchor. Trust anchor not strictly
660 ok = X509_check_trust(x, ctx->param->trust, 0);
1148 * end in the same trust anchor, though some discussions remain...
1919 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust) argument
1921 return X509_STORE_CTX_purpose_inherit(ctx, 0, 0, trust);
1924 /* This function is used to set the X509_STORE_CTX purpose and trust
1926 * own trust an
1934 X509_STORE_CTX_purpose_inherit(X509_STORE_CTX *ctx, int def_purpose, int purpose, int trust) argument
[all...]
H A Dx509_vfy.h173 int trust; /* trust setting to check */ member in struct:X509_VERIFY_PARAM_st
419 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
492 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
494 int purpose, int trust);
522 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
H A Dx509.h272 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ member in struct:x509_cert_aux_st
314 /* This is used for a table of trust checking functions */
317 int trust; member in struct:x509_trust_st
332 /* standard trust ids */
850 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
851 int X509_TRUST_set(int *t, int trust);
/external/openssl/crypto/x509v3/
H A Dv3_purp.c172 int X509_PURPOSE_add(int id, int trust, int flags, argument
180 /* This will always be set for application modified trust entries */
211 ptmp->trust = trust;
267 return xp->trust;
H A Dx509v3.h460 int trust; /* Default trust ID */ member in struct:x509_purpose_st
687 int X509_PURPOSE_add(int id, int trust, int flags,
/external/wpa_supplicant/
H A Dx509v3.c1538 struct x509_certificate *cert, *trust; local
1600 for (trust = trusted; trust; trust = trust->next) {
1601 if (x509_name_compare(&cert->issuer, &trust->subject)
1606 if (trust) {
1609 if (x509_valid_issuer(trust) < 0) {
1614 if (x509_certificate_check_signature(trust, cert) < 0)
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dx509v3.c1578 struct x509_certificate *cert, *trust; local
1648 for (trust = trusted; trust; trust = trust->next) {
1649 if (x509_name_compare(&cert->issuer, &trust->subject)
1654 if (trust) {
1657 if (x509_valid_issuer(trust) < 0) {
1662 if (x509_certificate_check_signature(trust, cert) < 0)
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dx509v3.c1841 struct x509_certificate *cert, *trust; local
1912 for (trust = trusted; trust; trust = trust->next) {
1913 if (x509_name_compare(&cert->issuer, &trust->subject)
1918 if (trust) {
1921 if (x509_valid_issuer(trust) < 0) {
1926 if (x509_certificate_check_signature(trust, cert) < 0)
/external/wpa_supplicant_8/src/tls/
H A Dx509v3.c1841 struct x509_certificate *cert, *trust; local
1912 for (trust = trusted; trust; trust = trust->next) {
1913 if (x509_name_compare(&cert->issuer, &trust->subject)
1918 if (trust) {
1921 if (x509_valid_issuer(trust) < 0) {
1926 if (x509_certificate_check_signature(trust, cert) < 0)
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dx509v3.c1841 struct x509_certificate *cert, *trust; local
1912 for (trust = trusted; trust; trust = trust->next) {
1913 if (x509_name_compare(&cert->issuer, &trust->subject)
1918 if (trust) {
1921 if (x509_valid_issuer(trust) < 0) {
1926 if (x509_certificate_check_signature(trust, cert) < 0)
/external/bluetooth/bluez/src/
H A Dstorage.c664 gboolean trust)
683 if (trusted == trust) {
689 if (trust)
695 if (!trust && !services)
663 write_trust(const char *src, const char *addr, const char *service, gboolean trust) argument
/external/chromium/chrome/browser/ui/webui/options/
H A Dcertificate_manager_handler.cc467 int trust = certificate_manager_model_->cert_db().GetCertTrust( local
469 FundamentalValue ssl_value(bool(trust & net::CertDatabase::TRUSTED_SSL));
470 FundamentalValue email_value(bool(trust & net::CertDatabase::TRUSTED_EMAIL));
472 bool(trust & net::CertDatabase::TRUSTED_OBJ_SIGN));
/external/openssl/include/openssl/
H A Dx509_vfy.h173 int trust; /* trust setting to check */ member in struct:X509_VERIFY_PARAM_st
419 int X509_STORE_set_trust(X509_STORE *ctx, int trust);
492 int X509_STORE_CTX_set_trust(X509_STORE_CTX *ctx, int trust);
494 int purpose, int trust);
522 int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust);
H A Dx509.h272 STACK_OF(ASN1_OBJECT) *trust; /* trusted uses */ member in struct:x509_cert_aux_st
314 /* This is used for a table of trust checking functions */
317 int trust; member in struct:x509_trust_st
332 /* standard trust ids */
850 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int);
851 int X509_TRUST_set(int *t, int trust);
H A Dx509v3.h460 int trust; /* Default trust ID */ member in struct:x509_purpose_st
687 int X509_PURPOSE_add(int id, int trust, int flags,
/external/openssl/ssl/
H A Dssl_lib.c338 s->trust = ctx->trust;
483 int SSL_CTX_set_trust(SSL_CTX *s, int trust) argument
485 return X509_VERIFY_PARAM_set_trust(s->param, trust);
488 int SSL_set_trust(SSL *s, int trust) argument
490 return X509_VERIFY_PARAM_set_trust(s->param, trust);

Completed in 538 milliseconds