InterimValidationResult Property
Contains the validation status of the moment.
Syntax
public var interimValidationResult: CertificatevalidatorInterimValidationResults
public enum class CertificatevalidatorInterimValidationResults(val value: Int) {
cvtValid(0),
cvtValidButUntrusted(1),
cvtInvalid(2),
cvtCantBeEstablished(3);
}
Default Value
0
Remarks
Over the course of the validation process, the validator maintains an interim validity status for the chain that is being processed. This status is influenced by every single step of the validation routine, and may change along the way, before the end of the chain is reached and the final validation conclusion is drawn.
Use this property to check the interim validity status mid-flight.
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) |
This property is not available at design time.