question: public boolean isRevocationValid ( ) { if ( basicResp == null ) return false ; if ( signCerts . size ( ) < 2 ) return false ; try { X509Certificate [ ] cs = ( X509Certificate [ ] ) getSignCertificateChain ( ) ; SingleResp sr = basicResp . getResponses ( ) [ 0 ] ; CertificateID cid = sr . getCertID ( ) ; X509Certificate sigcer = getSigningCertificate ( ) ; X509Certificate isscer = cs [ 1 ] ; CertificateID tis = SignUtils . generateCertificateId ( isscer , sigcer . getSerialNumber ( ) , cid . getHashAlgOID ( ) ) ; return tis . equals ( cid ) ; } catch ( Exception ignored ) { } return false ; }
target:  Checks if OCSP revocation refers to the document signing certificate.