Skip to content

Commit adf24e0

Browse files
committed
const-oid: add RFC 7292 - add generated OIDs
1 parent e928f23 commit adf24e0

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

const-oid/src/db/gen.rs

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2638,6 +2638,30 @@ pub mod rfc7107 {
26382638
pub const ID_STI: crate::ObjectIdentifier =
26392639
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.9.16.9");
26402640
}
2641+
pub mod rfc7292 {
2642+
pub const RSADSI: crate::ObjectIdentifier =
2643+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549");
2644+
pub const PKCS: crate::ObjectIdentifier =
2645+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1");
2646+
pub const PKCS_12: crate::ObjectIdentifier =
2647+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12");
2648+
pub const PKCS_12_PBE_IDS: crate::ObjectIdentifier =
2649+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1");
2650+
pub const PBE_WITH_SHA_AND_128_BIT_RC_4: crate::ObjectIdentifier =
2651+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.1");
2652+
pub const PBE_WITH_SHA_AND_40_BIT_RC_4: crate::ObjectIdentifier =
2653+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.2");
2654+
pub const PBE_WITH_SHA_AND_3_KEY_TRIPLE_DES_CBC: crate::ObjectIdentifier =
2655+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.3");
2656+
pub const PBE_WITH_SHA_AND_2_KEY_TRIPLE_DES_CBC: crate::ObjectIdentifier =
2657+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.4");
2658+
pub const PBE_WITH_SHA_AND_128_BIT_RC_2_CBC: crate::ObjectIdentifier =
2659+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.5");
2660+
pub const PBEWITH_SHA_AND_40_BIT_RC_2_CBC: crate::ObjectIdentifier =
2661+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.1.6");
2662+
pub const BAGTYPES: crate::ObjectIdentifier =
2663+
crate::ObjectIdentifier::new_unwrap("1.2.840.113549.1.12.10.1");
2664+
}
26412665
pub mod rfc7299 {
26422666
pub const ID_PKIX: crate::ObjectIdentifier =
26432667
crate::ObjectIdentifier::new_unwrap("1.3.6.1.5.5.7");
@@ -5205,6 +5229,35 @@ pub const DB: super::Database<'static> = super::Database(&[
52055229
(&rfc7107::ID_TSP, "id-tsp"),
52065230
(&rfc7107::ID_SKD, "id-skd"),
52075231
(&rfc7107::ID_STI, "id-sti"),
5232+
(&rfc7292::RSADSI, "rsadsi"),
5233+
(&rfc7292::PKCS, "pkcs"),
5234+
(&rfc7292::PKCS_12, "pkcs-12"),
5235+
(&rfc7292::PKCS_12_PBE_IDS, "pkcs-12PbeIds"),
5236+
(
5237+
&rfc7292::PBE_WITH_SHA_AND_128_BIT_RC_4,
5238+
"pbeWithSHAAnd128BitRC4",
5239+
),
5240+
(
5241+
&rfc7292::PBE_WITH_SHA_AND_40_BIT_RC_4,
5242+
"pbeWithSHAAnd40BitRC4",
5243+
),
5244+
(
5245+
&rfc7292::PBE_WITH_SHA_AND_3_KEY_TRIPLE_DES_CBC,
5246+
"pbeWithSHAAnd3-KeyTripleDES-CBC",
5247+
),
5248+
(
5249+
&rfc7292::PBE_WITH_SHA_AND_2_KEY_TRIPLE_DES_CBC,
5250+
"pbeWithSHAAnd2-KeyTripleDES-CBC",
5251+
),
5252+
(
5253+
&rfc7292::PBE_WITH_SHA_AND_128_BIT_RC_2_CBC,
5254+
"pbeWithSHAAnd128BitRC2-CBC",
5255+
),
5256+
(
5257+
&rfc7292::PBEWITH_SHA_AND_40_BIT_RC_2_CBC,
5258+
"pbewithSHAAnd40BitRC2-CBC",
5259+
),
5260+
(&rfc7292::BAGTYPES, "bagtypes"),
52085261
(&rfc7299::ID_PKIX, "id-pkix"),
52095262
(&rfc7299::ID_MOD, "id-mod"),
52105263
(&rfc7299::ID_PE, "id-pe"),

0 commit comments

Comments
 (0)