Struct openssl::ssl::SslFiletype [−][src]
An identifier of the format of a certificate or key file.
Methods
impl SslFiletype
[src]
[−]
impl SslFiletype
pub fn from_raw(raw: c_int) -> SslFiletype
[src]
[−]
pub fn from_raw(raw: c_int) -> SslFiletype
Constructs an SslFiletype
from a raw OpenSSL value.
pub fn as_raw(&self) -> c_int
[src]
[−]
pub fn as_raw(&self) -> c_int
Returns the raw OpenSSL value represented by this type.
pub const PEM: SslFiletype
PEM: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_PEM)
The PEM format.
This corresponds to SSL_FILETYPE_PEM
.
pub const ASN1: SslFiletype
ASN1: SslFiletype = SslFiletype(ffi::SSL_FILETYPE_ASN1)
The ASN1 format.
This corresponds to SSL_FILETYPE_ASN1
.
Trait Implementations
impl Copy for SslFiletype
[src]
impl Copy for SslFiletype
impl Clone for SslFiletype
[src]
[+]
impl Clone for SslFiletype
Auto Trait Implementations
impl Send for SslFiletype
impl Send for SslFiletype
impl Sync for SslFiletype
impl Sync for SslFiletype