iota_types::crypto

Trait IotaPublicKey

Source
pub trait IotaPublicKey: VerifyingKey {
    const SIGNATURE_SCHEME: SignatureScheme;
}

Required Associated Constants§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IotaPublicKey for BLS12381PublicKey

Source§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::BLS12381

Source§

impl IotaPublicKey for Ed25519PublicKey

Source§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::ED25519

Source§

impl IotaPublicKey for Secp256k1PublicKey

Source§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::Secp256k1

Source§

impl IotaPublicKey for Secp256r1PublicKey

Source§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::Secp256r1

Implementors§