final class sun.security.ssl.X509TrustManagerImpl extends com.sun.net.ssl.internal.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: com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager
{
private static final boolean checkRevocation;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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
private static final sun.security.ssl.Debug debug;
descriptor: Lsun/security/ssl/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "com.sun.net.ssl.checkRevocation"
iconst_0
invokestatic sun.security.ssl.Debug.getBooleanProperty:(Ljava/lang/String;Z)Z
1: putstatic sun.security.ssl.X509TrustManagerImpl.checkRevocation:Z
2: ldc "ssl"
invokestatic sun.security.ssl.Debug.getInstance:(Ljava/lang/String;)Lsun/security/ssl/Debug;
putstatic sun.security.ssl.X509TrustManagerImpl.debug:Lsun/security/ssl/Debug;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.security.KeyStore);
descriptor: (Ljava/lang/String;Ljava/security/KeyStore;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.net.ssl.internal.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 6
4: aload 0
invokestatic java.util.Collections.emptySet:()Ljava/util/Set;
putfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
5: goto 7
6: StackMap locals: sun.security.ssl.X509TrustManagerImpl java.lang.String java.security.KeyStore
StackMap stack:
aload 0
aload 2
invokestatic sun.security.validator.KeyStores.getTrustedCerts:(Ljava/security/KeyStore;)Ljava/util/Set;
putfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.ssl.X509TrustManagerImpl.showTrustedCerts:()V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 9 1 validatorType Ljava/lang/String;
0 9 2 ks Ljava/security/KeyStore;
Exceptions:
throws java.security.KeyStoreException
MethodParameters:
Name Flags
validatorType
ks
void <init>(java.lang.String, java.security.cert.PKIXBuilderParameters);
descriptor: (Ljava/lang/String;Ljava/security/cert/PKIXBuilderParameters;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.net.ssl.internal.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: aload 0
invokevirtual sun.security.ssl.X509TrustManagerImpl.showTrustedCerts:()V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 8 1 validatorType Ljava/lang/String;
0 8 2 params Ljava/security/cert/PKIXBuilderParameters;
4 8 3 v Lsun/security/validator/Validator;
MethodParameters:
Name Flags
validatorType
params
private void showTrustedCerts();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: getstatic sun.security.ssl.X509TrustManagerImpl.debug:Lsun/security/ssl/Debug;
ifnull 21
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 21
1: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.trustedCerts:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 20
StackMap locals: sun.security.ssl.X509TrustManagerImpl top java.util.Iterator
StackMap stack:
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.X509Certificate
astore 1
start local 1 3: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "adding as trusted cert:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Subject: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Issuer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 1
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
10: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 1
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
12: ldc "; Serial number: 0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
13: aload 1
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
bipush 16
invokevirtual java.math.BigInteger.toString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Valid from "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 1
invokevirtual java.security.cert.X509Certificate.getNotBefore:()Ljava/util/Date;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc " until "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
17: aload 1
invokevirtual java.security.cert.X509Certificate.getNotAfter:()Ljava/util/Date;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
end local 1 20: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
21: StackMap locals: sun.security.ssl.X509TrustManagerImpl
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/security/ssl/X509TrustManagerImpl;
3 20 1 cert Ljava/security/cert/X509Certificate;
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=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.pkixParams:Ljava/security/cert/PKIXBuilderParameters;
ifnonnull 8
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: aload 2
instanceof sun.security.validator.PKIXValidator
ifeq 9
3: aload 2
checkcast sun.security.validator.PKIXValidator
astore 3
start local 3 4: aload 3
invokevirtual sun.security.validator.PKIXValidator.getParameters:()Ljava/security/cert/PKIXBuilderParameters;
5: getstatic sun.security.ssl.X509TrustManagerImpl.checkRevocation:Z
6: invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
end local 3 7: goto 9
end local 2 8: 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 9: 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 10 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 10 1 variant Ljava/lang/String;
2 8 2 v Lsun/security/validator/Validator;
9 10 2 v Lsun/security/validator/Validator;
4 7 3 pkixValidator Lsun/security/validator/PKIXValidator;
MethodParameters:
Name Flags
variant
private static java.security.cert.X509Certificate[] validate(sun.security.validator.Validator, java.security.cert.X509Certificate[], java.lang.String);
descriptor: (Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: invokestatic sun.security.ssl.JsseJce.beginFipsProvider:()Ljava/lang/Object;
astore 3
start local 3 1: aload 0
aload 1
aconst_null
aload 2
invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
astore 5
2: aload 3
invokestatic sun.security.ssl.JsseJce.endFipsProvider:(Ljava/lang/Object;)V
3: aload 5
areturn
4: StackMap locals: sun.security.validator.Validator java.security.cert.X509Certificate[] java.lang.String java.lang.Object
StackMap stack: java.lang.Throwable
astore 4
5: aload 3
invokestatic sun.security.ssl.JsseJce.endFipsProvider:(Ljava/lang/Object;)V
6: aload 4
athrow
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 authType Ljava/lang/String;
1 7 3 o Ljava/lang/Object;
Exception table:
from to target type
1 2 4 any
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
v
chain
authType
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=4, locals=5, args_size=3
start local 0 start local 1 start local 2 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.length:()I
ifne 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:
aload 0
getfield sun.security.ssl.X509TrustManagerImpl.clientValidator:Lsun/security/validator/Validator;
astore 3
start local 3 9: aload 3
ifnonnull 19
10: aload 0
dup
astore 4
monitorenter
11: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.clientValidator:Lsun/security/validator/Validator;
astore 3
12: aload 3
ifnonnull 15
13: aload 0
ldc "tls client"
invokevirtual sun.security.ssl.X509TrustManagerImpl.getValidator:(Ljava/lang/String;)Lsun/security/validator/Validator;
astore 3
14: aload 0
aload 3
putfield sun.security.ssl.X509TrustManagerImpl.clientValidator:Lsun/security/validator/Validator;
15: StackMap locals: sun.security.validator.Validator sun.security.ssl.X509TrustManagerImpl
StackMap stack:
aload 4
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
aload 3
aload 1
aconst_null
invokestatic sun.security.ssl.X509TrustManagerImpl.validate:(Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 4
start local 4 20: getstatic sun.security.ssl.X509TrustManagerImpl.debug:Lsun/security/ssl/Debug;
ifnull 23
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 23
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Found trusted certificate:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 4
aload 4
arraylength
iconst_1
isub
aaload
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
23: StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 24 1 chain [Ljava/security/cert/X509Certificate;
0 24 2 authType Ljava/lang/String;
9 24 3 v Lsun/security/validator/Validator;
20 24 4 trustedChain [Ljava/security/cert/X509Certificate;
Exception table:
from to target type
11 16 17 any
17 18 17 any
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=4, locals=5, args_size=3
start local 0 start local 1 start local 2 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.length:()I
ifne 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:
aload 0
getfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
astore 3
start local 3 9: aload 3
ifnonnull 19
10: aload 0
dup
astore 4
monitorenter
11: aload 0
getfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
astore 3
12: aload 3
ifnonnull 15
13: aload 0
ldc "tls server"
invokevirtual sun.security.ssl.X509TrustManagerImpl.getValidator:(Ljava/lang/String;)Lsun/security/validator/Validator;
astore 3
14: aload 0
aload 3
putfield sun.security.ssl.X509TrustManagerImpl.serverValidator:Lsun/security/validator/Validator;
15: StackMap locals: sun.security.validator.Validator sun.security.ssl.X509TrustManagerImpl
StackMap stack:
aload 4
monitorexit
16: goto 19
StackMap locals:
StackMap stack: java.lang.Throwable
17: aload 4
monitorexit
18: athrow
19: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 2
invokestatic sun.security.ssl.X509TrustManagerImpl.validate:(Lsun/security/validator/Validator;[Ljava/security/cert/X509Certificate;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;
astore 4
start local 4 20: getstatic sun.security.ssl.X509TrustManagerImpl.debug:Lsun/security/ssl/Debug;
ifnull 23
ldc "trustmanager"
invokestatic sun.security.ssl.Debug.isOn:(Ljava/lang/String;)Z
ifeq 23
21: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Found trusted certificate:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 4
aload 4
arraylength
iconst_1
isub
aaload
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
23: StackMap locals: java.security.cert.X509Certificate[]
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 24 1 chain [Ljava/security/cert/X509Certificate;
0 24 2 authType Ljava/lang/String;
9 24 3 v Lsun/security/validator/Validator;
20 24 4 trustedChain [Ljava/security/cert/X509Certificate;
Exception table:
from to target type
11 16 17 any
17 18 17 any
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.lang.String, java.lang.String);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, 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
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkClientTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
1: aload 0
aload 3
aload 1
iconst_0
aaload
aload 4
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 3 1 chain [Ljava/security/cert/X509Certificate;
0 3 2 authType Ljava/lang/String;
0 3 3 hostname Ljava/lang/String;
0 3 4 algorithm Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
hostname
algorithm
public void checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String, java.lang.String, java.lang.String);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, 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
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkServerTrusted:([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
1: aload 0
aload 3
aload 1
iconst_0
aaload
aload 4
invokevirtual sun.security.ssl.X509TrustManagerImpl.checkIdentity:(Ljava/lang/String;Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 3 1 chain [Ljava/security/cert/X509Certificate;
0 3 2 authType Ljava/lang/String;
0 3 3 hostname Ljava/lang/String;
0 3 4 algorithm Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
authType
hostname
algorithm
private 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: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 17
aload 3
invokevirtual java.lang.String.length:()I
ifeq 17
1: aload 1
ifnull 4
aload 1
ldc "["
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
2: aload 1
ldc "]"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 1
iconst_1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 1
4: StackMap locals:
StackMap stack:
aload 3
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 1
aload 2
7: invokevirtual sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
8: goto 17
StackMap locals:
StackMap stack:
9: aload 3
ldc "LDAP"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
10: iconst_2
invokestatic sun.security.util.HostnameChecker.getInstance:(B)Lsun/security/util/HostnameChecker;
11: aload 1
aload 2
12: invokevirtual sun.security.util.HostnameChecker.match:(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V
13: goto 17
14: StackMap locals:
StackMap stack:
new java.security.cert.CertificateException
dup
15: new java.lang.StringBuilder
dup
ldc "Unknown identification algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.security.cert.CertificateException.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/ssl/X509TrustManagerImpl;
0 18 1 hostname Ljava/lang/String;
0 18 2 cert Ljava/security/cert/X509Certificate;
0 18 3 algorithm Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
hostname
cert
algorithm
}
SourceFile: "X509TrustManagerImpl.java"