Table of Contents

Enum SigningErrorReason

Namespace
SimpleSign.Core.Signing
Assembly
SimpleSign.Core.dll

Stable machine-readable reason codes for SigningException.

public enum SigningErrorReason

Fields

AlgorithmIncompatible = 3

The signature/hash algorithm combination is unsupported or incompatible.

CertificateExpired = 2

The signing certificate is not within its validity period.

CertificateNotCurrentlyValid = 12

The signing certificate is not valid at the configured signing time.

CredentialMissing = 0

No signing credential was configured.

DocumentEncrypted = 9

The document is encrypted.

DocumentNotSignable = 8

The document cannot be signed (e.g. DocMDP-locked).

DowngradeRequiresDetailedResult = 7

The byte-only terminal was used with a best-effort level profile.

ExternalSignerFailure = 13

The configured external signer failed to produce a signature.

ExternalSignerReturnedEmpty = 6

The external signer returned an empty or null signature.

ExternalSignerReturnedInvalidSignature = 14

The external signer returned a signature that does not verify with the configured certificate.

LevelDependenciesMissing = 5

The requested baseline level dependencies are incomplete.

LevelNotAchievable = 4

The requested baseline level cannot be produced.

NetworkFailure = 10

A network-dependent signing step failed.

PrivateKeyMissing = 1

The signing certificate is missing a usable private key.

Unspecified = 11

An unspecified signing failure occurred.