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

pub struct Asn1Time(_);

Corresponds to the ASN.1 structure Time defined in RFC5280

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<Asn1TimeErrorStack>

Creates a new time on specified interval in days from now

Methods from Deref<Target=Asn1TimeRef<'static>>

fn as_ptr(&self) -> *mut ASN1_TIME

Returns the raw handle

Trait Implementations

impl Deref for Asn1Time
[src]

type Target = Asn1TimeRef<'static>

The resulting type after dereferencing

fn deref(&self) -> &Asn1TimeRef<'static>

The method called to dereference a value

impl Drop for Asn1Time
[src]

fn drop(&mut self)

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