OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:keyManager
(Results
1 - 10
of
10
) sorted by null
/libcore/support/src/test/java/libcore/javax/net/ssl/
TestKeyManager.java
25
import javax.net.ssl.
KeyManager
;
41
private final X509ExtendedKeyManager
keyManager
;
43
public static
KeyManager
[] wrap(
KeyManager
[] keyManagers) {
44
KeyManager
[] result = keyManagers.clone();
51
public static
KeyManager
wrap(
KeyManager
keyManager
) {
52
if (!(
keyManager
instanceof X509ExtendedKeyManager)) {
53
return
keyManager
;
[
all
...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
EmailClientConnectionManager.java
37
import javax.net.ssl.
KeyManager
;
50
* A {@link
KeyManager
} to track client certificate requests from servers.
58
HttpParams params, SchemeRegistry registry, TrackingKeyManager
keyManager
) {
60
mTrackingKeyManager =
keyManager
;
65
TrackingKeyManager
keyManager
= new TrackingKeyManager();
75
SSLUtils.getHttpSocketFactory(context, hostAuth,
keyManager
, false),
79
SSLUtils.getHttpSocketFactory(context, hostAuth,
keyManager
, true),
82
return new EmailClientConnectionManager(params, registry,
keyManager
);
106
KeyManager
keyManager
[
all
...]
SSLUtils.java
46
import javax.net.ssl.
KeyManager
;
159
final Context context, final HostAuth hostAuth, final
KeyManager
keyManager
,
167
final
KeyManager
[] keyManagers = (
keyManager
== null ? null :
168
new
KeyManager
[]{
keyManager
});
199
KeyManager
keyManager
, boolean insecure) {
201
keyManager
, insecure)
[
all
...]
/external/conscrypt/src/main/java/org/conscrypt/
OpenSSLEngineImpl.java
726
public String chooseServerAlias(X509KeyManager
keyManager
, String keyType) {
727
if (
keyManager
instanceof X509ExtendedKeyManager) {
728
X509ExtendedKeyManager ekm = (X509ExtendedKeyManager)
keyManager
;
731
return
keyManager
.chooseServerAlias(keyType, null, null);
736
public String chooseClientAlias(X509KeyManager
keyManager
, X500Principal[] issuers,
738
if (
keyManager
instanceof X509ExtendedKeyManager) {
739
X509ExtendedKeyManager ekm = (X509ExtendedKeyManager)
keyManager
;
742
return
keyManager
.chooseClientAlias(keyTypes, issuers, null);
747
public String chooseServerPSKIdentityHint(PSKKeyManager
keyManager
) {
748
return
keyManager
.chooseServerKeyIdentityHint(this)
[
all
...]
SSLParametersImpl.java
37
import javax.net.ssl.
KeyManager
;
113
* See {@link javax.net.ssl.SSLContext#init(
KeyManager
[],TrustManager[],
116
protected SSLParametersImpl(
KeyManager
[] kms, TrustManager[] tms,
408
X509KeyManager
keyManager
= getX509KeyManager();
409
if (
keyManager
== null) {
412
PrivateKey privateKey =
keyManager
.getPrivateKey(alias);
416
X509Certificate[] certificates =
keyManager
.getCertificateChain(alias);
480
X509KeyManager
keyManager
= getX509KeyManager();
481
if (
keyManager
!= null) {
650
X509KeyManager
keyManager
= getX509KeyManager()
[
all
...]
OpenSSLSocketImpl.java
[
all
...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
KeyManagerFactoryTest.java
30
import javax.net.ssl.
KeyManager
;
129
KeyManager
[] keyManagers = kmf.getKeyManagers();
132
for (
KeyManager
keyManager
: keyManagers) {
133
assertNotNull(
keyManager
);
134
if (
keyManager
instanceof X509KeyManager) {
135
test_X509KeyManager((X509KeyManager)
keyManager
, empty, kmf.getAlgorithm());
SSLEngineTest.java
24
import javax.net.ssl.
KeyManager
;
118
KeyManager
pskKeyManager = PSKKeyManagerProxy.getConscryptPSKKeyManager(
127
new
KeyManager
[] {pskKeyManager}, new
KeyManager
[] {pskKeyManager});
129
// Create a TestSSLContext where the
KeyManager
returns wrong (randomly generated) private
138
KeyManager
randomPrivateKeyX509ExtendedKeyManager = null;
139
for (
KeyManager
keyManager
: c.serverKeyManagers) {
140
if (
keyManager
instanceof X509ExtendedKeyManager) {
142
new RandomPrivateKeyX509ExtendedKeyManager((X509ExtendedKeyManager)
keyManager
);
[
all
...]
SSLSocketTest.java
50
import javax.net.ssl.
KeyManager
;
106
KeyManager
pskKeyManager = PSKKeyManagerProxy.getConscryptPSKKeyManager(
115
new
KeyManager
[] {pskKeyManager}, new
KeyManager
[] {pskKeyManager});
[
all
...]
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
wagon-http-2.6-shaded.jar
Completed in 352 milliseconds