diff --git a/src/ca/idcert.rs b/src/ca/idcert.rs index a8f27ec..63d4c2e 100644 --- a/src/ca/idcert.rs +++ b/src/ca/idcert.rs @@ -419,6 +419,10 @@ impl TbsIdCert { pub fn subject(&self) -> &Name { &self.subject } + + pub fn validity(&self) -> &Validity { + &self.validity + } } /// # Decoding and Encoding