diff --git a/x509-cert/src/name.rs b/x509-cert/src/name.rs index c12a25c6d..f14e96554 100644 --- a/x509-cert/src/name.rs +++ b/x509-cert/src/name.rs @@ -140,17 +140,6 @@ pub type DistinguishedName = RdnSequence; #[derive(Clone, Debug, Default, PartialEq, Eq)] pub struct RelativeDistinguishedName(pub SetOfVec); -impl RelativeDistinguishedName { - /// Converts an RelativeDistinguishedName string into an encoded RelativeDistinguishedName - #[deprecated( - since = "0.2.1", - note = "use RelativeDistinguishedName::from_str(...)?.to_der()" - )] - pub fn encode_from_string(s: &str) -> Result, der::Error> { - Self::from_str(s)?.to_der() - } -} - /// Parse a [`RelativeDistinguishedName`] string. /// /// This function follows the rules in [RFC 4514].