[]Struct openssl::ecdsa::EcdsaSig

pub struct EcdsaSig(_);

A low level interface to ECDSA

OpenSSL documentation at ECDSA_sign

Methods

impl EcdsaSig
[src]

Computes a digital signature of the hash value data using the private EC key eckey.

OpenSSL documentation at ECDSA_do_sign

Returns a new EcdsaSig by setting the r and s values associated with a ECDSA signature.

OpenSSL documentation at ECDSA_SIG_set0

Verifies if the signature is a valid ECDSA signature using the given public key.

OpenSSL documentation at ECDSA_do_verify

Returns internal component: r of a EcdsaSig. (See X9.62 or FIPS 186-2)

OpenSSL documentation at ECDSA_SIG_get0

Returns internal components: s of a EcdsaSig. (See X9.62 or FIPS 186-2)

OpenSSL documentation at ECDSA_SIG_get0

Decodes a DER-encoded ECDSA signature.

This corresponds to [d2i_ECDSA_SIG]: https://www.openssl.org/docs/man1.1.0/crypto/d2i_ECDSA_SIG.html

Methods from Deref<Target = EcdsaSigRef>

Serializes the ECDSA signature into a DER-encoded ECDSASignature structure.

This corresponds to [i2d_ECDSA_SIG]: https://www.openssl.org/docs/man1.1.0/crypto/i2d_ECDSA_SIG.html

Trait Implementations

impl Sync for EcdsaSig
[src]

impl AsRef<EcdsaSigRef> for EcdsaSig

Performs the conversion.

impl Send for EcdsaSig
[src]

impl Drop for EcdsaSig

Executes the destructor for this type. Read more

impl Deref for EcdsaSig

The resulting type after dereferencing.

Dereferences the value.

impl DerefMut for EcdsaSig

Mutably dereferences the value.

impl Borrow<EcdsaSigRef> for EcdsaSig

Immutably borrows from an owned value. Read more

impl ForeignType for EcdsaSig

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.

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more