Enum ockam_vault::SigningSecret
source · pub enum SigningSecret {
EdDSACurve25519(EdDSACurve25519SecretKey),
ECDSASHA256CurveP256(ECDSASHA256CurveP256SecretKey),
}
Expand description
Signing secret binary
Variants§
EdDSACurve25519(EdDSACurve25519SecretKey)
Curve25519 key that is only used for EdDSA signatures.
ECDSASHA256CurveP256(ECDSASHA256CurveP256SecretKey)
Curve P-256 key that is only used for ECDSA SHA256 signatures.
Trait Implementations§
source§impl Clone for SigningSecret
impl Clone for SigningSecret
source§fn clone(&self) -> SigningSecret
fn clone(&self) -> SigningSecret
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 From<SigningSecret> for StoredSecret
impl From<SigningSecret> for StoredSecret
source§fn from(value: SigningSecret) -> Self
fn from(value: SigningSecret) -> Self
Converts to this type from the input type.
source§impl PartialEq for SigningSecret
impl PartialEq for SigningSecret
source§fn eq(&self, other: &SigningSecret) -> bool
fn eq(&self, other: &SigningSecret) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<StoredSecret> for SigningSecret
impl TryFrom<StoredSecret> for SigningSecret
source§impl Zeroize for SigningSecret
impl Zeroize for SigningSecret
impl Eq for SigningSecret
impl StructuralEq for SigningSecret
impl StructuralPartialEq for SigningSecret
Auto Trait Implementations§
impl RefUnwindSafe for SigningSecret
impl Send for SigningSecret
impl Sync for SigningSecret
impl Unpin for SigningSecret
impl UnwindSafe for SigningSecret
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> 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