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
IsTrusted
Whether the chain is trusted by this provider.
public required bool IsTrusted { get; init; }
Property Value
Metadata
Additional metadata extracted during validation.
public IReadOnlyDictionary<string, string>? Metadata { get; init; }
Property Value
PolicyLevel
Human-readable policy or assurance level (e.g., "A3", "Gold", "QCP-w").
public string? PolicyLevel { get; init; }
Property Value
RegionCode
Region code of the provider that produced this result.
public required string RegionCode { get; init; }
Property Value
SignerId
Extracted signer national ID, if present in the certificate (e.g., CPF from SAN).
public string? SignerId { get; init; }
Property Value
SignerIdType
Type of the extracted ID (e.g., "CPF", "CNPJ").
public string? SignerIdType { get; init; }