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 date;
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.date: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: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/provider/certpath/BasicChecker;
0 11 1 anchor Ljava/security/cert/TrustAnchor;
0 11 2 date Ljava/util/Date;
0 11 3 sigProvider Ljava/lang/String;
0 11 4 sigOnly Z
MethodParameters:
Name Flags
anchor
date
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=2, 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
invokevirtual sun.security.provider.certpath.BasicChecker.verifyValidity:(Ljava/security/cert/X509Certificate;)V
3: aload 0
aload 3
invokevirtual sun.security.provider.certpath.BasicChecker.verifyNameChaining:(Ljava/security/cert/X509Certificate;)V
4: StackMap locals: java.security.cert.X509Certificate
StackMap stack:
aload 0
aload 3
invokevirtual sun.security.provider.certpath.BasicChecker.verifySignature:(Ljava/security/cert/X509Certificate;)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);
descriptor: (Ljava/security/cert/X509Certificate;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: ldc "signature"
astore 2
start local 2 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 2
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 0
getfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
aload 0
getfield sun.security.provider.certpath.BasicChecker.sigProvider:Ljava/lang/String;
invokevirtual java.security.cert.X509Certificate.verify:(Ljava/security/PublicKey;Ljava/lang/String;)V
4: goto 12
StackMap locals:
StackMap stack: java.security.SignatureException
5: astore 3
start local 3 6: new java.security.cert.CertPathValidatorException
dup
7: new java.lang.StringBuilder
dup
aload 2
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 3
aconst_null
iconst_m1
8: getstatic java.security.cert.CertPathValidatorException$BasicReason.INVALID_SIGNATURE:Ljava/security/cert/CertPathValidatorException$BasicReason;
9: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
end local 3 10: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 3
start local 3 11: new java.security.cert.CertPathValidatorException
dup
new java.lang.StringBuilder
dup
aload 2
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 3
invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 12: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 14
13: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 2
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
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/provider/certpath/BasicChecker;
0 15 1 cert Ljava/security/cert/X509Certificate;
1 15 2 msg Ljava/lang/String;
6 10 3 e Ljava/security/SignatureException;
11 12 3 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
3 4 5 Class java.security.SignatureException
3 4 10 Class java.security.GeneralSecurityException
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cert
private void verifyValidity(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: ldc "validity"
astore 2
start local 2 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 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.provider.certpath.BasicChecker.date:Ljava/util/Date;
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 0
getfield sun.security.provider.certpath.BasicChecker.date:Ljava/util/Date;
invokevirtual java.security.cert.X509Certificate.checkValidity:(Ljava/util/Date;)V
4: goto 13
StackMap locals:
StackMap stack: java.security.cert.CertificateExpiredException
5: astore 3
start local 3 6: new java.security.cert.CertPathValidatorException
dup
7: new java.lang.StringBuilder
dup
aload 2
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 3
aconst_null
iconst_m1
getstatic java.security.cert.CertPathValidatorException$BasicReason.EXPIRED:Ljava/security/cert/CertPathValidatorException$BasicReason;
8: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
end local 3 9: StackMap locals:
StackMap stack: java.security.cert.CertificateNotYetValidException
astore 3
start local 3 10: new java.security.cert.CertPathValidatorException
dup
11: new java.lang.StringBuilder
dup
aload 2
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 3
aconst_null
iconst_m1
getstatic java.security.cert.CertPathValidatorException$BasicReason.NOT_YET_VALID:Ljava/security/cert/CertPathValidatorException$BasicReason;
12: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
end local 3 13: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 15
14: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 2
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
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/provider/certpath/BasicChecker;
0 16 1 cert Ljava/security/cert/X509Certificate;
1 16 2 msg Ljava/lang/String;
6 9 3 e Ljava/security/cert/CertificateExpiredException;
10 13 3 e Ljava/security/cert/CertificateNotYetValidException;
Exception table:
from to target type
3 4 5 Class java.security.cert.CertificateExpiredException
3 4 9 Class java.security.cert.CertificateNotYetValidException
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cert
private void verifyNameChaining(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.provider.certpath.BasicChecker.prevSubject:Ljavax/security/auth/x500/X500Principal;
ifnull 20
1: ldc "subject/issuer name chaining"
astore 2
start local 2 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 2
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 3
start local 3 5: aload 3
invokestatic sun.security.x509.X500Name.asX500Name:(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
invokevirtual sun.security.x509.X500Name.isEmpty:()Z
ifeq 13
6: new java.security.cert.CertPathValidatorException
dup
7: new java.lang.StringBuilder
dup
aload 2
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;
8: ldc "empty/null issuer DN in certificate is invalid"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: aconst_null
11: aconst_null
iconst_m1
getstatic java.security.cert.PKIXReason.NAME_CHAINING:Ljava/security/cert/PKIXReason;
12: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
13: StackMap locals: javax.security.auth.x500.X500Principal
StackMap stack:
aload 3
aload 0
getfield sun.security.provider.certpath.BasicChecker.prevSubject:Ljavax/security/auth/x500/X500Principal;
invokevirtual javax.security.auth.x500.X500Principal.equals:(Ljava/lang/Object;)Z
ifne 18
14: new java.security.cert.CertPathValidatorException
dup
15: new java.lang.StringBuilder
dup
aload 2
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;
aconst_null
aconst_null
iconst_m1
16: getstatic java.security.cert.PKIXReason.NAME_CHAINING:Ljava/security/cert/PKIXReason;
17: invokespecial java.security.cert.CertPathValidatorException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V
athrow
18: StackMap locals:
StackMap stack:
getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 20
19: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
aload 2
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 3 end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lsun/security/provider/certpath/BasicChecker;
0 21 1 cert Ljava/security/cert/X509Certificate;
2 20 2 msg Ljava/lang/String;
5 20 3 currIssuer Ljavax/security/auth/x500/X500Principal;
Exceptions:
throws java.security.cert.CertPathValidatorException
MethodParameters:
Name Flags
cert
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
invokestatic sun.security.provider.certpath.PKIX.isDSAPublicKeyWithoutParams:(Ljava/security/PublicKey;)Z
ifeq 10
8: 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
9: getstatic sun.security.provider.certpath.BasicChecker.debug:Lsun/security/util/Debug;
ifnull 10
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
10: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.security.provider.certpath.BasicChecker.prevPubKey:Ljava/security/PublicKey;
11: 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;
12: return
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 currCert Ljava/security/cert/X509Certificate;
1 13 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.security.GeneralSecurityException
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.security.GeneralSecurityException.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/security/GeneralSecurityException;
Exception table:
from to target type
6 14 15 Class java.security.GeneralSecurityException
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"
InnerClasses:
public final BasicReason = java.security.cert.CertPathValidatorException$BasicReason of java.security.cert.CertPathValidatorException
public abstract Reason = java.security.cert.CertPathValidatorException$Reason of java.security.cert.CertPathValidatorException