pub trait KeypairMeta: KeyMeta {
type PublicKeySize: ArrayLength<u8>;
type KeypairSize: ArrayLength<u8>;
}Expand description
For concrete secret + public key types
Required Associated Types§
Sourcetype PublicKeySize: ArrayLength<u8>
type PublicKeySize: ArrayLength<u8>
The size of the key public bytes
Sourcetype KeypairSize: ArrayLength<u8>
type KeypairSize: ArrayLength<u8>
The size of the secret bytes and public bytes combined
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
Source§impl KeypairMeta for Ed25519KeyPair
Available on crate feature ed25519 only.
impl KeypairMeta for Ed25519KeyPair
Available on crate feature
ed25519 only.Source§impl KeypairMeta for K256KeyPair
Available on crate feature k256 only.
impl KeypairMeta for K256KeyPair
Available on crate feature
k256 only.Source§impl KeypairMeta for P256KeyPair
Available on crate features p256_hardware or p256 only.
impl KeypairMeta for P256KeyPair
Available on crate features
p256_hardware or p256 only.Source§impl KeypairMeta for P384KeyPair
Available on crate feature p384 only.
impl KeypairMeta for P384KeyPair
Available on crate feature
p384 only.Source§impl KeypairMeta for X25519KeyPair
Available on crate feature ed25519 only.
impl KeypairMeta for X25519KeyPair
Available on crate feature
ed25519 only.Source§impl<Pk> KeypairMeta for BlsKeyPair<Pk>where
Pk: BlsPublicKeyType,
U32: Add<Pk::BufferSize>,
<U32 as Add<Pk::BufferSize>>::Output: ArrayLength<u8>,
Available on crate feature bls only.
impl<Pk> KeypairMeta for BlsKeyPair<Pk>where
Pk: BlsPublicKeyType,
U32: Add<Pk::BufferSize>,
<U32 as Add<Pk::BufferSize>>::Output: ArrayLength<u8>,
Available on crate feature
bls only.