@Test public void testWithCustomDataLoaderConstructor() { OCSPDataLoader ocspDataLoader = new OCSPDataLoader(); OnlineOCSPSource ocspSource = new OnlineOCSPSource(ocspDataLoader); OCSPToken ocspToken = ocspSource.getRevocationToken(goodUser, goodCa); assertNotNull(ocspToken); assertNotNull(ocspToken.getBasicOCSPResp()); }
@Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); }
OnlineOCSPSource implements OCSPSource, RevocationSourceAlternateUrlsSupport<OCSP>, OnlineRevocationSource<OCSP> { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } }
OnlineOCSPSource implements OCSPSource, RevocationSourceAlternateUrlsSupport<OCSP>, OnlineRevocationSource<OCSP> { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } OnlineOCSPSource();  OnlineOCSPSource(final DataLoader dataLoader); }
OnlineOCSPSource implements OCSPSource, RevocationSourceAlternateUrlsSupport<OCSP>, OnlineRevocationSource<OCSP> { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } OnlineOCSPSource();  OnlineOCSPSource(final DataLoader dataLoader); @Override void setDataLoader(final DataLoader dataLoader); void setNonceSource(NonceSource nonceSource); void setCertIDDigestAlgorithm(DigestAlgorithm certIDDigestAlgorithm); @Override OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken); @Override OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken,
			List<String> alternativeUrls); }
OnlineOCSPSource implements OCSPSource, RevocationSourceAlternateUrlsSupport<OCSP>, OnlineRevocationSource<OCSP> { @Override public OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } OnlineOCSPSource();  OnlineOCSPSource(final DataLoader dataLoader); @Override void setDataLoader(final DataLoader dataLoader); void setNonceSource(NonceSource nonceSource); void setCertIDDigestAlgorithm(DigestAlgorithm certIDDigestAlgorithm); @Override OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken); @Override OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken,
			List<String> alternativeUrls);  }