Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: nss/lib/util/secoidt.h

Issue 1843333003: Update NSPR to 4.12 and NSS to 3.23 on iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/nss.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 436
437 /* Microsoft Trust List Signing 437 /* Microsoft Trust List Signing
438 * szOID_KP_CTL_USAGE_SIGNING 438 * szOID_KP_CTL_USAGE_SIGNING
439 * where KP stands for Key Purpose 439 * where KP stands for Key Purpose
440 */ 440 */
441 SEC_OID_MS_EXT_KEY_USAGE_CTL_SIGNING = 316, 441 SEC_OID_MS_EXT_KEY_USAGE_CTL_SIGNING = 316,
442 442
443 /* The 'name' attribute type in X.520 */ 443 /* The 'name' attribute type in X.520 */
444 SEC_OID_AVA_NAME = 317, 444 SEC_OID_AVA_NAME = 317,
445 445
446
447 SEC_OID_AES_128_GCM = 318,
448 SEC_OID_AES_192_GCM = 319,
449 SEC_OID_AES_256_GCM = 320,
450 SEC_OID_IDEA_CBC = 321,
451
452 /* pseudo - OIDs */
453
454 SEC_OID_RC2_40_CBC = 322,
455 SEC_OID_DES_40_CBC = 323,
456 SEC_OID_RC4_40 = 324,
457 SEC_OID_RC4_56 = 325,
458 SEC_OID_NULL_CIPHER = 326,
459
460 SEC_OID_HMAC_MD5 = 327,
461
462 SEC_OID_TLS_RSA = 328,
463 SEC_OID_TLS_DHE_RSA = 329,
464 SEC_OID_TLS_DHE_DSS = 330,
465 SEC_OID_TLS_DH_RSA = 331,
466 SEC_OID_TLS_DH_DSS = 332,
467 SEC_OID_TLS_DH_ANON = 333,
468 SEC_OID_TLS_ECDHE_ECDSA = 334,
469 SEC_OID_TLS_ECDHE_RSA = 335,
470 SEC_OID_TLS_ECDH_ECDSA = 336,
471 SEC_OID_TLS_ECDH_RSA = 337,
472 SEC_OID_TLS_ECDH_ANON = 338,
473 SEC_OID_TLS_RSA_EXPORT = 339,
474
475 SEC_OID_TLS_DHE_RSA_EXPORT = 340,
476 SEC_OID_TLS_DHE_DSS_EXPORT = 341,
477 SEC_OID_TLS_DH_RSA_EXPORT = 342,
478 SEC_OID_TLS_DH_DSS_EXPORT = 343,
479 SEC_OID_TLS_DH_ANON_EXPORT = 344,
480 SEC_OID_APPLY_SSL_POLICY = 345,
481
482 SEC_OID_CHACHA20_POLY1305 = 346,
483
446 SEC_OID_TOTAL 484 SEC_OID_TOTAL
447 } SECOidTag; 485 } SECOidTag;
448 486
449 #define SEC_OID_SECG_EC_SECP192R1 SEC_OID_ANSIX962_EC_PRIME192V1 487 #define SEC_OID_SECG_EC_SECP192R1 SEC_OID_ANSIX962_EC_PRIME192V1
450 #define SEC_OID_SECG_EC_SECP256R1 SEC_OID_ANSIX962_EC_PRIME256V1 488 #define SEC_OID_SECG_EC_SECP256R1 SEC_OID_ANSIX962_EC_PRIME256V1
451 #define SEC_OID_PKCS12_KEY_USAGE SEC_OID_X509_KEY_USAGE 489 #define SEC_OID_PKCS12_KEY_USAGE SEC_OID_X509_KEY_USAGE
452 490
453 /* fake OID for DSS sign/verify */ 491 /* fake OID for DSS sign/verify */
454 #define SEC_OID_SHA SEC_OID_MISS_DSS 492 #define SEC_OID_SHA SEC_OID_MISS_DSS
455 493
(...skipping 14 matching lines...) Expand all
470 extensions that we don't even support */ 508 extensions that we don't even support */
471 }; 509 };
472 510
473 /* New Opaque extended OID table API. 511 /* New Opaque extended OID table API.
474 * These are algorithm policy Flags, used with functions 512 * These are algorithm policy Flags, used with functions
475 * NSS_SetAlgorithmPolicy & NSS_GetAlgorithmPolicy. 513 * NSS_SetAlgorithmPolicy & NSS_GetAlgorithmPolicy.
476 */ 514 */
477 #define NSS_USE_ALG_IN_CERT_SIGNATURE 0x00000001 /* CRLs and OCSP, too */ 515 #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 */ 516 #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 * / 517 #define NSS_USE_ALG_IN_SSL_KX 0x00000004 /* used in SSL key exchange * /
518 #define NSS_USE_ALG_IN_SSL 0x00000008 /* used in SSL record protoco l */
519 #define NSS_USE_POLICY_IN_SSL 0x00000010 /* enable policy in SSL proto col */
480 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */ 520 #define NSS_USE_ALG_RESERVED 0xfffffffc /* may be used in future */
481 521
482 /* 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
483 * 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
484 * must be ignored. 524 * must be ignored.
485 */ 525 */
486 526
487 527
488 #endif /* _SECOIDT_H_ */ 528 #endif /* _SECOIDT_H_ */
OLDNEW
« nss/lib/util/secoid.c ('K') | « nss/lib/util/secoid.c ('k') | nss/lib/util/secport.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698