diff --git a/x509-cert/src/ext/pkix.rs b/x509-cert/src/ext/pkix.rs index 95a5e2b5d..3027f2156 100644 --- a/x509-cert/src/ext/pkix.rs +++ b/x509-cert/src/ext/pkix.rs @@ -10,7 +10,7 @@ mod authkeyid; mod keyusage; mod policymap; -use crate::attr::AttributeTypeAndValue; +use crate::attr::Attribute; pub use access::{AccessDescription, AuthorityInfoAccessSyntax, SubjectInfoAccessSyntax}; pub use authkeyid::AuthorityKeyIdentifier; @@ -112,13 +112,13 @@ impl_extension!(IssuerAltName, critical = false); /// /// [RFC 5280 Section 4.2.1.8]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.8 #[derive(Clone, Debug, Default, PartialEq, Eq)] -pub struct SubjectDirectoryAttributes(pub Vec); +pub struct SubjectDirectoryAttributes(pub Vec); impl AssociatedOid for SubjectDirectoryAttributes { const OID: ObjectIdentifier = ID_CE_SUBJECT_DIRECTORY_ATTRIBUTES; } -impl_newtype!(SubjectDirectoryAttributes, Vec); +impl_newtype!(SubjectDirectoryAttributes, Vec); impl_extension!(SubjectDirectoryAttributes, critical = false); /// InhibitAnyPolicy as defined in [RFC 5280 Section 4.2.1.14].