Struct test_cert_gen::PrivateKey [−][src]
pub struct PrivateKey(_);Expand description
DER-encoded.
Implementations
Construct a private key from DER binary file.
Construct a private key from PEM text file.
This operation returns an error if PEM file contains zero or more than one certificate.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
Blanket Implementations
Mutably borrows from an owned value. Read more