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 /* |
11 * secoidt.h - public data structures for ASN.1 OID functions | 11 * secoidt.h - public data structures for ASN.1 OID functions |
12 * | |
13 * $Id$ | |
14 */ | 12 */ |
15 | 13 |
16 #include "secitem.h" | 14 #include "secitem.h" |
17 | 15 |
18 typedef struct SECOidDataStr SECOidData; | 16 typedef struct SECOidDataStr SECOidData; |
19 typedef struct SECAlgorithmIDStr SECAlgorithmID; | 17 typedef struct SECAlgorithmIDStr SECAlgorithmID; |
20 | 18 |
21 /* | 19 /* |
22 ** An X.500 algorithm identifier | 20 ** An X.500 algorithm identifier |
23 */ | 21 */ |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 #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 */ |
481 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ | 479 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ |
482 | 480 |
483 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them | 481 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them |
484 * being all zeros or having any other known value. The reserved bits | 482 * being all zeros or having any other known value. The reserved bits |
485 * must be ignored. | 483 * must be ignored. |
486 */ | 484 */ |
487 | 485 |
488 | 486 |
489 #endif /* _SECOIDT_H_ */ | 487 #endif /* _SECOIDT_H_ */ |
OLD | NEW |