/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CertSelectorTest.java | 32 X509CertSelector certSelector = new X509CertSelector(); 33 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "127.0.0.1"); 36 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); 39 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); 43 X509CertSelector certSelector = new X509CertSelector(); 44 certSelector.addSubjectAlternativeName(GeneralName.iPAddress, "::ffff:127.0.0.1"); 47 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); 50 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); 54 X509CertSelector certSelector = new X509CertSelector(); 55 certSelector.setMatchAllSubjectAltNames(false) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStoreSpiTest.java | 28 import java.security.cert.CertSelector; 63 CertSelector certSelector = new tmpCertSelector();//new 73 .engineGetCertificates(certSelector)); 93 public static class tmpCertSelector implements CertSelector {
|
PKIXBuilderParametersTest.java | 52 * Test #1 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 67 assertNotNull("certSelector", p.getTargetCertConstraints()); 71 * Test #2 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 82 // both parameters are valid but CertSelector is null 85 assertNull("certSelector", p.getTargetCertConstraints()); 89 * Test #3 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 115 * Test #4 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 130 * Test #5 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 146 * Test #6 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 169 * Test #4 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code [all...] |
PKIXParametersTest.java | 392 * Assertion: returns a <code>CertSelector</code> specifying 408 * Assertion: note that the <code>CertSelector</code> returned 436 * Test for <code>setTargetCertConstraints(CertSelector)</code> method<br> 438 * The constraints are specified as an instance of CertSelector<br> 461 * Test #2 for <code>setTargetCertConstraints(CertSelector)</code> method<br> 462 * Assertion: ... the CertSelector specified is cloned to protect against [all...] |
CertStore1Test.java | 390 * <code>getCertificates(CertSelector selector)</code>
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertStoreSpiTest.java | 33 import java.security.cert.CertSelector; 55 CertSelector certSelector = new tmpCertSelector();//new 65 .engineGetCertificates(certSelector)); 85 public static class tmpCertSelector implements CertSelector {
|
PKIXBuilderParametersTest.java | 81 * Test #1 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 96 assertNotNull("certSelector", p.getTargetCertConstraints()); 100 * Test #2 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 111 // both parameters are valid but CertSelector is null 114 assertNull("certSelector", p.getTargetCertConstraints()); 118 * Test #3 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 146 * Test #4 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 161 * Test #5 for <code>PKIXBuilderParameters(Set, CertSelector)</code> 177 * Test #1 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code> 193 * Test #2 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code [all...] |
CertStore2Test.java | 12 import java.security.cert.CertSelector; 315 static class MyCertSelector implements CertSelector { 327 static class MyOtherCertSelector implements CertSelector { 367 CertSelector selector) throws CertStoreException {
|
CertStore1Test.java | 376 * <code>getCertificates(CertSelector selector)</code>
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXBuilderParameters_ImplTest.java | 44 * Test #1 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code> 61 assertNotNull("certSelector", p.getTargetCertConstraints()); 65 * Test #2 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code> 78 // both parameters are valid but CertSelector is null 82 assertNull("certSelector", p.getTargetCertConstraints()); 86 * Test #3 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code> 101 // both parameters are valid but CertSelector is null 109 * Test #5 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code> 129 * Test #6 for <code>PKIXBuilderParameters(KeyStore, CertSelector)</code>
|
CertStore_ImplTest.java | 30 import java.security.cert.CertSelector; 87 CertSelector certSelector = new X509CertSelector(); 89 Collection collection = certS.getCertificates(certSelector);
|
/libcore/luni/src/main/java/java/security/cert/ |
CertSelector.java | 30 public interface CertSelector extends Cloneable { 33 * Clones this {@code CertSelector} instance.
|
CertStoreSpi.java | 44 * CertSelector} from this instance. 54 public abstract Collection<? extends Certificate> engineGetCertificates(CertSelector selector)
|
PKIXBuilderParameters.java | 56 CertSelector targetConstraints) 77 CertSelector targetConstraints)
|
PKIXParameters.java | 56 private CertSelector targetCertConstraints; 502 public CertSelector getTargetCertConstraints() { 504 :(CertSelector)targetCertConstraints.clone()); 514 public void setTargetCertConstraints(CertSelector targetCertConstraints) { 516 : (CertSelector)targetCertConstraints.clone());
|
CertStore.java | 228 * CertSelector} from this certificate store. 238 public final Collection<? extends Certificate> getCertificates(CertSelector selector)
|
X509CertSelector.java | 47 * A certificate selector ({@code CertSelector} for selecting {@code 50 public class X509CertSelector implements CertSelector { [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
MyCertStoreSpi.java | 26 import java.security.cert.CertSelector; 48 public Collection engineGetCertificates(CertSelector selector)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
CertStoreCollectionSpi.java | 6 import java.security.cert.CertSelector; 35 CertSelector selector)
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertStoreSpi.java | 28 import java.security.cert.CertSelector; 51 public Collection<Certificate> engineGetCertificates(CertSelector selector)
|
/libcore/crypto/src/main/java/org/conscrypt/ |
TrustedCertificateStore.java | 308 CertSelector selector = new CertSelector() { 327 CertSelector selector = new CertSelector() { 353 CertSelector selector = new CertSelector() { 431 // like java.security.cert.CertSelector but with X509Certificate and without cloning 432 private static interface CertSelector { 437 File dir, X500Principal subject, CertSelector selector, Class<T> desiredReturnType) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
AttributeCertificateIssuer.java | 5 import java.security.cert.CertSelector; 27 implements CertSelector, Selector
|
AttributeCertificateHolder.java | 7 import java.security.cert.CertSelector; 51 implements CertSelector, Selector
|
ExtendedPKIXParameters.java | 7 import java.security.cert.CertSelector; 455 public void setTargetCertConstraints(CertSelector selector)
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CertSelectorTest.java | [all...] |