Struct openssl::asn1::Asn1Time [−][src]
pub struct Asn1Time { /* fields omitted */ }
Methods
impl Asn1Time
[src]
impl Asn1Time
pub fn new(handle: *mut ASN1_TIME) -> Asn1Time
[src]
pub fn new(handle: *mut ASN1_TIME) -> Asn1Time
Wraps existing ASN1_TIME and takes ownership
pub fn days_from_now(days: u32) -> Result<Asn1Time, SslError>
[src]
pub fn days_from_now(days: u32) -> Result<Asn1Time, SslError>
Creates a new time on specified interval in days from now
pub unsafe fn get_handle(&self) -> *mut ASN1_TIME
[src]
pub unsafe fn get_handle(&self) -> *mut ASN1_TIME
Returns raw handle