pub enum SigningSecretKeyHandle {
EdDSACurve25519(HandleToSecret),
ECDSASHA256CurveP256(HandleToSecret),
}
Expand description
A handle to signing secret key inside a vault.
Variants§
EdDSACurve25519(HandleToSecret)
Curve25519 key that is only used for EdDSA signatures.
ECDSASHA256CurveP256(HandleToSecret)
Curve P-256 key that is only used for ECDSA SHA256 signatures.
Implementations§
source§impl SigningSecretKeyHandle
impl SigningSecretKeyHandle
sourcepub fn handle(&self) -> &HandleToSecret
pub fn handle(&self) -> &HandleToSecret
Trait Implementations§
source§impl Clone for SigningSecretKeyHandle
impl Clone for SigningSecretKeyHandle
source§fn clone(&self) -> SigningSecretKeyHandle
fn clone(&self) -> SigningSecretKeyHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SigningSecretKeyHandle
impl Debug for SigningSecretKeyHandle
source§impl Ord for SigningSecretKeyHandle
impl Ord for SigningSecretKeyHandle
source§fn cmp(&self, other: &SigningSecretKeyHandle) -> Ordering
fn cmp(&self, other: &SigningSecretKeyHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SigningSecretKeyHandle
impl PartialEq for SigningSecretKeyHandle
source§fn eq(&self, other: &SigningSecretKeyHandle) -> bool
fn eq(&self, other: &SigningSecretKeyHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SigningSecretKeyHandle
impl PartialOrd for SigningSecretKeyHandle
source§fn partial_cmp(&self, other: &SigningSecretKeyHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &SigningSecretKeyHandle) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl ToSqlxType for SigningSecretKeyHandle
impl ToSqlxType for SigningSecretKeyHandle
impl Eq for SigningSecretKeyHandle
impl StructuralEq for SigningSecretKeyHandle
impl StructuralPartialEq for SigningSecretKeyHandle
Auto Trait Implementations§
impl RefUnwindSafe for SigningSecretKeyHandle
impl Send for SigningSecretKeyHandle
impl Sync for SigningSecretKeyHandle
impl Unpin for SigningSecretKeyHandle
impl UnwindSafe for SigningSecretKeyHandle
Blanket Implementations§
source§impl<D> AsyncTryClone for D
impl<D> AsyncTryClone for D
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.