Lines Matching full:trust
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_; }
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 not
60 // cause the trust settings to be revoked. If the certificate has no
61 // particular trust settings associated with it, mark the certificate as
62 // a valid CA certificate with no specific trust.
66 // Change the trust bits to unconditionally trust this certificate.
70 LOG(ERROR) << "Cannot decode certificate trust string.";
78 LOG(ERROR) << "Cannot change certificate trust.";
90 // added twice, the second entry's original trust status will be that of
95 CERTCertTrust original_trust = (*it)->trust();
100 // trust can cause flake or hard-to-trace errors in any unit tests that
102 DCHECK_EQ(SECSuccess, rv) << "Cannot restore certificate trust.";