pub trait Public: ByteArray + Derive + CryptoType + PartialEq + Eq + Clone + Send + Sync {
// Required method
fn to_public_crypto_pair(&self) -> CryptoTypePublicPair;
}
Expand description
Trait suitable for typical cryptographic PKI key public type.
Required Methods§
sourcefn to_public_crypto_pair(&self) -> CryptoTypePublicPair
fn to_public_crypto_pair(&self) -> CryptoTypePublicPair
Return CryptoTypePublicPair
from public key.
Object Safety§
This trait is not object safe.