class org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate extends javax.net.ssl.X509ExtendedKeyManager
{
private final javax.net.ssl.X509ExtendedKeyManager keyManager;
private final org.apache.http.ssl.PrivateKeyStrategy aliasStrategy;
void <init>(javax.net.ssl.X509ExtendedKeyManager, org.apache.http.ssl.PrivateKeyStrategy)
{
org.apache.http.ssl.PrivateKeyStrategy v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
javax.net.ssl.X509ExtendedKeyManager v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: javax.net.ssl.X509ExtendedKeyManager;
v := @parameter: org.apache.http.ssl.PrivateKeyStrategy;
specialinvoke v.<javax.net.ssl.X509ExtendedKeyManager: void <init>()>();
v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager> = v;
v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: org.apache.http.ssl.PrivateKeyStrategy aliasStrategy> = v;
return;
}
public java.lang.String[] getClientAliases(java.lang.String, java.security.Principal[])
{
java.security.Principal[] v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String[] v;
java.lang.String v;
javax.net.ssl.X509ExtendedKeyManager v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v := @parameter: java.security.Principal[];
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.lang.String[] getClientAliases(java.lang.String,java.security.Principal[])>(v, v);
return v;
}
public java.util.Map getClientAliasMap(java.lang.String[], java.security.Principal[])
{
java.security.Principal[] v;
java.lang.String[] v, v;
java.util.HashMap v;
int v, v, v, v;
org.apache.http.ssl.PrivateKeyDetails v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String v, v;
java.security.cert.X509Certificate[] v;
javax.net.ssl.X509ExtendedKeyManager v, v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String[];
v := @parameter: java.security.Principal[];
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>()>();
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.lang.String[] getClientAliases(java.lang.String,java.security.Principal[])>(v, v);
if v == null goto label;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = new org.apache.http.ssl.PrivateKeyDetails;
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.security.cert.X509Certificate[] getCertificateChain(java.lang.String)>(v);
specialinvoke v.<org.apache.http.ssl.PrivateKeyDetails: void <init>(java.lang.String,java.security.cert.X509Certificate[])>(v, v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
v = v + 1;
goto label;
label:
v = v + 1;
goto label;
label:
return v;
}
public java.util.Map getServerAliasMap(java.lang.String, java.security.Principal[])
{
java.security.Principal[] v;
java.lang.String[] v;
java.util.HashMap v;
int v, v;
org.apache.http.ssl.PrivateKeyDetails v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String v, v;
java.security.cert.X509Certificate[] v;
javax.net.ssl.X509ExtendedKeyManager v, v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v := @parameter: java.security.Principal[];
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>()>();
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.lang.String[] getServerAliases(java.lang.String,java.security.Principal[])>(v, v);
if v == null goto label;
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = new org.apache.http.ssl.PrivateKeyDetails;
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.security.cert.X509Certificate[] getCertificateChain(java.lang.String)>(v);
specialinvoke v.<org.apache.http.ssl.PrivateKeyDetails: void <init>(java.lang.String,java.security.cert.X509Certificate[])>(v, v);
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
v = v + 1;
goto label;
label:
return v;
}
public java.lang.String chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket)
{
java.security.Principal[] v;
org.apache.http.ssl.PrivateKeyStrategy v;
java.net.Socket v;
java.util.Map v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String[] v;
java.lang.String v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String[];
v := @parameter: java.security.Principal[];
v := @parameter: java.net.Socket;
v = virtualinvoke v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: java.util.Map getClientAliasMap(java.lang.String[],java.security.Principal[])>(v, v);
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: org.apache.http.ssl.PrivateKeyStrategy aliasStrategy>;
v = interfaceinvoke v.<org.apache.http.ssl.PrivateKeyStrategy: java.lang.String chooseAlias(java.util.Map,java.net.Socket)>(v, v);
return v;
}
public java.lang.String[] getServerAliases(java.lang.String, java.security.Principal[])
{
java.security.Principal[] v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String[] v;
java.lang.String v;
javax.net.ssl.X509ExtendedKeyManager v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v := @parameter: java.security.Principal[];
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.lang.String[] getServerAliases(java.lang.String,java.security.Principal[])>(v, v);
return v;
}
public java.lang.String chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket)
{
java.security.Principal[] v;
org.apache.http.ssl.PrivateKeyStrategy v;
java.net.Socket v;
java.util.Map v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String v, v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v := @parameter: java.security.Principal[];
v := @parameter: java.net.Socket;
v = virtualinvoke v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: java.util.Map getServerAliasMap(java.lang.String,java.security.Principal[])>(v, v);
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: org.apache.http.ssl.PrivateKeyStrategy aliasStrategy>;
v = interfaceinvoke v.<org.apache.http.ssl.PrivateKeyStrategy: java.lang.String chooseAlias(java.util.Map,java.net.Socket)>(v, v);
return v;
}
public java.security.cert.X509Certificate[] getCertificateChain(java.lang.String)
{
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String v;
java.security.cert.X509Certificate[] v;
javax.net.ssl.X509ExtendedKeyManager v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.security.cert.X509Certificate[] getCertificateChain(java.lang.String)>(v);
return v;
}
public java.security.PrivateKey getPrivateKey(java.lang.String)
{
java.security.PrivateKey v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String v;
javax.net.ssl.X509ExtendedKeyManager v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: javax.net.ssl.X509ExtendedKeyManager keyManager>;
v = virtualinvoke v.<javax.net.ssl.X509ExtendedKeyManager: java.security.PrivateKey getPrivateKey(java.lang.String)>(v);
return v;
}
public java.lang.String chooseEngineClientAlias(java.lang.String[], java.security.Principal[], javax.net.ssl.SSLEngine)
{
java.security.Principal[] v;
org.apache.http.ssl.PrivateKeyStrategy v;
java.util.Map v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String[] v;
java.lang.String v;
javax.net.ssl.SSLEngine v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String[];
v := @parameter: java.security.Principal[];
v := @parameter: javax.net.ssl.SSLEngine;
v = virtualinvoke v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: java.util.Map getClientAliasMap(java.lang.String[],java.security.Principal[])>(v, v);
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: org.apache.http.ssl.PrivateKeyStrategy aliasStrategy>;
v = interfaceinvoke v.<org.apache.http.ssl.PrivateKeyStrategy: java.lang.String chooseAlias(java.util.Map,java.net.Socket)>(v, null);
return v;
}
public java.lang.String chooseEngineServerAlias(java.lang.String, java.security.Principal[], javax.net.ssl.SSLEngine)
{
java.security.Principal[] v;
org.apache.http.ssl.PrivateKeyStrategy v;
java.util.Map v;
org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate v;
java.lang.String v, v;
javax.net.ssl.SSLEngine v;
v := @this: org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate;
v := @parameter: java.lang.String;
v := @parameter: java.security.Principal[];
v := @parameter: javax.net.ssl.SSLEngine;
v = virtualinvoke v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: java.util.Map getServerAliasMap(java.lang.String,java.security.Principal[])>(v, v);
v = v.<org.apache.http.ssl.SSLContextBuilder$KeyManagerDelegate: org.apache.http.ssl.PrivateKeyStrategy aliasStrategy>;
v = interfaceinvoke v.<org.apache.http.ssl.PrivateKeyStrategy: java.lang.String chooseAlias(java.util.Map,java.net.Socket)>(v, null);
return v;
}
}