Skip to content

Commit

Permalink
Expose validity in public API
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenvh1 committed Dec 10, 2024
1 parent d77f8b0 commit 2639756
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ca/idcert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ impl TbsIdCert {
pub fn subject(&self) -> &Name {
&self.subject
}

pub fn validity(&self) -> &Validity {
&self.validity
}
}

/// # Decoding and Encoding
Expand Down

0 comments on commit 2639756

Please sign in to comment.