Skip to content

Commit

Permalink
Expose IdCert’s validity in public API (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenvh1 authored Dec 12, 2024
1 parent d77f8b0 commit baf0536
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 baf0536

Please sign in to comment.