Skip to content

Commit

Permalink
certificate: rm is_self_issued
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Jul 26, 2023
1 parent 705de99 commit 13117ad
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/rust/cryptography-x509/src/certificate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Extensions<'_>, DuplicateExtensionsError> {
Expand Down

0 comments on commit 13117ad

Please sign in to comment.