Table of Contents

Class ChainValidationResult

Namespace
SimpleSign.Core.Extensions
Assembly
SimpleSign.Core.dll

Result of a country/regulation-specific chain validation.

public sealed class ChainValidationResult
Inheritance
ChainValidationResult
Inherited Members

Properties

Errors

Validation errors, if any.

public IReadOnlyList<string>? Errors { get; init; }

Property Value

IReadOnlyList<string>

IsTrusted

Whether the chain is trusted by this provider.

public required bool IsTrusted { get; init; }

Property Value

bool

Metadata

Additional metadata extracted during validation.

public IReadOnlyDictionary<string, string>? Metadata { get; init; }

Property Value

IReadOnlyDictionary<string, string>

PolicyLevel

Human-readable policy or assurance level (e.g., "A3", "Gold", "QCP-w").

public string? PolicyLevel { get; init; }

Property Value

string

RegionCode

Region code of the provider that produced this result.

public required string RegionCode { get; init; }

Property Value

string

SignerId

Extracted signer national ID, if present in the certificate (e.g., CPF from SAN).

public string? SignerId { get; init; }

Property Value

string

SignerIdType

Type of the extracted ID (e.g., "CPF", "CNPJ").

public string? SignerIdType { get; init; }

Property Value

string