@@ -57,7 +57,7 @@ use der::{
5757/// [RFC 4514 Section 3]: https://www.rfc-editor.org/rfc/rfc4514#section-3
5858/// [RFC 5280 Section 4.1.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.4
5959#[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
60- #[ derive( Clone , Debug , Default , PartialEq , Eq ) ]
60+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
6161pub struct Name ( pub ( crate ) RdnSequence ) ;
6262
6363impl Name {
@@ -307,7 +307,7 @@ impl fmt::Display for Name {
307307///
308308/// [RFC 5280 Section 4.1.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.4
309309#[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
310- #[ derive( Clone , Debug , Default , PartialEq , Eq ) ]
310+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
311311pub struct RdnSequence ( Vec < RelativeDistinguishedName > ) ;
312312
313313impl RdnSequence {
@@ -437,7 +437,7 @@ pub type DistinguishedName = RdnSequence;
437437///
438438/// [RFC 5280 Section 4.1.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.4
439439#[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
440- #[ derive( Clone , Debug , Default , PartialEq , Eq ) ]
440+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
441441pub struct RelativeDistinguishedName ( pub ( crate ) SetOfVec < AttributeTypeAndValue > ) ;
442442
443443impl RelativeDistinguishedName {
0 commit comments