Table of Contents

Class ShareFormatException

Namespace
PostQuantum.SecretSharing
Assembly
PostQuantum.SecretSharing.dll

Thrown when share bytes are not a valid, strictly-canonical v1 .pqss encoding: malformed CBOR, non-canonical encoding (indefinite lengths, non-shortest integers, out-of-order or duplicate keys), trailing bytes, wrong CBOR major type for a field, unknown keys, or a field whose presence contradicts the declared authentication mode.

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

Constructors

ShareFormatException(string)

Creates the exception with a human-readable message.

public ShareFormatException(string message)

Parameters

message string

ShareFormatException(string, Exception)

Creates the exception with a message and an inner cause.

public ShareFormatException(string message, Exception innerException)

Parameters

message string
innerException Exception