pub struct SecretKey(_);
An ECDSA secret key.
Generate a new random ECDSA secret key.
Sign a message with this secret key, producing a DER-encoded ECDSA signature.
Encode a secret key into a byte buffer.
Decode a secret key from a byte buffer.
source
Demote an ECDSA keypair to a secret key.
Promote an ECDSA secret key into a keypair.
TypeId
self
Returns the argument unchanged.
Span
Instrumented
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U
impl Read
Self
Subscriber
WithDispatch