Home
last modified time | relevance | path

Searched refs:Asn1Time (Results 1 - 4 of 4) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/
H A Dasn1.rs24 //! use openssl::asn1::Asn1Time;
25 //! let tomorrow = Asn1Time::days_from_now(1);
184 /// Asn1Time should be used to store and share time information
185 /// using certificates. If Asn1Time is set using a string, it must
192 pub struct Asn1Time; structure names
193 /// Reference to an [`Asn1Time`]
195 /// [`Asn1Time`]: struct.Asn1Time.html
242 impl PartialEq<Asn1Time> for Asn1TimeRef {
243 fn eq(&self, other: &Asn1Time)
302 impl Asn1Time { fmt() impls
[all...]
H A Dpkcs12.rs287 use crate::asn1::Asn1Time;
348 .set_not_before(&Asn1Time::days_from_now(0).unwrap()) in create()
351 .set_not_after(&Asn1Time::days_from_now(365).unwrap()) in create()
/third_party/rust/crates/rust-openssl/openssl/examples/
H A Dmk_certs.rs6 use openssl::asn1::Asn1Time;
41 let not_before = Asn1Time::days_from_now(0)?; in mk_ca_cert()
43 let not_after = Asn1Time::days_from_now(365)?; in mk_ca_cert()
104 let not_before = Asn1Time::days_from_now(0)?; in mk_ca_signed_cert()
106 let not_after = Asn1Time::days_from_now(365)?; in mk_ca_signed_cert()
/third_party/rust/crates/rust-openssl/openssl/src/x509/
H A Dtests.rs3 use crate::asn1::{Asn1Object, Asn1OctetString, Asn1Time};
300 .set_not_before(&Asn1Time::days_from_now(0).unwrap()) in x509_builder()
303 .set_not_after(&Asn1Time::days_from_now(365).unwrap()) in x509_builder()

Completed in 4 milliseconds