Realm

oa::crypto::pqc::device::DeviceMlDsaKey

Unique retained ML-DSA key. No mapping, serialization, Clone, or Debug. Abandonment quarantines its secret allocation; use consuming erase.

StRust public API

Declaration

pub struct DeviceMlDsaKey { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn parameters(&self) -> MlDsaParameters
pub const fn public_key(&self) -> &Matrix
pub const fn cleanup(&self) -> &DeviceErasure
pub fn erase(self) -> Result<DeviceErasure>

Public Method Documentation

pub const fn parameters( &self ) -> MlDsaParameters
No public source comment is attached to this declaration.
pub const fn public_key( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn cleanup( &self ) -> &DeviceErasure
No public source comment is attached to this declaration.
pub fn erase( self ) -> Result<DeviceErasure>
No public source comment is attached to this declaration.