Fix docs
This commit is contained in:
parent
234ce581f9
commit
90c42fc026
|
|
@ -433,7 +433,7 @@ impl<'a> X509Ref<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns certificate Not Before validity period.
|
/// Returns certificate Not After validity period.
|
||||||
/// Requires the `x509_expiry` feature.
|
/// Requires the `x509_expiry` feature.
|
||||||
#[cfg(feature = "x509_expiry")]
|
#[cfg(feature = "x509_expiry")]
|
||||||
pub fn not_after(&self) -> Asn1TimeRef {
|
pub fn not_after(&self) -> Asn1TimeRef {
|
||||||
|
|
@ -444,7 +444,7 @@ impl<'a> X509Ref<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns certificate Not After validity period.
|
/// Returns certificate Not Before validity period.
|
||||||
/// Requires the `x509_expiry` feature.
|
/// Requires the `x509_expiry` feature.
|
||||||
#[cfg(feature = "x509_expiry")]
|
#[cfg(feature = "x509_expiry")]
|
||||||
pub fn not_before(&self) -> Asn1TimeRef {
|
pub fn not_before(&self) -> Asn1TimeRef {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue