referrerpolicy=no-referrer-when-downgrade

Type Alias sp_core::paired_crypto::Public

source ·
pub type Public<const LEFT_PLUS_RIGHT_LEN: usize, SubTag> = PublicBytes<LEFT_PLUS_RIGHT_LEN, (PairedCryptoTag, SubTag)>;
Expand description

A public key.

Aliased Type§

struct Public<const LEFT_PLUS_RIGHT_LEN: usize, SubTag>(pub [u8; LEFT_PLUS_RIGHT_LEN], _);

Fields§

§0: [u8; LEFT_PLUS_RIGHT_LEN]

Trait Implementations§

source§

impl<LeftPair: PairT, RightPair: PairT, const LEFT_PLUS_RIGHT_PUBLIC_LEN: usize, const SIGNATURE_LEN: usize, SubTag: PairedCryptoSubTagBound> From<Pair<LeftPair, RightPair, LEFT_PLUS_RIGHT_PUBLIC_LEN, SIGNATURE_LEN, SubTag>> for Public<LEFT_PLUS_RIGHT_PUBLIC_LEN, SubTag>
where Pair<LeftPair, RightPair, LEFT_PLUS_RIGHT_PUBLIC_LEN, SIGNATURE_LEN, SubTag>: PairT<Public = Public<LEFT_PLUS_RIGHT_PUBLIC_LEN, SubTag>>,

source§

fn from( x: Pair<LeftPair, RightPair, LEFT_PLUS_RIGHT_PUBLIC_LEN, SIGNATURE_LEN, SubTag>, ) -> Self

Converts to this type from the input type.