/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 65 out.print(" | keyTypes: "); 66 for (String keyType : keyTypes) { 72 assertKeyTypes(keyTypes); 73 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); 76 private void assertKeyTypes(String[] keyTypes) { 77 for (String keyType : keyTypes) { 177 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine e) { 179 out.print(" | keyTypes: "); 180 for (String keyType : keyTypes) { [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
KeyManagerFactoryTest.java | 71 private static String[] keyTypes(String algorithm) { 162 String[] keyTypes = keyTypes(algorithm); 163 for (String keyType : keyTypes) { 174 for (String keyType : keyTypes) { 186 String a = km.chooseClientAlias(keyTypes, null, null); 189 for (String keyType : keyTypes) { 194 for (String keyType : keyTypes) { 205 String[] keyTypes = keyTypes(algorithm) [all...] |
X509KeyManagerTest.java | 61 String[] keyTypes = new String[] { selectedKeyType }; 65 String alias = ((X509KeyManager) manager).chooseClientAlias(keyTypes, null, null);
|
/external/boringssl/src/crypto/conf/ |
conf_def.h | 80 #define KEYTYPES(c) CONF_type_default 81 #define IS_COMMENT(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_COMMENT) 82 #define IS_FCOMMENT(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_FCOMMENT) 83 #define IS_EOF(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_EOF) 84 #define IS_ESC(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_ESC) 85 #define IS_NUMBER(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_NUMBER) 86 #define IS_WS(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_WS) 87 #define IS_ALPHA_NUMERIC(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_ALPHA_NUMERIC) 89 (KEYTYPES(c)[(a)&0xff]&CONF_ALPHA_NUMERIC_PUNCT) 90 #define IS_QUOTE(c,a) (KEYTYPES(c)[(a)&0xff]&CONF_QUOTE [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ |
KeyManagerImpl.java | 88 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 89 final String[] al = chooseAlias(keyTypes, issuers); 140 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { 141 final String[] al = chooseAlias(keyTypes, issuers); 151 private String[] chooseAlias(String[] keyTypes, Principal[] issuers) { 152 if (keyTypes == null || keyTypes.length == 0) { 166 for (String keyAlgorithm : keyTypes) {
|
SSLParametersImpl.java | 537 Set<String> keyTypes = new HashSet<String>(); 541 keyTypes.add(keyType); 546 for (String keyType : keyTypes) { 691 String[] keyTypes = keyTypesSet.toArray(new String[keyTypesSet.size()]); 704 keyTypes) : null; 823 String[] keyTypes); [all...] |
OpenSSLEngineImpl.java | 743 String[] keyTypes) { 746 return ekm.chooseEngineClientAlias(keyTypes, issuers, this); 748 return keyManager.chooseClientAlias(keyTypes, issuers, null);
|
/external/conscrypt/src/stub/java/com/android/org/conscrypt/ |
NativeCrypto.java | 42 * @param keyTypes key types supported by the server, 46 public void clientCertificateRequested(byte[] keyTypes,
|
/external/conscrypt/src/stub/java/org/apache/harmony/xnet/xnet/provider/jsse/ |
NativeCrypto.java | 42 * @param keyTypes key types supported by the server, 46 public void clientCertificateRequested(byte[] keyTypes,
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
WiFiKeyManager.java | 84 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 86 Map<String, Integer> keyPrefs = new HashMap<>(keyTypes.length); 88 for (String keyType : keyTypes) {
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
X509KeyManagerImpl.java | 114 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, 116 return chooseAlias(getKeyTypes(keyTypes), issuers, CheckType.CLIENT, 120 public String chooseEngineClientAlias(String[] keyTypes, 122 return chooseAlias(getKeyTypes(keyTypes), issuers, CheckType.CLIENT, 305 private static List<KeyType> getKeyTypes(String ... keyTypes) { 306 if ((keyTypes == null) || 307 (keyTypes.length == 0) || (keyTypes[0] == null)) { 310 List<KeyType> list = new ArrayList<>(keyTypes.length); 311 for (String keyType : keyTypes) { [all...] |
SunX509KeyManagerImpl.java | 199 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, 208 if (keyTypes == null) { 212 for (int i = 0; i < keyTypes.length; i++) { 213 String[] aliases = getClientAliases(keyTypes[i], issuers);
|
SSLContextImpl.java | [all...] |
ClientHandshaker.java | 702 String keytypes[] = local 706 alias = km.chooseClientAlias(keytypes, 709 alias = km.chooseEngineClientAlias(keytypes, [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
CertificateRequestor.java | 51 null /* keytypes */, null /* issuers */,
|
SSLUtils.java | 252 String[] keyTypes, Principal[] issuers, Socket socket); 289 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 386 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 388 LogUtils.i(TAG, "Requesting a client cert alias for " + Arrays.toString(keyTypes));
|
/frameworks/base/keystore/java/android/security/ |
KeyChain.java | 231 * <p>{@code keyTypes} and {@code issuers} may be used to 248 * @param keyTypes The acceptable types of asymmetric keys such as 261 @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, 269 choosePrivateKeyAlias(activity, response, keyTypes, issuers, uri, alias); 281 * <p>{@code keyTypes} and {@code issuers} may be used to 298 * @param keyTypes The acceptable types of asymmetric keys such as 309 @KeyProperties.KeyAlgorithmEnum String[] keyTypes, Principal[] issuers, 312 * TODO currently keyTypes, issuers are unused. They are meant 316 * keyTypes would allow the list to be filtered and typically
|
/development/tools/ |
make_key | 59 echo "Only accepts RSA or EC keytypes."
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 219 @Override public String chooseClientAlias(String[] keyTypes, 225 keyTypes, issuers,
|
/external/llvm/unittests/IR/ |
ValueMapTest.cpp | 38 typedef ::testing::Types<Value, Instruction, const Instruction> KeyTypes; 39 TYPED_TEST_CASE(ValueMapTest, KeyTypes);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
KeyChainTest.java | 371 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 375 keyTypes, issuers,
|
/system/keymaster/ |
android_keymaster.cpp | 81 // the keytypes and provide some mechanism for AndroidKeymaster to query the keytypes for the
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
KeyManagementTest.java | 289 null /* keyTypes */, null /* issuers */, uri, null /* alias */);
|
/external/conscrypt/src/test/java/org/conscrypt/ |
NativeCryptoTest.java | 741 public byte[] keyTypes; 746 public void clientCertificateRequested(byte[] keyTypes, 751 + " keyTypes=" + keyTypes 755 this.keyTypes = keyTypes; [all...] |
/hardware/bsp/intel/peripheral/libupm/src/sm130/ |
sm130.h | 287 * then use the appropriate KEY_TYPE_EEPROM_* keyTypes in a call
|