Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

aes_kw/
oid.rs

1//! OIDs from RFC 3394 and RFC 5649
2use const_oid::{AssociatedOid, ObjectIdentifier};
3
4impl AssociatedOid for super::KwAes128 {
5    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.1.5");
6}
7
8impl AssociatedOid for super::KwAes192 {
9    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.1.25");
10}
11
12impl AssociatedOid for super::KwAes256 {
13    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.1.45");
14}
15
16impl AssociatedOid for super::KwpAes128 {
17    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.1.8");
18}
19
20impl AssociatedOid for super::KwpAes192 {
21    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.1.28");
22}
23
24impl AssociatedOid for super::KwpAes256 {
25    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.1.48");
26}