Skip to main content

sha3/
oids.rs

1use digest::const_oid::{AssociatedOid, ObjectIdentifier};
2
3impl AssociatedOid for super::Sha3_224 {
4    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.2.7");
5}
6
7impl AssociatedOid for super::Sha3_256 {
8    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.2.8");
9}
10
11impl AssociatedOid for super::Sha3_384 {
12    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.2.9");
13}
14
15impl AssociatedOid for super::Sha3_512 {
16    const OID: ObjectIdentifier = ObjectIdentifier::new_unwrap("2.16.840.1.101.3.4.2.10");
17}