Struct linkspace_pkt::SigningKey
source · pub struct SigningKey(pub SigningKey);Tuple Fields§
§0: SigningKeyImplementations§
source§impl SigningKey
impl SigningKey
pub fn generate() -> SigningKey
pub fn generate_with<R>(rng: &mut R) -> SigningKeywhere R: RngCore + CryptoRng,
source§impl SigningKey
impl SigningKey
pub fn try_from(bytes: [u8; 32]) -> Result<SigningKey, Error>
pub fn pubkey_bytes(&self) -> [u8; 32]
Trait Implementations§
source§impl Clone for SigningKey
impl Clone for SigningKey
source§fn clone(&self) -> SigningKey
fn clone(&self) -> SigningKey
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 more