identity_iota_interaction::types::crypto

Trait IotaPublicKey

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§

§

impl IotaPublicKey for BLS12381PublicKey

§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::BLS12381

§

impl IotaPublicKey for Ed25519PublicKey

§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::ED25519

§

impl IotaPublicKey for Secp256k1PublicKey

§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::Secp256k1

§

impl IotaPublicKey for Secp256r1PublicKey

§

const SIGNATURE_SCHEME: SignatureScheme = SignatureScheme::Secp256r1

Implementors§