Struct openssl::dsa::DsaRef []

pub struct DsaRef(_);

Reference to Dsa.

Methods

impl DsaRef
[src]

[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]

Returns the maximum size of the signature output by self in bytes. Returns None if the keys are uninitialized.

OpenSSL documentation at DSA_size

[src]

Returns the DSA prime parameter of self.

[src]

Returns the DSA sub-prime parameter of self.

[src]

Returns the DSA base parameter of self.

[src]

Returns whether the DSA includes a public key, used to confirm the authenticity of the message.

[src]

Returns whether the DSA includes a private key, used to prove the authenticity of a message.

Trait Implementations

impl ForeignTypeRef for DsaRef

The raw C type.

[src]

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

[src]

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

[src]

Returns a raw pointer to the wrapped value.

impl Send for DsaRef
[src]

impl Sync for DsaRef
[src]