Table of Contents

Class SharePolicyException

Namespace
PostQuantum.SecretSharing
Assembly
PostQuantum.SecretSharing.dll

Thrown when a threshold policy is invalid or violated: k < 2 (including the banned k = 1), k > n, n > 255, secret length out of range, a share index outside 1..n, or a reconstruct call given a number of shares not equal to k.

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

Constructors

SharePolicyException(string)

Creates the exception with a human-readable message.

public SharePolicyException(string message)

Parameters

message string

SharePolicyException(string, Exception)

Creates the exception with a message and an inner cause.

public SharePolicyException(string message, Exception innerException)

Parameters

message string
innerException Exception