[−][src]Trait elliptic_curve::secret_key::SecretValue
This is supported on crate feature
zeroize
only.Inner value stored by a SecretKey
.
Associated Types
type Secret: Into<FieldBytes<Self>> + Zeroize
This is supported on crate feature
zeroize
only.Inner secret value
Required methods
fn from_secret_bytes(bytes: &FieldBytes<Self>) -> Option<Self::Secret>
This is supported on crate feature
zeroize
only.Parse the secret value from bytes
Implementors
impl<C> SecretValue for C where
C: Curve + ProjectiveArithmetic,
FieldBytes<C>: From<Scalar<C>> + for<'a> From<&'a Scalar<C>>,
Scalar<C>: PrimeField<Repr = FieldBytes<C>> + Zeroize,
[src]
C: Curve + ProjectiveArithmetic,
FieldBytes<C>: From<Scalar<C>> + for<'a> From<&'a Scalar<C>>,
Scalar<C>: PrimeField<Repr = FieldBytes<C>> + Zeroize,
type Secret = NonZeroScalar<C>
This is supported on crate feature
zeroize
only.