ChainValidationResult Property
The general outcome of a certificate chain validation routine. Use ChainValidationDetails to get information about the reasons that contributed to the validation result.
Syntax
public var chainValidationResult: XadessignerChainValidationResults {
get {...} }
public enum XadessignerChainValidationResults: Int32 { case cvtValid = 0 case cvtValidButUntrusted = 1 case cvtInvalid = 2 case cvtCantBeEstablished = 3 }
Default Value
0
Remarks
Available options:
cvtValid | 0 | The chain is valid |
cvtValidButUntrusted | 1 | The chain is valid, but the root certificate is not trusted |
cvtInvalid | 2 | The chain is not valid (some of certificates are revoked, expired, or contain an invalid signature) |
cvtCantBeEstablished | 3 | The validity of the chain cannot be established because of missing or unavailable validation information (certificates, CRLs, or OCSP responses) |
Use the ValidationLog property to access the detailed validation log.
This property is read-only.