/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CRLSelectorTest.java | 33 Collection<X500Principal> issuers = crlSelector.getIssuers(); local 35 issuers.clear(); 44 Collection<Object> issuers = crlSelector.getIssuerNames(); local 45 assertEquals(1, issuers.size()); 46 issuers.clear(); 47 assertEquals(0, issuers.size());
|
/libcore/luni/src/main/java/javax/net/ssl/ |
X509KeyManager.java | 32 * it with the specified public key type and certificate issuers. 36 * @param issuers 37 * the list of certificate issuers, or {@code null} if any issuer 45 public String chooseClientAlias(String[] keyType, Principal[] issuers, 50 * it with the specified public key type and certificate issuers. 54 * @param issuers 55 * the list of certificate issuers, or {@code null} if any issuer 63 public String chooseServerAlias(String keyType, Principal[] issuers, 78 * certificate issuers. 82 * @param issuers [all...] |
X509ExtendedKeyManager.java | 37 * it with the specified public key type and certificate issuers. 41 * @param issuers 42 * the list of certificate issuers, or {@code null} if any issuer 51 Principal[] issuers, SSLEngine engine) { 57 * it with the specified public key type and certificate issuers. 61 * @param issuers 62 * the list of certificate issuers, or {@code null} if any issuer 70 public String chooseEngineServerAlias(String keyType, Principal[] issuers,
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 70 dumpIssuers(issuers); 73 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 93 dumpIssuers(issuers); 96 return dumpAlias(keyManager.chooseServerAlias(keyType, issuers, socket)); 104 private void dumpIssuers(Principal[] issuers) { 105 out.print(" | issuers: "); 106 if (issuers == null) { 110 for (Principal issuer : issuers) { [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
KeyManagerImpl.java | 87 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 88 final String[] al = chooseAlias(keyTypes, issuers); 92 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 93 final String[] al = chooseAlias(new String[] { keyType }, issuers); 115 public String[] getClientAliases(String keyType, Principal[] issuers) { 116 return chooseAlias(new String[] { keyType }, issuers); 119 public String[] getServerAliases(String keyType, Principal[] issuers) { 120 return chooseAlias(new String[] { keyType }, issuers); 134 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { 135 final String[] al = chooseAlias(keyTypes, issuers); [all...] |
OpenSSLSocketImpl.java | 383 X509Certificate[] issuers = trustManager.getAcceptedIssuers(); local 384 if (issuers != null && issuers.length != 0) { 387 issuersBytes = NativeCrypto.encodeIssuerX509Principals(issuers); 520 X500Principal[] issuers; local 522 issuers = null; 524 issuers = new X500Principal[asn1DerEncodedPrincipals.length]; 526 issuers[i] = new X500Principal(asn1DerEncodedPrincipals[i]); 529 setCertificate(sslParameters.getKeyManager().chooseClientAlias(keyTypes, issuers, this)); [all...] |
ClientHandshakeImpl.java | 387 X500Principal[] issuers = certificateRequest.certificate_authorities; local 392 alias = ekm.chooseClientAlias(certTypes, issuers, this.socketOwner); 394 alias = ekm.chooseEngineClientAlias(certTypes, issuers, this.engineOwner); 400 alias = km.chooseClientAlias(certTypes, issuers, this.socketOwner);
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 58 public String chooseClientAlias(String[] keyType, Principal[] issuers, 67 public String chooseServerAlias(String keyType, Principal[] issuers, 83 public String[] getClientAliases(String keyType, Principal[] issuers) { 91 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 132 public String chooseClientAlias(String[] keyType, Principal[] issuers, 141 public String chooseServerAlias(String keyType, Principal[] issuers, 157 public String[] getClientAliases(String keyType, Principal[] issuers) { 165 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
SSLUtils.java | 115 String[] keyTypes, Principal[] issuers, Socket socket); 126 String keyType, Principal[] issuers, Socket socket) { 132 public final String[] getClientAliases(String keyType, Principal[] issuers) { 138 public final String[] getServerAliases(String keyType, Principal[] issuers) { 152 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 249 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) {
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 180 * setIssuers(Collection <X500Principal> issuers) method testing. 181 * Tests if CRLs with any issuers match the selector in the case of 182 * null issuerNames criteria, if specified issuers match the selector, 195 assertTrue("Any CRL issuers should match in the case of null issuers.", 198 ArrayList issuers = new ArrayList(2); local 199 issuers.add(iss1); 200 issuers.add(iss2); 201 selector.setIssuers(issuers); 206 issuers.add(iss3) 239 ArrayList issuers = new ArrayList(2); local [all...] |
/libcore/luni/src/main/java/java/security/cert/ |
X509CRLSelector.java | 67 * @param issuers 71 public void setIssuers(Collection<X500Principal> issuers) { 72 if (issuers == null) { 77 issuerNames = new ArrayList<String>(issuers.size()); 78 issuerPrincipals = new ArrayList<X500Principal>(issuers); 79 for (X500Principal issuer: issuers) {
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 141 X509Certificate[] issuers = tm.getAcceptedIssuers(); local 142 assertNotNull(issuers); 143 assertTrue(issuers.length > 1); 144 assertNotSame(issuers, tm.getAcceptedIssuers()); 147 = issuers.length > (StandardNames.IS_RI ? 1 : 2) * KEY_TYPES.length;
|
SSLSocketTest.java | 700 Principal[] issuers, 705 Principal[] issuers, 713 @Override public String[] getClientAliases(String keyType, Principal[] issuers) { 716 @Override public String[] getServerAliases(String keyType, Principal[] issuers) { [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
PKIXCertPathBuilderSpi.java | 223 Collection issuers = new HashSet(); local 228 issuers.addAll(CertPathValidatorUtilities.findIssuerCerts(tbvCert, pkixParams)); 236 if (issuers.isEmpty()) 241 Iterator it = issuers.iterator();
|
CertPathValidatorUtilities.java | 847 * Add the CRL issuers from the cRLIssuer field of the distribution point or 857 * @param issuerPrincipals The issuers of the certificate or attribute 872 List issuers = new ArrayList(); local 884 issuers.add(new X500Principal(genNames[j].getName() 910 issuers.add((X500Principal)it.next()); 1166 Set issuers = new HashSet(); local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 62 * specified issuers match the selector, and if not specified issuer does 84 * issuers match the selector, and if not specified issuer does not match 116 * any issuers match the selector in the case of null issuerNames criteria, 117 * if specified issuers match the selector, if not specified issuer does not 141 assertTrue("Any CRL issuers should match in the case of null issuers.", 144 ArrayList issuers = new ArrayList(2); local 145 issuers.add(iss1); 146 issuers.add(iss2); 148 selector.setIssuerNames(issuers); 182 ArrayList<X500Principal> issuers = new ArrayList<X500Principal>(2); local [all...] |
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 220 Principal[] issuers, 225 keyTypes, issuers, 241 Principal[] issuers, 266 @Override public String[] getClientAliases(String keyType, Principal[] issuers) { 270 @Override public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/external/openssl/crypto/asn1/ |
x_crl.c | 154 if (!crl->issuers) 156 crl->issuers = sk_GENERAL_NAMES_new_null(); 157 if (!crl->issuers) 160 if (!sk_GENERAL_NAMES_push(crl->issuers, gtmp)) 226 crl->issuers = NULL; 303 sk_GENERAL_NAMES_pop_free(crl->issuers, GENERAL_NAMES_free);
|
/frameworks/base/keystore/java/android/security/ |
KeyChain.java | 200 * <p>{@code keyTypes} and {@code issuers} may be used to 222 * @param issuers The acceptable certificate issuers for the 232 String[] keyTypes, Principal[] issuers, 236 * TODO currently keyTypes, issuers are unused. They are meant 245 * issuers is typically not useful. Some servers historically
|
/libcore/luni/src/main/native/ |
org_apache_harmony_xnet_provider_jsse_NativeCrypto.cpp | 1447 jobjectArray issuers = NULL; local [all...] |
/external/openssl/crypto/x509/ |
x509.h | 481 STACK_OF(GENERAL_NAMES) *issuers; member in struct:X509_crl_st [all...] |
/external/openssl/include/openssl/ |
x509.h | 481 STACK_OF(GENERAL_NAMES) *issuers; member in struct:X509_crl_st [all...] |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |