Struct ring_compat::signature::ed25519::SigningKey [−][src]
pub struct SigningKey(_);
This is supported on crate feature
signature
only.Ed25519 signing key.
Implementations
impl SigningKey
[src]
impl SigningKey
[src]pub const SIZE: usize
[src]
Size of a raw SigningKey
(a.k.a. seed) in bytes.
pub fn from_seed(seed: &[u8]) -> Result<Self, Error>
[src]
Create a new SigningKey
from an unexpanded seed value (32-bytes).
pub fn from_pkcs8(pkcs8_key: &[u8]) -> Result<Self, Error>
[src]
Create a new SigningKey
from a PKCS#8 encoded key.
pub fn verify_key(&self) -> VerifyingKey
[src]
Get the VerifyingKey
for this SigningKey
.
Trait Implementations
impl From<&'_ SigningKey> for VerifyingKey
[src]
impl From<&'_ SigningKey> for VerifyingKey
[src]fn from(signing_key: &SigningKey) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for SigningKey
impl RefUnwindSafe for SigningKey
impl Send for SigningKey
impl Send for SigningKey
impl Sync for SigningKey
impl Sync for SigningKey
impl Unpin for SigningKey
impl Unpin for SigningKey
impl UnwindSafe for SigningKey
impl UnwindSafe for SigningKey