pub struct IdentityIsland { /* private fields */ }Expand description
ML-DSA-65 identity deterministically derived from a master seed via HKDF-SHA3-512.
For hardware-backed or enclave-resident keys, implement IdentitySigner directly.
Implementations§
Source§impl IdentityIsland
impl IdentityIsland
Sourcepub fn derive(
master: &[u8; 32],
deployment: &[u8],
context: &[u8],
) -> Result<Self, KernelError>
pub fn derive( master: &[u8; 32], deployment: &[u8], context: &[u8], ) -> Result<Self, KernelError>
Derives a key pair from master (secret), deployment, and context.
HKDF info = deployment || ':' || context. Different deployments or contexts
yield independent key material from the same master seed.
Returns HkdfExpandFailed if the combined info string exceeds 512 bytes.
Trait Implementations§
Source§impl IdentitySigner for IdentityIsland
impl IdentitySigner for IdentityIsland
Auto Trait Implementations§
impl Freeze for IdentityIsland
impl RefUnwindSafe for IdentityIsland
impl Send for IdentityIsland
impl Sync for IdentityIsland
impl Unpin for IdentityIsland
impl UnsafeUnpin for IdentityIsland
impl UnwindSafe for IdentityIsland
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more