class sun.security.provider.certpath.BasicChecker extends java.security.cert.PKIXCertPathChecker
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.provider.certpath.BasicChecker
super_class: java.security.cert.PKIXCertPathChecker
{
private static final sun.security.util.Debug debug;
descriptor: Lsun/security/util/Debug;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.security.PublicKey trustedPubKey;
descriptor: Ljava/security/PublicKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final javax.security.auth.x500.X500Principal caName;
descriptor: Ljavax/security/auth/x500/X500Principal;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Date testDate;
descriptor: Ljava/util/Date;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String sigProvider;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean sigOnly;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private javax.security.auth.x500.X500Principal prevSubject;
descriptor: Ljavax/security/auth/x500/X500Principal;
flags: (0x0002) ACC_PRIVATE
private java.security.PublicKey prevPubKey;
descriptor: Ljava/security/PublicKey;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "certpath"
invokestatic sun.security.util.Debug.getInstance:(Ljava/lang/String;)Lsun/security/util/Debug;
putstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.security.cert.TrustAnchor, java.util.Date, java.lang.String, boolean);
descriptor: (Ljava/security/cert/TrustAnchor;Ljava/util/Date;Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.security.cert.PKIXCertPathChecker.<init>:()V
1: aload 1
invokevirtual java.security.cert.TrustAnchor.getTrustedCert:()Ljava/security/cert/X509Certificate;
ifnull 5
2: aload 0
aload 1
invokevirtual java.security.cert.TrustAnchor.getTrustedCert:()Ljava/security/cert/X509Certificate;
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
putfield sun.security.provider.certpath.BasicChecker.trustedPubKey:Ljava/security/PublicKey;
3: aload 0
aload 1
invokevirtual java.security.cert.TrustAnchor.getTrustedCert:()Ljava/security/cert/X509Certificate;
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
putfield sun.security.provider.certpath.BasicChecker.caName:Ljavax/security/auth/x500/X500Principal;
4: goto 7
5: StackMap locals: sun.security.provider.certpath.BasicChecker java.security.cert.TrustAnchor java.util.Date java.lang.String int
StackMap stack:
aload 0
aload 1
invokevirtual java.security.cert.TrustAnchor.getCAPublicKey:()Ljava/security/PublicKey;
putfield sun.security.provider.certpath.BasicChecker.trustedPubKey:Ljava/security/PublicKey;
6: aload 0
aload 1
invokevirtual java.security.cert.TrustAnchor.getCA:()Ljavax/security/auth/x500/X500Principal;
putfield sun.security.provider.certpath.BasicChecker.caName:Ljavax/security/auth/x500/X500Principal;
7: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.security.provider.certpath.BasicChecker.testDate:Ljava/util/Date;
8: aload 0
aload 3
putfield sun.security.provider.certpath.BasicChecker.sigProvider:Ljava/lang/String;
9: aload 0
iload 4
putfield sun.security.provider.certpath.BasicChecker.sigOnly:Z
10: aload 0
iconst_0
invokevirtual sun.security.provider.certpath.BasicChecker.init:(Z)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/provider/certpath/BasicChecker;
0 12 1 anchor Ljava/security/cert/TrustAnchor;
0 12 2 testDate Ljava/util/Date;
0 12 3 sigProvider Ljava/lang/String;
0 12 4 sigOnly Z
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
anchor
testDate
sigProvider
sigOnly
public void init(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 4
1: aload 0
aload 0
getfield sun.security.provider.certpath.BasicChecker.trustedPubKey:Ljava/security/PublicKey;
putfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
2: aload 0
aload 0
getfield sun.security.provider.certpath.BasicChecker.caName:Ljavax/security/auth/x500/X500Principal;
putfield sun.security.provider.certpath.BasicChecker.prevSubject:Ljavax/security/auth/x500/X500Principal;
3: goto 6
4: StackMap locals:
StackMap stack:
new java.security.cert.CertPathValidatorException
dup
ldc "forward checking not supported"
5: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/certpath/BasicChecker;
0 7 1 forward Z
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
forward
public boolean isForwardCheckingSupported();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/BasicChecker;
public java.util.Set<java.lang.String> getSupportedExtensions();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/BasicChecker;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void check(java.security.cert.Certificate, java.util.Collection<java.lang.String>);
descriptor: (Ljava/security/cert/Certificate;Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
checkcast java.security.cert.X509Certificate
astore 3
start local 3 1: aload 0
getfield sun.security.provider.certpath.BasicChecker.sigOnly:Z
ifne 4
2: aload 0
aload 3
aload 0
getfield sun.security.provider.certpath.BasicChecker.testDate:Ljava/util/Date;
invokevirtual sun.security.provider.certpath.BasicChecker.verifyTimestamp:(Ljava/security/cert/X509Certificate;Ljava/util/Date;)V
3: aload 0
aload 3
aload 0
getfield sun.security.provider.certpath.BasicChecker.prevSubject:Ljavax/security/auth/x500/X500Principal;
invokevirtual sun.security.provider.certpath.BasicChecker.verifyNameChaining:(Ljava/security/cert/X509Certificate;Ljavax/security/auth/x500/X500Principal;)V
4: StackMap locals: java.security.cert.X509Certificate
StackMap stack:
aload 0
aload 3
aload 0
getfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
aload 0
getfield sun.security.provider.certpath.BasicChecker.sigProvider:Ljava/lang/String;
invokevirtual sun.security.provider.certpath.BasicChecker.verifySignature:(Ljava/security/cert/X509Certificate;Ljava/security/PublicKey;Ljava/lang/String;)V
5: aload 0
aload 3
invokevirtual sun.security.provider.certpath.BasicChecker.updateState:(Ljava/security/cert/X509Certificate;)V
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/certpath/BasicChecker;
0 7 1 cert Ljava/security/cert/Certificate;
0 7 2 unresolvedCritExts Ljava/util/Collection<Ljava/lang/String;>;
1 7 3 currCert Ljava/security/cert/X509Certificate;
Exceptions:
throws java.security.cert.CertPathValidatorException
Signature: (Ljava/security/cert/Certificate;Ljava/util/Collection<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
cert
unresolvedCritExts
private void verifySignature(java.security.cert.X509Certificate, java.security.PublicKey, java.lang.String);
descriptor: (Ljava/security/cert/X509Certificate;Ljava/security/PublicKey;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "signature"
astore 4
start local 4 1: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 3
2: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "---checking "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 2
aload 3
invokevirtual java.security.cert.X509Certificate.verify:(Ljava/security/PublicKey;Ljava/lang/String;)V
4: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 5
start local 5 6: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 9
7: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
aload 5
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
8: aload 5
invokevirtual java.lang.Exception.printStackTrace:()V
9: StackMap locals: java.lang.Exception
StackMap stack:
new java.security.cert.CertPathValidatorException
dup
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " check failed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 5
invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 5 10: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 12
11: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " verified."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
12: StackMap locals:
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 13 0 this Lsun/security/provider/certpath/BasicChecker;
0 13 1 cert Ljava/security/cert/X509Certificate;
0 13 2 prevPubKey Ljava/security/PublicKey;
0 13 3 sigProvider Ljava/lang/String;
1 13 4 msg Ljava/lang/String;
6 10 5 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cert
prevPubKey
sigProvider
private void verifyTimestamp(java.security.cert.X509Certificate, java.util.Date);
descriptor: (Ljava/security/cert/X509Certificate;Ljava/util/Date;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc "timestamp"
astore 3
start local 3 1: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 3
2: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "---checking "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.util.Date.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
aload 2
invokevirtual java.security.cert.X509Certificate.checkValidity:(Ljava/util/Date;)V
4: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
5: astore 4
start local 4 6: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 9
7: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
8: aload 4
invokevirtual java.lang.Exception.printStackTrace:()V
9: StackMap locals: java.lang.Exception
StackMap stack:
new java.security.cert.CertPathValidatorException
dup
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " check failed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 10: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 12
11: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " verified."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/provider/certpath/BasicChecker;
0 13 1 cert Ljava/security/cert/X509Certificate;
0 13 2 date Ljava/util/Date;
1 13 3 msg Ljava/lang/String;
6 10 4 e Ljava/lang/Exception;
Exception table:
from to target type
3 4 5 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cert
date
private void verifyNameChaining(java.security.cert.X509Certificate, javax.security.auth.x500.X500Principal);
descriptor: (Ljava/security/cert/X509Certificate;Ljavax/security/auth/x500/X500Principal;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 13
1: ldc "subject/issuer name chaining"
astore 3
start local 3 2: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 4
3: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "---checking "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "..."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
4: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 4
start local 4 5: aload 4
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.isEmpty:()Z
ifeq 9
6: new java.security.cert.CertPathValidatorException
dup
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " check failed: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: ldc "empty/null issuer DN in certificate is invalid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: javax.security.auth.x500.X500Principal
StackMap stack:
aload 4
aload 2
invokevirtual javax.security.auth.x500.X500Principal.equals:(Ljava/lang/Object;)Z
ifne 11
10: new java.security.cert.CertPathValidatorException
dup
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " check failed"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 13
12: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " verified."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/provider/certpath/BasicChecker;
0 14 1 cert Ljava/security/cert/X509Certificate;
0 14 2 prevSubject Ljavax/security/auth/x500/X500Principal;
2 13 3 msg Ljava/lang/String;
5 13 4 currIssuer Ljavax/security/auth/x500/X500Principal;
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cert
prevSubject
private void updateState(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
astore 2
start local 2 1: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 7
2: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "BasicChecker.updateState issuer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
3: aload 1
invokevirtual java.security.cert.X509Certificate.getIssuerX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual javax.security.auth.x500.X500Principal.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "; subject: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 1
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "; serial#: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: aload 1
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
7: StackMap locals: java.security.PublicKey
StackMap stack:
aload 2
instanceof java.security.interfaces.DSAPublicKey
ifeq 11
8: aload 2
checkcast java.security.interfaces.DSAPublicKey
invokeinterface java.security.interfaces.DSAPublicKey.getParams:()Ljava/security/interfaces/DSAParams;
ifnonnull 11
9: aload 2
aload 0
getfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
invokestatic sun.security.provider.certpath.BasicChecker.makeInheritedParamsKey:(Ljava/security/PublicKey;Ljava/security/PublicKey;)Ljava/security/PublicKey;
astore 2
10: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 11
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ldc "BasicChecker.updateState Made key with inherited params"
invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
11: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
12: aload 0
aload 1
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
putfield sun.security.provider.certpath.BasicChecker.prevSubject:Ljavax/security/auth/x500/X500Principal;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/provider/certpath/BasicChecker;
0 14 1 currCert Ljava/security/cert/X509Certificate;
1 14 2 cKey Ljava/security/PublicKey;
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
currCert
static java.security.PublicKey makeInheritedParamsKey(java.security.PublicKey, java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;Ljava/security/PublicKey;)Ljava/security/PublicKey;
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 0
instanceof java.security.interfaces.DSAPublicKey
ifeq 2
1: aload 1
instanceof java.security.interfaces.DSAPublicKey
ifne 3
2: StackMap locals:
StackMap stack:
new java.security.cert.CertPathValidatorException
dup
ldc "Input key is not appropriate type for inheriting parameters"
invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.interfaces.DSAPublicKey
invokeinterface java.security.interfaces.DSAPublicKey.getParams:()Ljava/security/interfaces/DSAParams;
astore 3
start local 3 4: aload 3
ifnonnull 6
5: new java.security.cert.CertPathValidatorException
dup
ldc "Key parameters missing"
invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.security.PublicKey java.security.PublicKey top java.security.interfaces.DSAParams
StackMap stack:
aload 0
checkcast java.security.interfaces.DSAPublicKey
invokeinterface java.security.interfaces.DSAPublicKey.getY:()Ljava/math/BigInteger;
astore 4
start local 4 7: ldc "DSA"
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 5
start local 5 8: new java.security.spec.DSAPublicKeySpec
dup
aload 4
9: aload 3
invokeinterface java.security.interfaces.DSAParams.getP:()Ljava/math/BigInteger;
10: aload 3
invokeinterface java.security.interfaces.DSAParams.getQ:()Ljava/math/BigInteger;
11: aload 3
invokeinterface java.security.interfaces.DSAParams.getG:()Ljava/math/BigInteger;
12: invokespecial java.security.spec.DSAPublicKeySpec.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
astore 6
start local 6 13: aload 5
aload 6
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
astore 2
end local 6 end local 5 end local 4 start local 2 14: goto 19
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
15: astore 4
start local 4 16: new java.security.cert.CertPathValidatorException
dup
new java.lang.StringBuilder
dup
ldc "Unable to generate key with inherited parameters: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
17: aload 4
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 4
18: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 start local 2 19: StackMap locals: java.security.PublicKey java.security.PublicKey java.security.PublicKey java.security.interfaces.DSAParams
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 keyValueKey Ljava/security/PublicKey;
0 20 1 keyParamsKey Ljava/security/PublicKey;
14 15 2 usableKey Ljava/security/PublicKey;
19 20 2 usableKey Ljava/security/PublicKey;
4 20 3 params Ljava/security/interfaces/DSAParams;
7 14 4 y Ljava/math/BigInteger;
8 14 5 kf Ljava/security/KeyFactory;
13 14 6 ks Ljava/security/spec/DSAPublicKeySpec;
16 19 4 e Ljava/lang/Exception;
Exception table:
from to target type
6 14 15 Class java.lang.Exception
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
keyValueKey
keyParamsKey
java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/BasicChecker;
}
SourceFile: "BasicChecker.java"