Table of Contents

Class ShareConsistencyException

Namespace
PostQuantum.SecretSharing
Assembly
PostQuantum.SecretSharing.dll

Thrown when a set of shares is individually well-formed but cannot belong to one coherent split: mismatched split identifiers, differing (k, n, secretLength) or authentication metadata, duplicate share indices, or — after interpolation — a reconstructed secret whose HKDF check value does not match.

public sealed class ShareConsistencyException : SecretSharingException, ISerializable
Inheritance
ShareConsistencyException
Implements
Inherited Members

Remarks

In unauthenticated mode a check-value mismatch cannot identify which share lied; the message says so and points to authenticated mode.

Constructors

ShareConsistencyException(string)

Creates the exception with a human-readable message.

public ShareConsistencyException(string message)

Parameters

message string

ShareConsistencyException(string, Exception)

Creates the exception with a message and an inner cause.

public ShareConsistencyException(string message, Exception innerException)

Parameters

message string
innerException Exception