Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // This file intentionally does not have header guards, it's included | |
| 6 // inside a macro to generate enum. | |
| 7 | |
| 8 // This file contains the list of certificate verification results returned | |
| 9 // from Java side to the C++ side. | |
| 10 | |
| 11 // Certificate verification could not be conducted. | |
| 12 CERT_VERIFY_RESULT_ANDROID(FAILED, -1) | |
| 13 | |
| 14 // Certificate is trusted. | |
| 15 CERT_VERIFY_RESULT_ANDROID(OK, 0) | |
| 16 | |
| 17 // Certificate is not trusted due to non-trusted root of the certificate chain. | |
| 18 CERT_VERIFY_RESULT_ANDROID(NO_TRUSTED_ROOT, 1) | |
| 19 | |
| 20 // Certificate is not trusted because it has expired. | |
| 21 CERT_VERIFY_RESULT_ANDROID(EXPIRED, 2) | |
| 22 | |
| 23 // Certificate is not trusted because it is not valid yet. | |
| 24 CERT_VERIFY_RESULT_ANDROID(NOT_YET_VALID, 3) | |
| 25 | |
| 26 // Certificate is not trusted because it could not be parsed. | |
| 27 CERT_VERIFY_RESULT_ANDROID(UNABLE_TO_PARSE, 4) | |
|
Ryan Sleevi
2013/02/13 01:41:39
For the values here, it seems better if you used e
ppi
2013/02/13 12:34:56
Thanks, I have moved to non-positive numbering (0
| |
| OLD | NEW |