public Map < X509Certificate , byte [ ] > getOcspResponses ( ) { Map < X509Certificate , byte [ ] > copy = new HashMap <> ( ocspResponses . size ( ) ) ; for ( Map . Entry < X509Certificate , byte [ ] > e : ocspResponses . entrySet ( ) ) { copy . put ( e . getKey ( ) , e . getValue ( ) . clone ( ) ) ; } return copy ; }
Gets the OCSP responses . These responses are used to determine the revocation status of the specified certificates when OCSP is used .