@Test public void getRevocationTokenWithAlternateUrlTest() { CRLToken wrongRevocationToken = onlineCRLSource.getRevocationToken(goodUser, goodCa, Arrays.asList(alternative_url)); assertNull(wrongRevocationToken); CRLToken revocationToken = onlineCRLSource.getRevocationToken(goodCa, rootCa, Arrays.asList(alternative_url)); assertNotNull(revocationToken); }
@Override public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); }
OnlineCRLSource implements CRLSource, RevocationSourceAlternateUrlsSupport<CRL>, OnlineRevocationSource<CRL> { @Override public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } }
OnlineCRLSource implements CRLSource, RevocationSourceAlternateUrlsSupport<CRL>, OnlineRevocationSource<CRL> { @Override public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } OnlineCRLSource();  OnlineCRLSource(final DataLoader dataLoader); }
OnlineCRLSource implements CRLSource, RevocationSourceAlternateUrlsSupport<CRL>, OnlineRevocationSource<CRL> { @Override public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } OnlineCRLSource();  OnlineCRLSource(final DataLoader dataLoader); void setPreferredProtocol(final Protocol preferredProtocol); @Override void setDataLoader(final DataLoader dataLoader); @Override CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken); @Override CRLToken getRevocationToken(final CertificateToken certificateToken, final CertificateToken issuerToken,
			List<String> alternativeUrls); }
OnlineCRLSource implements CRLSource, RevocationSourceAlternateUrlsSupport<CRL>, OnlineRevocationSource<CRL> { @Override public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken) { return getRevocationToken(certificateToken, issuerCertificateToken, Collections.<String>emptyList()); } OnlineCRLSource();  OnlineCRLSource(final DataLoader dataLoader); void setPreferredProtocol(final Protocol preferredProtocol); @Override void setDataLoader(final DataLoader dataLoader); @Override CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken); @Override CRLToken getRevocationToken(final CertificateToken certificateToken, final CertificateToken issuerToken,
			List<String> alternativeUrls);  }