OLD | NEW |
1 /* ***** BEGIN LICENSE BLOCK ***** | 1 /* ***** BEGIN LICENSE BLOCK ***** |
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
3 * | 3 * |
4 * The contents of this file are subject to the Mozilla Public License Version | 4 * The contents of this file are subject to the Mozilla Public License Version |
5 * 1.1 (the "License"); you may not use this file except in compliance with | 5 * 1.1 (the "License"); you may not use this file except in compliance with |
6 * the License. You may obtain a copy of the License at | 6 * the License. You may obtain a copy of the License at |
7 * http://www.mozilla.org/MPL/ | 7 * http://www.mozilla.org/MPL/ |
8 * | 8 * |
9 * Software distributed under the License is distributed on an "AS IS" basis, | 9 * Software distributed under the License is distributed on an "AS IS" basis, |
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
(...skipping 25 matching lines...) Expand all Loading... |
36 * ***** END LICENSE BLOCK ***** */ | 36 * ***** END LICENSE BLOCK ***** */ |
37 | 37 |
38 #ifndef _SECOIDT_H_ | 38 #ifndef _SECOIDT_H_ |
39 #define _SECOIDT_H_ | 39 #define _SECOIDT_H_ |
40 | 40 |
41 #include "utilrename.h" | 41 #include "utilrename.h" |
42 | 42 |
43 /* | 43 /* |
44 * secoidt.h - public data structures for ASN.1 OID functions | 44 * secoidt.h - public data structures for ASN.1 OID functions |
45 * | 45 * |
46 * $Id: secoidt.h,v 1.30 2009/04/14 02:04:08 alexei.volkov.bugs%sun.com Exp $ | 46 * $Id: secoidt.h,v 1.31 2010/05/28 01:26:07 wtc%google.com Exp $ |
47 */ | 47 */ |
48 | 48 |
49 #include "secitem.h" | 49 #include "secitem.h" |
50 | 50 |
51 typedef struct SECOidDataStr SECOidData; | 51 typedef struct SECOidDataStr SECOidData; |
52 typedef struct SECAlgorithmIDStr SECAlgorithmID; | 52 typedef struct SECAlgorithmIDStr SECAlgorithmID; |
53 | 53 |
54 /* | 54 /* |
55 ** An X.500 algorithm identifier | 55 ** An X.500 algorithm identifier |
56 */ | 56 */ |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 | 443 |
444 SEC_OID_PKIX_TIMESTAMPING = 299, | 444 SEC_OID_PKIX_TIMESTAMPING = 299, |
445 SEC_OID_PKIX_CA_REPOSITORY = 300, | 445 SEC_OID_PKIX_CA_REPOSITORY = 300, |
446 | 446 |
447 SEC_OID_ISO_SHA1_WITH_RSA_SIGNATURE = 301, | 447 SEC_OID_ISO_SHA1_WITH_RSA_SIGNATURE = 301, |
448 | 448 |
449 SEC_OID_SEED_CBC = 302, | 449 SEC_OID_SEED_CBC = 302, |
450 | 450 |
451 SEC_OID_X509_ANY_POLICY = 303, | 451 SEC_OID_X509_ANY_POLICY = 303, |
452 | 452 |
| 453 SEC_OID_PKCS1_RSA_OAEP_ENCRYPTION = 304, |
| 454 SEC_OID_PKCS1_MGF1 = 305, |
| 455 SEC_OID_PKCS1_PSPECIFIED = 306, |
| 456 SEC_OID_PKCS1_RSA_PSS_SIGNATURE = 307, |
| 457 SEC_OID_PKCS1_SHA224_WITH_RSA_ENCRYPTION = 308, |
| 458 |
453 SEC_OID_TOTAL | 459 SEC_OID_TOTAL |
454 } SECOidTag; | 460 } SECOidTag; |
455 | 461 |
456 #define SEC_OID_SECG_EC_SECP192R1 SEC_OID_ANSIX962_EC_PRIME192V1 | 462 #define SEC_OID_SECG_EC_SECP192R1 SEC_OID_ANSIX962_EC_PRIME192V1 |
457 #define SEC_OID_SECG_EC_SECP256R1 SEC_OID_ANSIX962_EC_PRIME256V1 | 463 #define SEC_OID_SECG_EC_SECP256R1 SEC_OID_ANSIX962_EC_PRIME256V1 |
458 #define SEC_OID_PKCS12_KEY_USAGE SEC_OID_X509_KEY_USAGE | 464 #define SEC_OID_PKCS12_KEY_USAGE SEC_OID_X509_KEY_USAGE |
459 | 465 |
460 /* fake OID for DSS sign/verify */ | 466 /* fake OID for DSS sign/verify */ |
461 #define SEC_OID_SHA SEC_OID_MISS_DSS | 467 #define SEC_OID_SHA SEC_OID_MISS_DSS |
462 | 468 |
(...skipping 22 matching lines...) Expand all Loading... |
485 #define NSS_USE_ALG_IN_CMS_SIGNATURE 0x00000002 /* used in S/MIME */ | 491 #define NSS_USE_ALG_IN_CMS_SIGNATURE 0x00000002 /* used in S/MIME */ |
486 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ | 492 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ |
487 | 493 |
488 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them | 494 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them |
489 * being all zeros or having any other known value. The reserved bits | 495 * being all zeros or having any other known value. The reserved bits |
490 * must be ignored. | 496 * must be ignored. |
491 */ | 497 */ |
492 | 498 |
493 | 499 |
494 #endif /* _SECOIDT_H_ */ | 500 #endif /* _SECOIDT_H_ */ |
OLD | NEW |