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 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 SEC_OID_TLS_ECDH_ANON = 338, | 472 SEC_OID_TLS_ECDH_ANON = 338, |
473 SEC_OID_TLS_RSA_EXPORT = 339, | 473 SEC_OID_TLS_RSA_EXPORT = 339, |
474 | 474 |
475 SEC_OID_TLS_DHE_RSA_EXPORT = 340, | 475 SEC_OID_TLS_DHE_RSA_EXPORT = 340, |
476 SEC_OID_TLS_DHE_DSS_EXPORT = 341, | 476 SEC_OID_TLS_DHE_DSS_EXPORT = 341, |
477 SEC_OID_TLS_DH_RSA_EXPORT = 342, | 477 SEC_OID_TLS_DH_RSA_EXPORT = 342, |
478 SEC_OID_TLS_DH_DSS_EXPORT = 343, | 478 SEC_OID_TLS_DH_DSS_EXPORT = 343, |
479 SEC_OID_TLS_DH_ANON_EXPORT = 344, | 479 SEC_OID_TLS_DH_ANON_EXPORT = 344, |
480 SEC_OID_APPLY_SSL_POLICY = 345, | 480 SEC_OID_APPLY_SSL_POLICY = 345, |
481 | 481 |
| 482 SEC_OID_CHACHA20_POLY1305 = 346, |
| 483 |
482 SEC_OID_TOTAL | 484 SEC_OID_TOTAL |
483 } SECOidTag; | 485 } SECOidTag; |
484 | 486 |
485 #define SEC_OID_SECG_EC_SECP192R1 SEC_OID_ANSIX962_EC_PRIME192V1 | 487 #define SEC_OID_SECG_EC_SECP192R1 SEC_OID_ANSIX962_EC_PRIME192V1 |
486 #define SEC_OID_SECG_EC_SECP256R1 SEC_OID_ANSIX962_EC_PRIME256V1 | 488 #define SEC_OID_SECG_EC_SECP256R1 SEC_OID_ANSIX962_EC_PRIME256V1 |
487 #define SEC_OID_PKCS12_KEY_USAGE SEC_OID_X509_KEY_USAGE | 489 #define SEC_OID_PKCS12_KEY_USAGE SEC_OID_X509_KEY_USAGE |
488 | 490 |
489 /* fake OID for DSS sign/verify */ | 491 /* fake OID for DSS sign/verify */ |
490 #define SEC_OID_SHA SEC_OID_MISS_DSS | 492 #define SEC_OID_SHA SEC_OID_MISS_DSS |
491 | 493 |
(...skipping 25 matching lines...) Expand all Loading... |
517 #define NSS_USE_POLICY_IN_SSL 0x00000010 /* enable policy in SSL proto
col */ | 519 #define NSS_USE_POLICY_IN_SSL 0x00000010 /* enable policy in SSL proto
col */ |
518 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ | 520 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ |
519 | 521 |
520 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them | 522 /* Code MUST NOT SET or CLEAR reserved bits, and must NOT depend on them |
521 * being all zeros or having any other known value. The reserved bits | 523 * being all zeros or having any other known value. The reserved bits |
522 * must be ignored. | 524 * must be ignored. |
523 */ | 525 */ |
524 | 526 |
525 | 527 |
526 #endif /* _SECOIDT_H_ */ | 528 #endif /* _SECOIDT_H_ */ |
OLD | NEW |