From 13117ad727a8d065213a2346e8c3512429154022 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Wed, 26 Jul 2023 18:39:27 -0400 Subject: [PATCH] certificate: rm `is_self_issued` Signed-off-by: William Woodruff --- src/rust/cryptography-x509/src/certificate.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/rust/cryptography-x509/src/certificate.rs b/src/rust/cryptography-x509/src/certificate.rs index ecec95308a67..d5b48a537194 100644 --- a/src/rust/cryptography-x509/src/certificate.rs +++ b/src/rust/cryptography-x509/src/certificate.rs @@ -27,12 +27,6 @@ impl Certificate<'_> { self.tbs_cert.subject.unwrap_read() } - /// Returns whether the certificate is "self-issued", whether its - /// issuer and subject are the same. - pub fn is_self_issued(&self) -> bool { - self.issuer() == self.subject() - } - /// Returns an iterable container over the certificate's extension, or /// an error if the extension set contains a duplicate extension. pub fn extensions(&self) -> Result, DuplicateExtensionsError> {