Home
last modified time | relevance | path

Searched refs:keyTypes (Results 1 – 25 of 30) sorted by relevance

12

/external/cldr/tools/java/org/unicode/cldr/util/
DUExtension.java26 private SortedMap<String, List<String>> keyTypes = new TreeMap<>(); field in UExtension
30 return keyTypes.keySet(); in getKeys()
34 return keyTypes.get(key); in getTypes()
81 list = keyTypes.get(key); in parse()
86 keyTypes.put(key, list); in parse()
109 for (String key2 : keyTypes.keySet()) { in parse()
110 list = keyTypes.get(key2); in parse()
111 keyTypes.put(key2, Collections.unmodifiableList(list)); in parse()
113 keyTypes = Collections.unmodifiableSortedMap(keyTypes); in parse()
119 return "{attributes=" + attributes + ", keyTypes=" + keyTypes + "}"; in toString()
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/
DTestKeyManager.java62 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
65 for (String keyType : keyTypes) { in chooseClientAlias()
71 assertKeyTypes(keyTypes); in chooseClientAlias()
72 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); in chooseClientAlias()
75 private void assertKeyTypes(String[] keyTypes) { in assertKeyTypes() argument
76 for (String keyType : keyTypes) { in assertKeyTypes()
182 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine e) { in chooseEngineClientAlias() argument
185 for (String keyType : keyTypes) { in chooseEngineClientAlias()
191 assertKeyTypes(keyTypes); in chooseEngineClientAlias()
192 return dumpAlias(keyManager.chooseEngineClientAlias(keyTypes, issuers, e)); in chooseEngineClientAlias()
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/javax/net/ssl/
DTestKeyManager.java64 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
67 for (String keyType : keyTypes) { in chooseClientAlias()
73 assertKeyTypes(keyTypes); in chooseClientAlias()
74 return dumpAlias(keyManager.chooseClientAlias(keyTypes, issuers, socket)); in chooseClientAlias()
77 private void assertKeyTypes(String[] keyTypes) { in assertKeyTypes() argument
78 for (String keyType : keyTypes) { in assertKeyTypes()
184 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine e) { in chooseEngineClientAlias() argument
187 for (String keyType : keyTypes) { in chooseEngineClientAlias()
193 assertKeyTypes(keyTypes); in chooseEngineClientAlias()
194 return dumpAlias(keyManager.chooseEngineClientAlias(keyTypes, issuers, e)); in chooseEngineClientAlias()
/external/conscrypt/common/src/main/java/org/conscrypt/
DKeyManagerImpl.java91 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
92 final String[] al = chooseAlias(keyTypes, issuers); in chooseClientAlias()
143 … public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
144 final String[] al = chooseAlias(keyTypes, issuers); in chooseEngineClientAlias()
154 private String[] chooseAlias(String[] keyTypes, Principal[] issuers) { in chooseAlias() argument
155 if (keyTypes == null || keyTypes.length == 0) { in chooseAlias()
168 for (String keyAlgorithm : keyTypes) { in chooseAlias()
DNativeSsl.java215 String[] keyTypes = keyTypesSet.toArray(new String[0]); in chooseClientCertificate() local
228 ? aliasChooser.chooseClientAlias(keyManager, issuers, keyTypes) in chooseClientCertificate()
389 Set<String> keyTypes = new HashSet<>(); in getCipherKeyTypes() local
393 keyTypes.add(keyType); in getCipherKeyTypes()
396 return keyTypes; in getCipherKeyTypes()
DConscryptEngineSocket.java602 String[] keyTypes) {
603 return keyManager.chooseClientAlias(keyTypes, issuers, this);
DConscryptFileDescriptorSocket.java1194 String[] keyTypes) {
1195 return keyManager.chooseClientAlias(keyTypes, issuers, this);
DConscryptEngine.java1702 X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes) {
1705 return ekm.chooseEngineClientAlias(keyTypes, issuers, this);
1707 return keyManager.chooseClientAlias(keyTypes, issuers, null);
DSSLParametersImpl.java490 String[] keyTypes); in chooseClientAlias() argument
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DKeyManagerImpl.java93 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { in chooseClientAlias() argument
94 final String[] al = chooseAlias(keyTypes, issuers); in chooseClientAlias()
145 … public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias() argument
146 final String[] al = chooseAlias(keyTypes, issuers); in chooseEngineClientAlias()
156 private String[] chooseAlias(String[] keyTypes, Principal[] issuers) { in chooseAlias() argument
157 if (keyTypes == null || keyTypes.length == 0) { in chooseAlias()
170 for (String keyAlgorithm : keyTypes) { in chooseAlias()
DNativeSsl.java216 String[] keyTypes = keyTypesSet.toArray(new String[0]); in chooseClientCertificate() local
229 ? aliasChooser.chooseClientAlias(keyManager, issuers, keyTypes) in chooseClientCertificate()
390 Set<String> keyTypes = new HashSet<>(); in getCipherKeyTypes() local
394 keyTypes.add(keyType); in getCipherKeyTypes()
397 return keyTypes; in getCipherKeyTypes()
DConscryptEngineSocket.java618 X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes) {
619 return keyManager.chooseClientAlias(keyTypes, issuers, this);
DConscryptFileDescriptorSocket.java1201 X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes) {
1202 return keyManager.chooseClientAlias(keyTypes, issuers, this);
DConscryptEngine.java1698 X509KeyManager keyManager, X500Principal[] issuers, String[] keyTypes) {
1701 return ekm.chooseEngineClientAlias(keyTypes, issuers, this);
1703 return keyManager.chooseClientAlias(keyTypes, issuers, null);
DSSLParametersImpl.java494 String[] keyTypes); in chooseClientAlias() argument
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DSSLUtilsTest.java166 List<String> keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered() local
170 assertEquals(Arrays.asList("RSA", "EC"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
172 keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered()
176 assertEquals(Arrays.asList("EC", "RSA"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
178 keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered()
183 assertEquals(Arrays.asList("RSA", "EC"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
185 keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered()
190 assertEquals(Arrays.asList("EC", "RSA"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DSSLUtilsTest.java162 List<String> keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered() local
166 assertEquals(Arrays.asList("RSA", "EC"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
168 keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered()
172 assertEquals(Arrays.asList("EC", "RSA"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
174 keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered()
179 assertEquals(Arrays.asList("RSA", "EC"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
181 keyTypes = new ArrayList<String>(SSLUtils.getSupportedClientKeyTypes( in testGetSupportedClientKeyTypes_ordered()
186 assertEquals(Arrays.asList("EC", "RSA"), keyTypes); in testGetSupportedClientKeyTypes_ordered()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/
DKeyManagerFactoryTest.java96 private static String[] keyTypes(String algorithm) { in keyTypes() method in KeyManagerFactoryTest
186 String[] keyTypes = keyTypes(algorithm); in test_X509KeyManager() local
187 for (String keyType : keyTypes) { in test_X509KeyManager()
198 for (String keyType : keyTypes) { in test_X509KeyManager()
210 String[][] rotatedTypes = rotate(nonEmpty(keyTypes)); in test_X509KeyManager()
216 for (String keyType : keyTypes) { in test_X509KeyManager()
221 for (String keyType : keyTypes) { in test_X509KeyManager()
232 String[] keyTypes = keyTypes(algorithm); in test_X509ExtendedKeyManager() local
233 String[][] rotatedTypes = rotate(nonEmpty(keyTypes)); in test_X509ExtendedKeyManager()
239 for (String keyType : keyTypes) { in test_X509ExtendedKeyManager()
[all …]
DX509KeyManagerTest.java66 String[] keyTypes = new String[] {selectedKeyType}; in test_ChooseClientAlias_KeyType() local
70 String alias = ((X509KeyManager) manager).chooseClientAlias(keyTypes, null, null); in test_ChooseClientAlias_KeyType()
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DKeyManagerFactoryTest.java100 private static String[] keyTypes(String algorithm) { in keyTypes() method in KeyManagerFactoryTest
190 String[] keyTypes = keyTypes(algorithm); in test_X509KeyManager() local
191 for (String keyType : keyTypes) { in test_X509KeyManager()
202 for (String keyType : keyTypes) { in test_X509KeyManager()
214 String[][] rotatedTypes = rotate(nonEmpty(keyTypes)); in test_X509KeyManager()
220 for (String keyType : keyTypes) { in test_X509KeyManager()
225 for (String keyType : keyTypes) { in test_X509KeyManager()
236 String[] keyTypes = keyTypes(algorithm); in test_X509ExtendedKeyManager() local
237 String[][] rotatedTypes = rotate(nonEmpty(keyTypes)); in test_X509ExtendedKeyManager()
243 for (String keyType : keyTypes) { in test_X509ExtendedKeyManager()
[all …]
DX509KeyManagerTest.java70 String[] keyTypes = new String[] {selectedKeyType}; in test_ChooseClientAlias_KeyType() local
74 String alias = ((X509KeyManager) manager).chooseClientAlias(keyTypes, null, null); in test_ChooseClientAlias_KeyType()
/external/conscrypt/android-stub/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java48 byte[] keyTypes, byte[][] asn1DerEncodedX500Principals) in clientCertificateRequested() argument
/external/conscrypt/android-stub/src/main/java/org/apache/harmony/xnet/provider/jsse/
DNativeCrypto.java47 byte[] keyTypes, byte[][] asn1DerEncodedX500Principals) in clientCertificateRequested() argument
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVTypes.cpp862 ArrayRef<Type> keyTypes = std::get<1>(key); in construct() local
866 if (!keyTypes.empty()) { in construct()
867 typesList = allocator.copyInto(keyTypes).data(); in construct()
873 assert(keyOffsetInfo.size() == keyTypes.size() && in construct()
888 StructTypeStorage(keyTypes.size(), typesList, offsetInfoList, in construct()
/external/python/apitools/samples/iam_sample/iam_v1/
Diam_v1_messages.py403 keyTypes = _messages.EnumField('KeyTypesValueValuesEnum', 1, repeated=True) variable in IamProjectsServiceAccountsKeysListRequest

12