/external/chromium_org/net/third_party/mozilla_security_manager/ |
nsNSSCertificateDB.cpp | 87 // TODO(mattm): should we set/add trust if it differs from the present 236 LOG(ERROR) << "SetCertTrust called with conflicting trust bits " 245 // Note that we start with CERTDB_VALID_CA for default trust and explicit 246 // trust, but explicitly distrusted usages will be set to 248 CERTCertTrust trust = {CERTDB_VALID_CA, CERTDB_VALID_CA, CERTDB_VALID_CA}; local 251 trust.sslFlags = CERTDB_TERMINAL_RECORD; 253 trust.sslFlags |= CERTDB_TRUSTED_CA | CERTDB_TRUSTED_CLIENT_CA; 256 trust.emailFlags = CERTDB_TERMINAL_RECORD; 258 trust.emailFlags |= CERTDB_TRUSTED_CA | CERTDB_TRUSTED_CLIENT_CA; 261 trust.objectSigningFlags = CERTDB_TERMINAL_RECORD 267 CERTCertTrust trust = {0}; local [all...] |
/external/chromium/net/base/ |
test_root_certs_nss.cc | 17 // 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 settings will no [all...] |
/external/chromium_org/net/cert/ |
test_root_certs_nss.cc | 21 // for a certificate whose trust status has been changed by the 26 // and copying |trust|. 27 TrustEntry(CERTCertificate* certificate, const CERTCertTrust& trust); 31 const CERTCertTrust& trust() const { return trust_; } function in class:net::TestRootCerts::TrustEntry 37 // The original trust settings, before |certificate_| was manipulated to 45 const CERTCertTrust& trust) 47 trust_(trust) { 61 // Preserve the original trust bits so that they can be restored when 67 // particular trust settings associated with it, and attempts to use 68 // |original_trust| later to restore the original trust settings will no [all...] |
nss_cert_database.cc | 185 CERTCertTrust trust; local 186 SECStatus srv = CERT_GetCertTrust(cert->os_cert_handle(), &trust); 192 // round-trip all possible NSS trust flag combinations. We try to map them in 200 if ((trust.sslFlags & kCAFlags) == CERTDB_TERMINAL_RECORD) 202 else if (trust.sslFlags & kTrustedCA) 205 if ((trust.emailFlags & kCAFlags) == CERTDB_TERMINAL_RECORD) 207 else if (trust.emailFlags & kTrustedCA) 210 if ((trust.objectSigningFlags & kCAFlags) == CERTDB_TERMINAL_RECORD) 212 else if (trust.objectSigningFlags & kTrustedCA) 218 if (trust.sslFlags & CERTDB_TERMINAL_RECORD) [all...] |
/external/chromium_org/chrome/browser/chromeos/policy/ |
policy_cert_verifier_browsertest.cc | 86 net::NSSCertDatabase::TrustBits trust = local 88 EXPECT_EQ(net::NSSCertDatabase::TRUST_DEFAULT, trust); 161 // Make the database trust |ca_cert|. 170 net::NSSCertDatabase::TrustBits trust = local 172 EXPECT_EQ(net::NSSCertDatabase::TRUSTED_SSL, trust); 239 // The profile becomes tainted after using the trust anchors that came from 288 // Verify() again with the additional trust anchors. 305 // The profile becomes tainted after using the trust anchors that came from 311 // Verifying after removing the trust anchors should now fail.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathValidatorSpi.java | 114 TrustAnchor trust; local 117 trust = CertPathValidatorUtilities.findTrustAnchor((X509Certificate) certs.get(certs.size() - 1), 125 if (trust == null) 127 throw new CertPathValidatorException("Trust anchor for certification path not found.", null, certPath, -1); 213 X509Certificate sign = trust.getTrustedCert(); 223 workingIssuerName = new X500Principal(trust.getCAName()); 224 workingPublicKey = trust.getCAPublicKey(); 229 throw new ExtCertPathValidatorException("Subject of trust anchor could not be (re)encoded.", ex, certPath, 241 "Algorithm identifier of public key of trust anchor could not be read.", e, certPath, -1); 456 return new PKIXCertPathValidatorResult(trust, intersection, cert.getPublicKey()) [all...] |
CertPathValidatorUtilities.java | 162 TrustAnchor trust = null; local 175 throw new AnnotatedException("Cannot set subject search criteria for trust anchor.", ex); 179 while (iter.hasNext() && trust == null) 181 trust = (TrustAnchor)iter.next(); 182 if (trust.getTrustedCert() != null) 184 if (certSelectX509.match(trust.getTrustedCert())) 186 trustPublicKey = trust.getTrustedCert().getPublicKey(); 190 trust = null; 193 else if (trust.getCAName() != null 194 && trust.getCAPublicKey() != null [all...] |
/external/chromium_org/chromeos/network/onc/ |
onc_certificate_importer_impl.cc | 39 // Web trust is only granted to certificates imported by the user. 197 // Trust bits should only increase trust and never restrict. Thus, 199 ONC_LOG_WARNING("Certificate contains unknown trust type " + 208 ONC_LOG_WARNING("Web trust not granted for certificate: " + guid); 231 net::NSSCertDatabase::TrustBits trust = (import_with_ssl_trust ? local 241 trust & ~cert_database->GetCertTrust(x509_cert.get(), net_cert_type); 250 trust); 254 " was already present, but trust couldn't be set." + 264 success = cert_database->ImportServerCert(cert_list, trust, &failures) [all...] |
onc_certificate_importer_impl_unittest.cc | 36 CERTCertTrust trust = {0}; local 37 CERT_GetCertTrust(cert, &trust); 39 unsigned all_flags = trust.sslFlags | trust.emailFlags | 40 trust.objectSigningFlags; 47 if (trust.sslFlags & CERTDB_TERMINAL_RECORD) 95 importer.ParseAndStoreCertificates(true, // allow web trust
|
/frameworks/base/core/java/android/text/ |
BoringLayout.java | 94 boolean trust; 103 trust = true; 111 trust = false; 115 metrics, includepad, trust); local 147 boolean trust; 153 trust = true; 162 trust = false; 166 metrics, includepad, trust); local
|
/libcore/crypto/src/main/java/org/conscrypt/ |
TrustManagerImpl.java | 198 * The return value is a list of the certificates used for making the trust decision. 223 // get the cleaned up chain and trust anchor 227 // add the first trust anchor to the chain, which may be an intermediate 231 for (TrustAnchor trust : trustAnchor) { 232 wholeChain.add(trust.getTrustedCert()); 247 // at this point we have a cached trust anchor, but don't know if its one we got from 260 // build the cert path from the array of certs sans trust anchors 283 "Trust anchor for certification path not found.", null, certPath, -1)); 286 // There's no point in checking trust anchors here, and it will throw off the MD5 check, 364 // 2. Find the trust anchor in the chain, if an [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KeyStore_Impl1Test.java | 375 KeyStoreTestSupport.MCertificate trust = new KeyStoreTestSupport.MCertificate( local 378 trust); 435 .getCertificate(aliases[j]), trust); [all...] |
/external/chromium/chrome/browser/ui/webui/options/ |
certificate_manager_handler.cc | 332 // Edit CA Trust & Import CA overlay strings. 467 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)); [all...] |
/external/chromium_org/chrome/third_party/mozilla_security_manager/ |
nsNSSCertHelper.cpp | 1049 CERTCertTrust trust = {0}; local [all...] |
/external/wpa_supplicant_8/src/tls/ |
x509v3.c | 1834 struct x509_certificate *cert, *trust; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509/ |
x509_vfy.h | 173 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);
|
x509.h | 272 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 */ 855 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); 856 int X509_TRUST_set(int *t, int trust); [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
x509_vfy.h | 173 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);
|
x509.h | 272 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 */ 855 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); 856 int X509_TRUST_set(int *t, int trust); [all...] |
x509v3.h | 460 int trust; /* Default trust ID */ member in struct:x509_purpose_st 687 int X509_PURPOSE_add(int id, int trust, int flags,
|
/external/openssl/crypto/x509/ |
x509_vfy.h | 173 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);
|
x509.h | 272 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 */ 855 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); 856 int X509_TRUST_set(int *t, int trust); [all...] |
/external/openssl/include/openssl/ |
x509_vfy.h | 173 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);
|
x509.h | 272 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 */ 855 int (*X509_TRUST_set_default(int (*trust)(int , X509 *, int)))(int, X509 *, int); 856 int X509_TRUST_set(int *t, int trust); [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
x509v3.h | 460 int trust; /* Default trust ID */ member in struct:x509_purpose_st 687 int X509_PURPOSE_add(int id, int trust, int flags,
|