List of usage examples for org.bouncycastle.cert.ocsp OCSPResp hashCode
public int hashCode()
From source file:ee.ria.xroad.common.ocsp.OcspVerifier.java
License:Open Source License
private synchronized SingleResp verifyResponseValidityCached(OCSPResp response, X509Certificate subject, X509Certificate issuer) throws Exception { String key = SINGLE_RESP + response.hashCode() + subject.hashCode() + issuer.hashCode(); if (!CACHE.isValid(key)) { CACHE.setValue(key, verifyResponseValidity(response, subject, issuer)); }//from ww w . ja v a2s. c o m return (SingleResp) CACHE.getValue(key); }