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

pub struct Asn1Time(_);

Methods

impl Asn1Time
[src]

unsafe fn from_ptr(handle: *mut ASN1_TIME) -> Asn1Time

Wraps existing ASN1_TIME and takes ownership

fn days_from_now(days: u32) -> Result<Asn1Time, ErrorStack>

Creates a new time on specified interval in days from now

fn as_ptr(&self) -> *mut ASN1_TIME

Returns the 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