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

Trait Implementations

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.

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 AsRef<EcdsaSigRef> for EcdsaSig
[+]

[]

Performs the conversion.

impl Send for EcdsaSig
[src]

impl Sync for EcdsaSig
[src]