OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 /* | 4 /* |
5 * certt.h - public data structures for the certificate library | 5 * certt.h - public data structures for the certificate library |
6 */ | 6 */ |
7 #ifndef _CERTT_H_ | 7 #ifndef _CERTT_H_ |
8 #define _CERTT_H_ | 8 #define _CERTT_H_ |
9 | 9 |
10 #include "prclist.h" | 10 #include "prclist.h" |
(...skipping 1088 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1099 * STOP_TESTING means: | 1099 * STOP_TESTING means: |
1100 * Our success is sufficient, do not continue testing | 1100 * Our success is sufficient, do not continue testing |
1101 * other methods. | 1101 * other methods. |
1102 * CONTINUE_TESTING means: | 1102 * CONTINUE_TESTING means: |
1103 * We will continue and test the next allowed | 1103 * We will continue and test the next allowed |
1104 * specified method. | 1104 * specified method. |
1105 */ | 1105 */ |
1106 #define CERT_REV_M_STOP_TESTING_ON_FRESH_INFO 0UL | 1106 #define CERT_REV_M_STOP_TESTING_ON_FRESH_INFO 0UL |
1107 #define CERT_REV_M_CONTINUE_TESTING_ON_FRESH_INFO 32UL | 1107 #define CERT_REV_M_CONTINUE_TESTING_ON_FRESH_INFO 32UL |
1108 | 1108 |
| 1109 /* When this flag is used, libpkix will never attempt to use the GET HTTP |
| 1110 * method for OCSP requests; it will always use POST. |
| 1111 */ |
| 1112 #define CERT_REV_M_FORCE_POST_METHOD_FOR_OCSP 64UL |
| 1113 |
1109 /* | 1114 /* |
1110 * The following flags are supposed to be used to control bits in | 1115 * The following flags are supposed to be used to control bits in |
1111 * CERTRevocationTests.cert_rev_method_independent_flags | 1116 * CERTRevocationTests.cert_rev_method_independent_flags |
1112 * All Flags are prefixed by CERT_REV_M_, where _M_ indicates | 1117 * All Flags are prefixed by CERT_REV_M_, where _M_ indicates |
1113 * this is a method independent flag. | 1118 * this is a method independent flag. |
1114 */ | 1119 */ |
1115 | 1120 |
1116 /* | 1121 /* |
1117 * This defines the order to checking. | 1122 * This defines the order to checking. |
1118 * EACH_METHOD_SEPARATELY means: | 1123 * EACH_METHOD_SEPARATELY means: |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1334 SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate) | 1339 SEC_ASN1_CHOOSER_DECLARE(CERT_SetOfSignedCrlTemplate) |
1335 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate) | 1340 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedDataTemplate) |
1336 SEC_ASN1_CHOOSER_DECLARE(CERT_SubjectPublicKeyInfoTemplate) | 1341 SEC_ASN1_CHOOSER_DECLARE(CERT_SubjectPublicKeyInfoTemplate) |
1337 SEC_ASN1_CHOOSER_DECLARE(SEC_SignedCertificateTemplate) | 1342 SEC_ASN1_CHOOSER_DECLARE(SEC_SignedCertificateTemplate) |
1338 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedCrlTemplate) | 1343 SEC_ASN1_CHOOSER_DECLARE(CERT_SignedCrlTemplate) |
1339 SEC_ASN1_CHOOSER_DECLARE(CERT_TimeChoiceTemplate) | 1344 SEC_ASN1_CHOOSER_DECLARE(CERT_TimeChoiceTemplate) |
1340 | 1345 |
1341 SEC_END_PROTOS | 1346 SEC_END_PROTOS |
1342 | 1347 |
1343 #endif /* _CERTT_H_ */ | 1348 #endif /* _CERTT_H_ */ |
OLD | NEW |