Struct openssl::dsa::DsaRef[][src]

pub struct DsaRef<T>(_, _);

Reference to Dsa.

Methods

impl<T> DsaRef<T> where
    T: HasPublic
[src]

Serialies the public key into a PEM-encoded SubjectPublicKeyInfo structure.

The output will have a header of -----BEGIN PUBLIC KEY-----.

This corresponds to PEM_write_bio_DSA_PUBKEY.

Serializes the public key into a DER-encoded SubjectPublicKeyInfo structure.

This corresponds to i2d_DSA_PUBKEY.

impl<T> DsaRef<T> where
    T: HasParams
[src]

Returns the maximum size of the signature output by self in bytes.

OpenSSL documentation at DSA_size

Returns the DSA prime parameter of self.

Returns the DSA sub-prime parameter of self.

Returns the DSA base parameter of self.

Trait Implementations

impl<T> Borrow<DsaRef<T>> for Dsa<T>
[src]

Immutably borrows from an owned value. Read more

impl<T> AsRef<DsaRef<T>> for Dsa<T>
[src]

Performs the conversion.

impl<T> ForeignTypeRef for DsaRef<T>
[src]

The raw C type.

Important traits for &'a mut R

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

Important traits for &'a mut R

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

Returns a raw pointer to the wrapped value.

impl<T> Send for DsaRef<T>
[src]

impl<T> Sync for DsaRef<T>
[src]