Struct openssl::pkey::PKeyRef [] [src]

pub struct PKeyRef(_);

Methods

impl PKeyRef
[src]

Get a reference to the interal RSA key for direct access to the key components

Stores private key as a PEM

Encode public key in PEM format

Encode public key in DER format

Trait Implementations

impl OpenSslTypeRef for PKeyRef
[src]

The raw C type.

Constructs a shared instance of this type from its raw type.

Constructs a mutable reference of this type from its raw type.

Returns a raw pointer to the wrapped value.