Table of Contents

Interface IShareAuthenticator

Namespace
PostQuantum.SecretSharing
Assembly
PostQuantum.SecretSharing.dll

A dealer-side signer that authenticates the canonical bytes of a share.

public interface IShareAuthenticator

Remarks

The signature binds the dealer's public key together with all share metadata (keys 0–10 of the format), so a verifier with the pinned public key can detect any tampering or substitution. v1 ships one implementation, MlDsa65ShareAuthenticator (net10.0).

Properties

Kind

The authentication algorithm this signer represents.

ShareAuthenticationKind Kind { get; }

Property Value

ShareAuthenticationKind

PublicKey

The dealer public key embedded in, and bound by, every signed share.

ReadOnlyMemory<byte> PublicKey { get; }

Property Value

ReadOnlyMemory<byte>

Methods

Sign(ReadOnlySpan<byte>)

Signs the canonical encoding of a share's keys 0–10 (signature excluded, dealer key included) and returns the raw signature bytes.

byte[] Sign(ReadOnlySpan<byte> canonicalShareBytes)

Parameters

canonicalShareBytes ReadOnlySpan<byte>

Returns

byte[]