final class sun.security.ssl.X509TrustManagerImpl extends javax.net.ssl.X509ExtendedTrustManager implements javax.net.ssl.X509TrustManager
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: sun.security.ssl.X509TrustManagerImpl
super_class: javax.net.ssl.X509ExtendedTrustManager
{
private final java.lang.String validatorType;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Collection<java.security.cert.X509Certificate> trustedCerts;
descriptor: Ljava/util/Collection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
private final java.security.cert.PKIXBuilderParameters pkixParams;
descriptor: Ljava/security/cert/PKIXBuilderParameters;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile sun.security.validator.Validator clientValidator;
descriptor: Lsun/security/validator/Validator;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile sun.security.validator.Validator serverValidator;
descriptor: Lsun/security/validator/Validator;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
void <init>(java.lang.String, java.util.Collection<java.security.cert.X509Certificate>);
descriptor: (Ljava/lang/String;Ljava/util/Collection;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.net.ssl.X509ExtendedTrustManager.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.X509TrustManagerImpl.validatorType:Ljava/lang/String;
2: aload 0
aconst_null
putfield sun.security.ssl.X509TrustManagerImpl.pkixParams:Ljava/security/cert/PKIXBuilderParameters;
3: aload 2
ifnonnull 5
4: invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
astore 2
5: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.lang.String java.util.Collection
StackMap stack:
aload 0
aload 2
putfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
6: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 10
ldc "ssl,trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 10
7: ldc "adding as trusted certificates"
8: aload 2
iconst_0
anewarray java.security.cert.X509Certificate
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
9: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 11 1 validatorType Ljava/lang/String;
0 11 2 trustedCerts Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
Signature: (Ljava/lang/String;Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;)V
MethodParameters:
Name Flags
validatorType
trustedCerts
void <init>(java.lang.String, java.security.cert.PKIXBuilderParameters);
descriptor: (Ljava/lang/String;Ljava/security/cert/PKIXBuilderParameters;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial javax.net.ssl.X509ExtendedTrustManager.<init>:()V
1: aload 0
aload 1
putfield sun.security.ssl.X509TrustManagerImpl.validatorType:Ljava/lang/String;
2: aload 0
aload 2
putfield sun.security.ssl.X509TrustManagerImpl.pkixParams:Ljava/security/cert/PKIXBuilderParameters;
3: aload 0
ldc "tls server"
invokevirtual sun.security.ssl.X509TrustManagerImpl.getValidator:(Ljava/lang/String;)Lsun/security/validator/Validator;
astore 3
start local 3 4: aload 0
aload 3
invokevirtual sun.security.validator.Validator.getTrustedCertificates:()Ljava/util/Collection;
putfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
5: aload 0
aload 3
putfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
6: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 10
ldc "ssl,trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 10
7: ldc "adding as trusted certificates"
8: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
iconst_0
anewarray java.security.cert.X509Certificate
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
9: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
10: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.lang.String java.security.cert.PKIXBuilderParameters sun.security.validator.Validator
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 11 1 validatorType Ljava/lang/String;
0 11 2 params Ljava/security/cert/PKIXBuilderParameters;
4 11 3 v Lsun/security/validator/Validator;
MethodParameters:
Name Flags
validatorType
params
public void checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
iconst_1
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 2 1 chain [Ljava/security/cert/X509Certificate;
0 2 2 authType Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
public void checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
iconst_0
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 2 1 chain [Ljava/security/cert/X509Certificate;
0 2 2 authType Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
public java.security.cert.X509Certificate[] getAcceptedIssuers();
descriptor: ()[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
invokeinterface java.util.Collection.size:()I
anewarray java.security.cert.X509Certificate
astore 1
start local 1 1: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/X509TrustManagerImpl;
1 3 1 certsArray [Ljava/security/cert/X509Certificate;
public void checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String, java.net.Socket);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 2 1 chain [Ljava/security/cert/X509Certificate;
0 2 2 authType Ljava/lang/String;
0 2 3 socket Ljava/net/Socket;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
socket
public void checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String, java.net.Socket);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 2 1 chain [Ljava/security/cert/X509Certificate;
0 2 2 authType Ljava/lang/String;
0 2 3 socket Ljava/net/Socket;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
socket
public void checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String, javax.net.ssl.SSLEngine);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljavax/net/ssl/SSLEngine;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_1
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljavax/net/ssl/SSLEngine;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 2 1 chain [Ljava/security/cert/X509Certificate;
0 2 2 authType Ljava/lang/String;
0 2 3 engine Ljavax/net/ssl/SSLEngine;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
engine
public void checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String, javax.net.ssl.SSLEngine);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljavax/net/ssl/SSLEngine;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
iconst_0
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljavax/net/ssl/SSLEngine;Z)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 2 1 chain [Ljava/security/cert/X509Certificate;
0 2 2 authType Ljava/lang/String;
0 2 3 engine Ljavax/net/ssl/SSLEngine;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
engine
private sun.security.validator.Validator checkTrustedInit(java.security.cert.X509Certificate[], java.lang.String, boolean);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)Lsun/security/validator/Validator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnull 1
aload 1
arraylength
ifne 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
2: ldc "null or zero-length certificate chain"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
ifnull 5
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 8
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
6: ldc "null or zero-length authentication type"
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aconst_null
astore 4
start local 4 9: iload 3
ifeq 21
10: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.clientValidator:Lsun/security/validator/Validator;
astore 4
11: aload 4
ifnonnull 32
12: aload 0
dup
astore 5
monitorenter
13: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.clientValidator:Lsun/security/validator/Validator;
astore 4
14: aload 4
ifnonnull 17
15: aload 0
ldc "tls client"
invokevirtual sun.security.ssl.X509TrustManagerImpl.getValidator:(Ljava/lang/String;)Lsun/security/validator/Validator;
astore 4
16: aload 0
aload 4
putfield sun.security.ssl.X509TrustManagerImpl.clientValidator:Lsun/security/validator/Validator;
17: StackMap locals: sun.security.validator.Validator sun.security.ssl.X509TrustManagerImpl
StackMap stack:
aload 5
monitorexit
18: goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
19: aload 5
monitorexit
20: athrow
21: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
astore 4
22: aload 4
ifnonnull 32
23: aload 0
dup
astore 5
monitorenter
24: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
astore 4
25: aload 4
ifnonnull 28
26: aload 0
ldc "tls server"
invokevirtual sun.security.ssl.X509TrustManagerImpl.getValidator:(Ljava/lang/String;)Lsun/security/validator/Validator;
astore 4
27: aload 0
aload 4
putfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
28: StackMap locals: sun.security.ssl.X509TrustManagerImpl
StackMap stack:
aload 5
monitorexit
29: goto 32
StackMap locals:
StackMap stack: java.lang.Throwable
30: aload 5
monitorexit
31: athrow
32: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 33 1 chain [Ljava/security/cert/X509Certificate;
0 33 2 authType Ljava/lang/String;
0 33 3 checkClientTrusted Z
9 33 4 v Lsun/security/validator/Validator;
Exception table:
from to target type
13 18 19 any
19 20 19 any
24 29 30 any
30 31 30 any
MethodParameters:
Name Flags
chain
authType
checkClientTrusted
private void checkTrusted(java.security.cert.X509Certificate[], java.lang.String, java.net.Socket, boolean);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/net/Socket;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 4
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrustedInit:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)Lsun/security/validator/Validator;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 3
ifnull 35
aload 3
invokevirtual java.net.Socket.isConnected:()Z
ifeq 35
3: aload 3
instanceof javax.net.ssl.SSLSocket
ifeq 35
4: aload 3
checkcast javax.net.ssl.SSLSocket
astore 7
start local 7 5: aload 7
invokevirtual javax.net.ssl.SSLSocket.getHandshakeSession:()Ljavax/net/ssl/SSLSession;
astore 8
start local 8 6: aload 8
ifnonnull 8
7: new java.security.cert.CertificateException
dup
ldc "No handshake session"
invokespecial java.security.cert.CertificateException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String java.net.Socket int sun.security.validator.Validator java.security.cert.X509Certificate[] javax.net.ssl.SSLSocket javax.net.ssl.SSLSession
StackMap stack:
aload 8
instanceof javax.net.ssl.ExtendedSSLSession
istore 9
start local 9 9: iload 9
ifeq 18
10: aload 8
invokeinterface javax.net.ssl.SSLSession.getProtocol:()Ljava/lang/String;
invokestatic sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:(Ljava/lang/String;)Z
ifeq 18
11: aload 8
checkcast javax.net.ssl.ExtendedSSLSession
astore 11
start local 11 12: aload 11
invokevirtual javax.net.ssl.ExtendedSSLSession.getLocalSupportedSignatureAlgorithms:()[Ljava/lang/String;
13: astore 12
start local 12 14: new sun.security.ssl.SSLAlgorithmConstraints
dup
15: aload 7
aload 12
iconst_0
16: invokespecial sun.security.ssl.SSLAlgorithmConstraints.<init>:(Ljavax/net/ssl/SSLSocket;[Ljava/lang/String;Z)V
astore 10
end local 12 end local 11 start local 10 17: goto 19
end local 10 18: StackMap locals: int
StackMap stack:
new sun.security.ssl.SSLAlgorithmConstraints
dup
aload 7
iconst_0
invokespecial sun.security.ssl.SSLAlgorithmConstraints.<init>:(Ljavax/net/ssl/SSLSocket;Z)V
astore 10
start local 10 19: StackMap locals: java.security.AlgorithmConstraints
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 11
start local 11 20: iload 4
ifne 23
iload 9
ifeq 23
21: aload 8
checkcast javax.net.ssl.ExtendedSSLSession
invokevirtual javax.net.ssl.ExtendedSSLSession.getStatusResponses:()Ljava/util/List;
22: astore 11
23: StackMap locals: java.util.List
StackMap stack:
aload 5
aload 1
aload 11
24: aload 10
iload 4
ifeq 25
aconst_null
goto 26
StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String java.net.Socket int sun.security.validator.Validator java.security.cert.X509Certificate[] javax.net.ssl.SSLSocket javax.net.ssl.SSLSession int java.security.AlgorithmConstraints java.util.List
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List java.security.AlgorithmConstraints
25: aload 2
26: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String java.net.Socket int sun.security.validator.Validator java.security.cert.X509Certificate[] javax.net.ssl.SSLSocket javax.net.ssl.SSLSession int java.security.AlgorithmConstraints java.util.List
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List java.security.AlgorithmConstraints java.lang.String
invokestatic sun.security.ssl.X509TrustManagerImpl.validate:(Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 6
27: aload 7
invokevirtual javax.net.ssl.SSLSocket.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
28: invokevirtual javax.net.ssl.SSLParameters.getEndpointIdentificationAlgorithm:()Ljava/lang/String;
29: astore 12
start local 12 30: aload 12
ifnull 39
aload 12
invokevirtual java.lang.String.isEmpty:()Z
ifne 39
31: aload 8
32: aload 6
aload 12
iload 4
33: invokestatic sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljavax/net/ssl/SSLSession;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 34: goto 39
35: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String java.net.Socket int sun.security.validator.Validator java.security.cert.X509Certificate[]
StackMap stack:
aload 5
aload 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
36: aconst_null
iload 4
ifeq 37
aconst_null
goto 38
StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String java.net.Socket int sun.security.validator.Validator java.security.cert.X509Certificate[]
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List null
37: aload 2
38: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String java.net.Socket int sun.security.validator.Validator java.security.cert.X509Certificate[]
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List null java.lang.String
invokestatic sun.security.ssl.X509TrustManagerImpl.validate:(Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 6
39: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 43
ldc "ssl,trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 43
40: ldc "Found trusted certificate"
iconst_1
anewarray java.lang.Object
dup
iconst_0
41: aload 6
aload 6
arraylength
iconst_1
isub
aaload
aastore
42: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
43: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 44 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 44 1 chain [Ljava/security/cert/X509Certificate;
0 44 2 authType Ljava/lang/String;
0 44 3 socket Ljava/net/Socket;
0 44 4 checkClientTrusted Z
1 44 5 v Lsun/security/validator/Validator;
2 44 6 trustedChain [Ljava/security/cert/X509Certificate;
5 34 7 sslSocket Ljavax/net/ssl/SSLSocket;
6 34 8 session Ljavax/net/ssl/SSLSession;
9 34 9 isExtSession Z
17 18 10 constraints Ljava/security/AlgorithmConstraints;
19 34 10 constraints Ljava/security/AlgorithmConstraints;
12 17 11 extSession Ljavax/net/ssl/ExtendedSSLSession;
14 17 12 localSupportedSignAlgs [Ljava/lang/String;
20 34 11 responseList Ljava/util/List<[B>;
30 34 12 identityAlg Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
socket
checkClientTrusted
private void checkTrusted(java.security.cert.X509Certificate[], java.lang.String, javax.net.ssl.SSLEngine, boolean);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljavax/net/ssl/SSLEngine;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=12, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 4
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkTrustedInit:([Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)Lsun/security/validator/Validator;
astore 5
start local 5 1: aconst_null
astore 6
start local 6 2: aload 3
ifnull 33
3: aload 3
invokevirtual javax.net.ssl.SSLEngine.getHandshakeSession:()Ljavax/net/ssl/SSLSession;
astore 7
start local 7 4: aload 7
ifnonnull 6
5: new java.security.cert.CertificateException
dup
ldc "No handshake session"
invokespecial java.security.cert.CertificateException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.security.validator.Validator java.security.cert.X509Certificate[] javax.net.ssl.SSLSession
StackMap stack:
aload 7
instanceof javax.net.ssl.ExtendedSSLSession
istore 8
start local 8 7: iload 8
ifeq 16
8: aload 7
invokeinterface javax.net.ssl.SSLSession.getProtocol:()Ljava/lang/String;
invokestatic sun.security.ssl.ProtocolVersion.useTLS12PlusSpec:(Ljava/lang/String;)Z
ifeq 16
9: aload 7
checkcast javax.net.ssl.ExtendedSSLSession
astore 10
start local 10 10: aload 10
invokevirtual javax.net.ssl.ExtendedSSLSession.getLocalSupportedSignatureAlgorithms:()[Ljava/lang/String;
11: astore 11
start local 11 12: new sun.security.ssl.SSLAlgorithmConstraints
dup
13: aload 3
aload 11
iconst_0
14: invokespecial sun.security.ssl.SSLAlgorithmConstraints.<init>:(Ljavax/net/ssl/SSLEngine;[Ljava/lang/String;Z)V
astore 9
end local 11 end local 10 start local 9 15: goto 17
end local 9 16: StackMap locals: int
StackMap stack:
new sun.security.ssl.SSLAlgorithmConstraints
dup
aload 3
iconst_0
invokespecial sun.security.ssl.SSLAlgorithmConstraints.<init>:(Ljavax/net/ssl/SSLEngine;Z)V
astore 9
start local 9 17: StackMap locals: java.security.AlgorithmConstraints
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
astore 10
start local 10 18: iload 4
ifne 21
iload 8
ifeq 21
19: aload 7
checkcast javax.net.ssl.ExtendedSSLSession
invokevirtual javax.net.ssl.ExtendedSSLSession.getStatusResponses:()Ljava/util/List;
20: astore 10
21: StackMap locals: java.util.List
StackMap stack:
aload 5
aload 1
aload 10
22: aload 9
iload 4
ifeq 23
aconst_null
goto 24
StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String javax.net.ssl.SSLEngine int sun.security.validator.Validator java.security.cert.X509Certificate[] javax.net.ssl.SSLSession int java.security.AlgorithmConstraints java.util.List
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List java.security.AlgorithmConstraints
23: aload 2
24: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String javax.net.ssl.SSLEngine int sun.security.validator.Validator java.security.cert.X509Certificate[] javax.net.ssl.SSLSession int java.security.AlgorithmConstraints java.util.List
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List java.security.AlgorithmConstraints java.lang.String
invokestatic sun.security.ssl.X509TrustManagerImpl.validate:(Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 6
25: aload 3
invokevirtual javax.net.ssl.SSLEngine.getSSLParameters:()Ljavax/net/ssl/SSLParameters;
26: invokevirtual javax.net.ssl.SSLParameters.getEndpointIdentificationAlgorithm:()Ljava/lang/String;
27: astore 11
start local 11 28: aload 11
ifnull 37
aload 11
invokevirtual java.lang.String.isEmpty:()Z
ifne 37
29: aload 7
aload 6
30: aload 11
iload 4
31: invokestatic sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljavax/net/ssl/SSLSession;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
end local 11 end local 10 end local 9 end local 8 end local 7 32: goto 37
33: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String javax.net.ssl.SSLEngine int sun.security.validator.Validator java.security.cert.X509Certificate[]
StackMap stack:
aload 5
aload 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
34: aconst_null
iload 4
ifeq 35
aconst_null
goto 36
StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String javax.net.ssl.SSLEngine int sun.security.validator.Validator java.security.cert.X509Certificate[]
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List null
35: aload 2
36: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.security.cert.X509Certificate[] java.lang.String javax.net.ssl.SSLEngine int sun.security.validator.Validator java.security.cert.X509Certificate[]
StackMap stack: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List null java.lang.String
invokestatic sun.security.ssl.X509TrustManagerImpl.validate:(Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 6
37: StackMap locals:
StackMap stack:
getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 41
ldc "ssl,trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 41
38: ldc "Found trusted certificate"
iconst_1
anewarray java.lang.Object
dup
iconst_0
39: aload 6
aload 6
arraylength
iconst_1
isub
aaload
aastore
40: invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
41: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 42 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 42 1 chain [Ljava/security/cert/X509Certificate;
0 42 2 authType Ljava/lang/String;
0 42 3 engine Ljavax/net/ssl/SSLEngine;
0 42 4 checkClientTrusted Z
1 42 5 v Lsun/security/validator/Validator;
2 42 6 trustedChain [Ljava/security/cert/X509Certificate;
4 32 7 session Ljavax/net/ssl/SSLSession;
7 32 8 isExtSession Z
15 16 9 constraints Ljava/security/AlgorithmConstraints;
17 32 9 constraints Ljava/security/AlgorithmConstraints;
10 15 10 extSession Ljavax/net/ssl/ExtendedSSLSession;
12 15 11 localSupportedSignAlgs [Ljava/lang/String;
18 32 10 responseList Ljava/util/List<[B>;
28 32 11 identityAlg Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
engine
checkClientTrusted
private sun.security.validator.Validator getValidator(java.lang.String);
descriptor: (Ljava/lang/String;)Lsun/security/validator/Validator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.pkixParams:Ljava/security/cert/PKIXBuilderParameters;
ifnonnull 3
1: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.validatorType:Ljava/lang/String;
aload 1
aload 0
getfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
invokestatic sun.security.validator.Validator.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)Lsun/security/validator/Validator;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.ssl.X509TrustManagerImpl.validatorType:Ljava/lang/String;
aload 1
aload 0
getfield sun.security.ssl.X509TrustManagerImpl.pkixParams:Ljava/security/cert/PKIXBuilderParameters;
invokestatic sun.security.validator.Validator.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/security/cert/PKIXBuilderParameters;)Lsun/security/validator/Validator;
astore 2
start local 2 4: StackMap locals: sun.security.validator.Validator
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 5 1 variant Ljava/lang/String;
2 3 2 v Lsun/security/validator/Validator;
4 5 2 v Lsun/security/validator/Validator;
MethodParameters:
Name Flags
variant
private static java.security.cert.X509Certificate[] validate(sun.security.validator.Validator, java.security.cert.X509Certificate[], java.util.List<byte[]>, java.security.AlgorithmConstraints, java.lang.String);
descriptor: (Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: invokestatic sun.security.ssl.JsseJce.beginFipsProvider:()Ljava/lang/Object;
astore 5
start local 5 1: aload 0
aload 1
aconst_null
aload 2
aload 3
aload 4
invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
astore 7
2: aload 5
invokestatic sun.security.ssl.JsseJce.endFipsProvider:(Ljava/lang/Object;)V
3: aload 7
areturn
4: StackMap locals: sun.security.validator.Validator java.security.cert.X509Certificate[] java.util.List java.security.AlgorithmConstraints java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
astore 6
5: aload 5
invokestatic sun.security.ssl.JsseJce.endFipsProvider:(Ljava/lang/Object;)V
6: aload 6
athrow
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 v Lsun/security/validator/Validator;
0 7 1 chain [Ljava/security/cert/X509Certificate;
0 7 2 responseList Ljava/util/List<[B>;
0 7 3 constraints Ljava/security/AlgorithmConstraints;
0 7 4 authType Ljava/lang/String;
1 7 5 o Ljava/lang/Object;
Exception table:
from to target type
1 2 4 any
Exceptions:
throws java.security.cert.CertificateException
Signature: (Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/util/List<[B>;Ljava/security/AlgorithmConstraints;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
v
chain
responseList
constraints
authType
private static java.lang.String getHostNameInSNI(java.util.List<javax.net.ssl.SNIServerName>);
descriptor: (Ljava/util/List;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: java.util.List javax.net.ssl.SNIHostName top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.net.ssl.SNIServerName
astore 2
start local 2 3: aload 2
invokevirtual javax.net.ssl.SNIServerName.getType:()I
ifeq 5
4: goto 14
5: StackMap locals: java.util.List javax.net.ssl.SNIHostName javax.net.ssl.SNIServerName java.util.Iterator
StackMap stack:
aload 2
instanceof javax.net.ssl.SNIHostName
ifeq 8
6: aload 2
checkcast javax.net.ssl.SNIHostName
astore 1
7: goto 15
8: StackMap locals:
StackMap stack:
new javax.net.ssl.SNIHostName
dup
aload 2
invokevirtual javax.net.ssl.SNIServerName.getEncoded:()[B
invokespecial javax.net.ssl.SNIHostName.<init>:([B)V
astore 1
9: goto 15
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
10: pop
11: getstatic sun.security.ssl.SSLLogger.isOn:Z
ifeq 15
ldc "ssl,trustmanager"
invokestatic sun.security.ssl.SSLLogger.isOn:(Ljava/lang/String;)Z
ifeq 15
12: new java.lang.StringBuilder
dup
ldc "Illegal server name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokestatic sun.security.ssl.SSLLogger.fine:(Ljava/lang/String;[Ljava/lang/Object;)V
13: goto 15
end local 2 14: StackMap locals: java.util.List javax.net.ssl.SNIHostName top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
15: StackMap locals: java.util.List javax.net.ssl.SNIHostName
StackMap stack:
aload 1
ifnull 17
16: aload 1
invokevirtual javax.net.ssl.SNIHostName.getAsciiName:()Ljava/lang/String;
areturn
17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 sniNames Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
1 18 1 hostname Ljavax/net/ssl/SNIHostName;
3 14 2 sniName Ljavax/net/ssl/SNIServerName;
Exception table:
from to target type
8 9 10 Class java.lang.IllegalArgumentException
Signature: (Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;)Ljava/lang/String;
MethodParameters:
Name Flags
sniNames
static java.util.List<javax.net.ssl.SNIServerName> getRequestedServerNames(java.net.Socket);
descriptor: (Ljava/net/Socket;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 4
aload 0
invokevirtual java.net.Socket.isConnected:()Z
ifeq 4
1: aload 0
instanceof javax.net.ssl.SSLSocket
ifeq 4
2: aload 0
checkcast javax.net.ssl.SSLSocket
invokevirtual javax.net.ssl.SSLSocket.getHandshakeSession:()Ljavax/net/ssl/SSLSession;
3: invokestatic sun.security.ssl.X509TrustManagerImpl.getRequestedServerNames:(Ljavax/net/ssl/SSLSession;)Ljava/util/List;
areturn
4: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 socket Ljava/net/Socket;
Signature: (Ljava/net/Socket;)Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
MethodParameters:
Name Flags
socket
static java.util.List<javax.net.ssl.SNIServerName> getRequestedServerNames(javax.net.ssl.SSLEngine);
descriptor: (Ljavax/net/ssl/SSLEngine;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: aload 0
invokevirtual javax.net.ssl.SSLEngine.getHandshakeSession:()Ljavax/net/ssl/SSLSession;
invokestatic sun.security.ssl.X509TrustManagerImpl.getRequestedServerNames:(Ljavax/net/ssl/SSLSession;)Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 engine Ljavax/net/ssl/SSLEngine;
Signature: (Ljavax/net/ssl/SSLEngine;)Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
MethodParameters:
Name Flags
engine
private static java.util.List<javax.net.ssl.SNIServerName> getRequestedServerNames(javax.net.ssl.SSLSession);
descriptor: (Ljavax/net/ssl/SSLSession;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
aload 0
instanceof javax.net.ssl.ExtendedSSLSession
ifeq 2
1: aload 0
checkcast javax.net.ssl.ExtendedSSLSession
invokevirtual javax.net.ssl.ExtendedSSLSession.getRequestedServerNames:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 session Ljavax/net/ssl/SSLSession;
Signature: (Ljavax/net/ssl/SSLSession;)Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
MethodParameters:
Name Flags
session
static void checkIdentity(javax.net.ssl.SSLSession, java.security.cert.X509Certificate[], java.lang.String, boolean);
descriptor: (Ljavax/net/ssl/SSLSession;[Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 1
arraylength
iconst_1
isub
aaload
1: invokestatic sun.security.util.AnchorCertificates.contains:(Ljava/security/cert/X509Certificate;)Z
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aload 0
invokeinterface javax.net.ssl.SSLSession.getPeerHost:()Ljava/lang/String;
astore 6
start local 6 4: iload 3
ifne 16
5: aload 0
invokestatic sun.security.ssl.X509TrustManagerImpl.getRequestedServerNames:(Ljavax/net/ssl/SSLSession;)Ljava/util/List;
astore 7
start local 7 6: aload 7
invokestatic sun.security.ssl.X509TrustManagerImpl.getHostNameInSNI:(Ljava/util/List;)Ljava/lang/String;
astore 8
start local 8 7: aload 8
ifnull 16
8: aload 8
9: aload 1
iconst_0
aaload
aload 2
iload 4
10: invokestatic sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
11: iconst_1
istore 5
12: goto 16
StackMap locals: javax.net.ssl.SSLSession java.security.cert.X509Certificate[] java.lang.String int int int java.lang.String java.util.List java.lang.String
StackMap stack: java.security.cert.CertificateException
13: astore 9
start local 9 14: aload 8
aload 6
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
15: aload 9
athrow
end local 9 end local 8 end local 7 16: StackMap locals:
StackMap stack:
iload 5
ifne 20
17: aload 6
18: aload 1
iconst_0
aaload
aload 2
iload 4
19: invokestatic sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
20: StackMap locals:
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 session Ljavax/net/ssl/SSLSession;
0 21 1 trustedChain [Ljava/security/cert/X509Certificate;
0 21 2 algorithm Ljava/lang/String;
0 21 3 checkClientTrusted Z
2 21 4 chainsToPublicCA Z
3 21 5 identifiable Z
4 21 6 peerHost Ljava/lang/String;
6 16 7 sniNames Ljava/util/List<Ljavax/net/ssl/SNIServerName;>;
7 16 8 sniHostName Ljava/lang/String;
14 16 9 ce Ljava/security/cert/CertificateException;
Exception table:
from to target type
8 12 13 Class java.security.cert.CertificateException
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
session
trustedChain
algorithm
checkClientTrusted
static void checkIdentity(java.lang.String, java.security.cert.X509Certificate, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokestatic sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 hostname Ljava/lang/String;
0 2 1 cert Ljava/security/cert/X509Certificate;
0 2 2 algorithm Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
hostname
cert
algorithm
private static void checkIdentity(java.lang.String, java.security.cert.X509Certificate, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;Z)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 18
aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifne 18
1: aload 0
ifnull 4
aload 0
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: aload 0
ldc "]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
iconst_1
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 0
4: StackMap locals:
StackMap stack:
aload 2
ldc "HTTPS"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
5: iconst_1
invokestatic sun.security.util.HostnameChecker.getInstance:(B)Lsun/security/util/HostnameChecker;
6: aload 0
aload 1
iload 3
7: invokevirtual sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Z)V
8: goto 18
StackMap locals:
StackMap stack:
9: aload 2
ldc "LDAP"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 11
10: aload 2
ldc "LDAPS"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
11: StackMap locals:
StackMap stack:
iconst_2
invokestatic sun.security.util.HostnameChecker.getInstance:(B)Lsun/security/util/HostnameChecker;
12: aload 0
aload 1
iload 3
13: invokevirtual sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Z)V
14: goto 18
15: StackMap locals:
StackMap stack:
new java.security.cert.CertificateException
dup
16: new java.lang.StringBuilder
dup
ldc "Unknown identification algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.security.cert.CertificateException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 hostname Ljava/lang/String;
0 19 1 cert Ljava/security/cert/X509Certificate;
0 19 2 algorithm Ljava/lang/String;
0 19 3 chainsToPublicCA Z
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
hostname
cert
algorithm
chainsToPublicCA
}
SourceFile: "X509TrustManagerImpl.java"