Trait ParticipantSecretKeys

Source
pub trait ParticipantSecretKeys {
    // Required methods
    fn ec_secret_key(&self) -> &X25519Secret;
    fn pq_secret_key(&self) -> &MlKemSecret;
}
Expand description

Provides access to both elliptic curve and post-quantum secret keys.

Abstracts over different participant types that hold the secret keys needed for X-Wing hybrid KEM decryption operations.

Required Methods§

Source

fn ec_secret_key(&self) -> &X25519Secret

Access to a type’s X25519 elliptic curve secret key.

Source

fn pq_secret_key(&self) -> &MlKemSecret

Access to a type’s ML-KEM post-quantum secret key.

Implementors§