Struct openssl::dsa::Dsa []

pub struct Dsa(_);

Methods

impl Dsa
[src]

[src]

Generate a DSA key pair.

[src]

Deserializes a PEM-formatted private key.

[src]

Deserializes a PEM-formatted private key, using the supplied password if the key is encrypted.

Panics

Panics if passphrase contains an embedded null.

[src]

Deserializes a PEM-formatted private key, using a callback to retrieve a password if the key is encrypted.

The callback should copy the password into the provided buffer and return the number of bytes written.

[src]

Deserializes a private key from DER-formatted data.

[src]

Deserializes a public key from PEM-formatted data.

[src]

Deserializes a public key from DER-formatted data.

[src]

Deprecated since 0.9.2

: use private_key_from_pem_callback

Methods from Deref<Target = DsaRef>

[src]

Serializes the private key to PEM.

[src]

Serializes the private key to PEM, encrypting it with the specified symmetric cipher and passphrase.

[src]

Serializes a public key to PEM.

[src]

Serializes the private key to DER.

[src]

Serializes the public key to DER.

[src]

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl ForeignType for Dsa

The raw C type.

The type representing a reference to this type.

Constructs an instance of this type from its raw type.

Returns a raw pointer to the wrapped value.

impl Drop for Dsa

Executes the destructor for this type. Read more

impl Deref for Dsa

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for Dsa

Mutably dereferences the value.

impl Debug for Dsa
[src]

[src]

Formats the value using the given formatter.