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 #ifndef _SECOIDT_H_ | 5 #ifndef _SECOIDT_H_ |
6 #define _SECOIDT_H_ | 6 #define _SECOIDT_H_ |
7 | 7 |
8 #include "utilrename.h" | 8 #include "utilrename.h" |
9 | 9 |
10 /* | 10 /* |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 that we can print the names of those | 469 that we can print the names of those |
470 extensions that we don't even support */ | 470 extensions that we don't even support */ |
471 }; | 471 }; |
472 | 472 |
473 /* New Opaque extended OID table API. | 473 /* New Opaque extended OID table API. |
474 * These are algorithm policy Flags, used with functions | 474 * These are algorithm policy Flags, used with functions |
475 * NSS_SetAlgorithmPolicy & NSS_GetAlgorithmPolicy. | 475 * NSS_SetAlgorithmPolicy & NSS_GetAlgorithmPolicy. |
476 */ | 476 */ |
477 #define NSS_USE_ALG_IN_CERT_SIGNATURE 0x00000001 /* CRLs and OCSP, too */ | 477 #define NSS_USE_ALG_IN_CERT_SIGNATURE 0x00000001 /* CRLs and OCSP, too */ |
478 #define NSS_USE_ALG_IN_CMS_SIGNATURE 0x00000002 /* used in S/MIME */ | 478 #define NSS_USE_ALG_IN_CMS_SIGNATURE 0x00000002 /* used in S/MIME */ |
| 479 #define NSS_USE_ALG_IN_SSL_KX 0x00000004 /* used in SSL key exchange *
/ |
479 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ | 480 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ |
480 | 481 |
481 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them | 482 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them |
482 * being all zeros or having any other known value. The reserved bits | 483 * being all zeros or having any other known value. The reserved bits |
483 * must be ignored. | 484 * must be ignored. |
484 */ | 485 */ |
485 | 486 |
486 | 487 |
487 #endif /* _SECOIDT_H_ */ | 488 #endif /* _SECOIDT_H_ */ |
OLD | NEW |