Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(483)

Side by Side Diff: net/cert/internal/verify_certificate_chain.h

Issue 2289363004: Add error information to VerifySignedData(). (Closed)
Patch Set: rebase onto origin/master Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/cert/internal/signature_policy.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ 5 #ifndef NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_
6 #define NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ 6 #define NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 extern CertErrorType kInvalidOrUnsupportedAlgorithm; 86 extern CertErrorType kInvalidOrUnsupportedAlgorithm;
87 extern CertErrorType kChainIsEmpty; 87 extern CertErrorType kChainIsEmpty;
88 extern CertErrorType kUnconsumedCriticalExtension; 88 extern CertErrorType kUnconsumedCriticalExtension;
89 extern CertErrorType kTargetCertInconsistentCaBits; 89 extern CertErrorType kTargetCertInconsistentCaBits;
90 extern CertErrorType kKeyCertSignBitNotSet; 90 extern CertErrorType kKeyCertSignBitNotSet;
91 extern CertErrorType kMaxPathLengthViolated; 91 extern CertErrorType kMaxPathLengthViolated;
92 extern CertErrorType kBasicConstraintsIndicatesNotCa; 92 extern CertErrorType kBasicConstraintsIndicatesNotCa;
93 extern CertErrorType kMissingBasicConstraints; 93 extern CertErrorType kMissingBasicConstraints;
94 extern CertErrorType kNotPermittedByNameConstraints; 94 extern CertErrorType kNotPermittedByNameConstraints;
95 extern CertErrorType kSubjectDoesNotMatchIssuer; 95 extern CertErrorType kSubjectDoesNotMatchIssuer;
96 extern CertErrorType kSignatureVerificationFailed; 96 extern CertErrorType kVerifySignedDataFailed;
97 extern CertErrorType kValidityFailedNotAfter; 97 extern CertErrorType kValidityFailedNotAfter;
98 extern CertErrorType kValidityFailedNotBefore; 98 extern CertErrorType kValidityFailedNotBefore;
99 extern CertErrorType kSignatureAlgorithmsDifferentEncoding; 99 extern CertErrorType kSignatureAlgorithmsDifferentEncoding;
100 100
101 } // namespace verify_certificate_chain_errors 101 } // namespace verify_certificate_chain_errors
102 102
103 } // namespace net 103 } // namespace net
104 104
105 #endif // NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ 105 #endif // NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_
OLDNEW
« no previous file with comments | « net/cert/internal/signature_policy.cc ('k') | net/cert/internal/verify_certificate_chain.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698