ChainValidated Event
Reports the end of the validation process.
Syntax
public open class DefaultXadesverifierEventListener : XadesverifierEventListener { ... public override fun chainValidated(e: XadesverifierChainValidatedEvent) {} ... } public class XadesverifierChainValidatedEvent { val subjectRDN: String? val validationResult: Int val validationDetails: Int }
Remarks
This event is fired when a certificate chain has been validated. SubjectRDN identifies the owner of the validated certificate.
If ValidationResult equals to 0 (zero), validation has succeeded. Any other value reports failure, and ValidationDetails specifies more details on possible reason for it.