Struct openssl::ecdsa::EcdsaSigRef

source ·
pub struct EcdsaSigRef(_);
Expand description

A reference to an EcdsaSig.

Implementations§

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

This corresponds to i2d_ECDSA_SIG.

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

This corresponds to ECDSA_do_verify.

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

This corresponds to ECDSA_SIG_get0.

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

This corresponds to ECDSA_SIG_get0.

Trait Implementations§

Converts this type into a shared reference of the (usually inferred) input type.
Immutably borrows from an owned value. Read more
The raw C type.
Constructs a shared instance of this type from its raw type.
Constructs a mutable reference of this type from its raw type.
Returns a raw pointer to the wrapped value.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.