Struct openssl::asn1::Asn1Time [] [src]

pub struct Asn1Time {
    // some fields omitted
}

Methods

impl Asn1Time
[src]

fn new(handle: *mut ASN1_TIME) -> Asn1Time

Wraps existing ASN1_TIME and takes ownership

fn days_from_now(days: u32) -> Result<Asn1TimeSslError>

Creates a new time on specified interval in days from now

unsafe fn get_handle(&self) -> *mut ASN1_TIME

Returns raw handle

Trait Implementations

impl Drop for Asn1Time
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more