@@ -57,7 +57,7 @@ use der::{
57
57
/// [RFC 4514 Section 3]: https://www.rfc-editor.org/rfc/rfc4514#section-3
58
58
/// [RFC 5280 Section 4.1.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.4
59
59
#[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
60
- #[ derive( Clone , Debug , Default , PartialEq , Eq ) ]
60
+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
61
61
pub struct Name ( pub ( crate ) RdnSequence ) ;
62
62
63
63
impl Name {
@@ -307,7 +307,7 @@ impl fmt::Display for Name {
307
307
///
308
308
/// [RFC 5280 Section 4.1.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.4
309
309
#[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
310
- #[ derive( Clone , Debug , Default , PartialEq , Eq ) ]
310
+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
311
311
pub struct RdnSequence ( Vec < RelativeDistinguishedName > ) ;
312
312
313
313
impl RdnSequence {
@@ -437,7 +437,7 @@ pub type DistinguishedName = RdnSequence;
437
437
///
438
438
/// [RFC 5280 Section 4.1.2.4]: https://datatracker.ietf.org/doc/html/rfc5280#section-4.1.2.4
439
439
#[ cfg_attr( feature = "arbitrary" , derive( arbitrary:: Arbitrary ) ) ]
440
- #[ derive( Clone , Debug , Default , PartialEq , Eq ) ]
440
+ #[ derive( Clone , Debug , Default , PartialEq , Eq , Hash ) ]
441
441
pub struct RelativeDistinguishedName ( pub ( crate ) SetOfVec < AttributeTypeAndValue > ) ;
442
442
443
443
impl RelativeDistinguishedName {
0 commit comments