Trait askar_crypto::repr::KeypairMeta [−][src]
pub trait KeypairMeta: KeyMeta { type PublicKeySize: ArrayLength<u8>; type KeypairSize: ArrayLength<u8>; }
Expand description
For concrete secret + public key types
Associated Types
type PublicKeySize: ArrayLength<u8>
[src]
Expand description
The size of the key public bytes
type KeypairSize: ArrayLength<u8>
[src]
Expand description
The size of the secret bytes and public bytes combined
Implementors
impl<Pk> KeypairMeta for BlsKeyPair<Pk> where
Pk: BlsPublicKeyType,
U32: Add<Pk::BufferSize>,
<U32 as Add<Pk::BufferSize>>::Output: ArrayLength<u8>,
[src]
impl<Pk> KeypairMeta for BlsKeyPair<Pk> where
Pk: BlsPublicKeyType,
U32: Add<Pk::BufferSize>,
<U32 as Add<Pk::BufferSize>>::Output: ArrayLength<u8>,
[src]This is supported on crate feature
bls
only.