class sun.security.provider.certpath.PKIX$BuilderParams extends sun.security.provider.certpath.PKIX$ValidatorParams
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.provider.certpath.PKIX$BuilderParams
super_class: sun.security.provider.certpath.PKIX$ValidatorParams
{
private java.security.cert.PKIXBuilderParameters params;
descriptor: Ljava/security/cert/PKIXBuilderParameters;
flags: (0x0002) ACC_PRIVATE
private java.util.List<java.security.cert.CertStore> stores;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/security/cert/CertStore;>;
private javax.security.auth.x500.X500Principal targetSubject;
descriptor: Ljavax/security/auth/x500/X500Principal;
flags: (0x0002) ACC_PRIVATE
void <init>(java.security.cert.PKIXBuilderParameters);
descriptor: (Ljava/security/cert/PKIXBuilderParameters;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.security.provider.certpath.PKIX$ValidatorParams.<init>:(Ljava/security/cert/PKIXParameters;)V
1: aload 0
aload 1
invokevirtual sun.security.provider.certpath.PKIX$BuilderParams.checkParams:(Ljava/security/cert/PKIXBuilderParameters;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/provider/certpath/PKIX$BuilderParams;
0 3 1 params Ljava/security/cert/PKIXBuilderParameters;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
private void checkParams(java.security.cert.PKIXBuilderParameters);
descriptor: (Ljava/security/cert/PKIXBuilderParameters;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.provider.certpath.PKIX$BuilderParams.targetCertConstraints:()Ljava/security/cert/CertSelector;
astore 2
start local 2 1: aload 2
instanceof java.security.cert.X509CertSelector
ifne 3
2: new java.security.InvalidAlgorithmParameterException
dup
ldc "the targetCertConstraints parameter must be an X509CertSelector"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.security.cert.CertSelector
StackMap stack:
aload 0
aload 1
putfield sun.security.provider.certpath.PKIX$BuilderParams.params:Ljava/security/cert/PKIXBuilderParameters;
4: aload 0
5: aload 0
invokevirtual sun.security.provider.certpath.PKIX$BuilderParams.certStores:()Ljava/util/List;
aload 0
invokevirtual sun.security.provider.certpath.PKIX$BuilderParams.targetCertConstraints:()Ljava/security/cert/CertSelector;
checkcast java.security.cert.X509CertSelector
6: invokestatic sun.security.provider.certpath.PKIX$BuilderParams.getTargetSubject:(Ljava/util/List;Ljava/security/cert/X509CertSelector;)Ljavax/security/auth/x500/X500Principal;
putfield sun.security.provider.certpath.PKIX$BuilderParams.targetSubject:Ljavax/security/auth/x500/X500Principal;
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/provider/certpath/PKIX$BuilderParams;
0 8 1 params Ljava/security/cert/PKIXBuilderParameters;
1 8 2 sel Ljava/security/cert/CertSelector;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
java.util.List<java.security.cert.CertStore> certStores();
descriptor: ()Ljava/util/List;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.stores:Ljava/util/List;
ifnonnull 3
1: aload 0
new java.util.ArrayList
dup
aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.params:Ljava/security/cert/PKIXBuilderParameters;
invokevirtual java.security.cert.PKIXBuilderParameters.getCertStores:()Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield sun.security.provider.certpath.PKIX$BuilderParams.stores:Ljava/util/List;
2: aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.stores:Ljava/util/List;
new sun.security.provider.certpath.PKIX$CertStoreComparator
dup
invokespecial sun.security.provider.certpath.PKIX$CertStoreComparator.<init>:()V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.stores:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/provider/certpath/PKIX$BuilderParams;
Signature: ()Ljava/util/List<Ljava/security/cert/CertStore;>;
int maxPathLength();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.params:Ljava/security/cert/PKIXBuilderParameters;
invokevirtual java.security.cert.PKIXBuilderParameters.getMaxPathLength:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/PKIX$BuilderParams;
java.security.cert.PKIXBuilderParameters params();
descriptor: ()Ljava/security/cert/PKIXBuilderParameters;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.params:Ljava/security/cert/PKIXBuilderParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/PKIX$BuilderParams;
javax.security.auth.x500.X500Principal targetSubject();
descriptor: ()Ljavax/security/auth/x500/X500Principal;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.PKIX$BuilderParams.targetSubject:Ljavax/security/auth/x500/X500Principal;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/PKIX$BuilderParams;
private static javax.security.auth.x500.X500Principal getTargetSubject(java.util.List<java.security.cert.CertStore>, java.security.cert.X509CertSelector);
descriptor: (Ljava/util/List;Ljava/security/cert/X509CertSelector;)Ljavax/security/auth/x500/X500Principal;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.security.cert.X509CertSelector.getSubject:()Ljavax/security/auth/x500/X500Principal;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: javax.security.auth.x500.X500Principal
StackMap stack:
aload 1
invokevirtual java.security.cert.X509CertSelector.getCertificate:()Ljava/security/cert/X509Certificate;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
astore 2
6: StackMap locals: java.security.cert.X509Certificate
StackMap stack:
aload 2
ifnull 8
7: aload 2
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 23
StackMap locals: java.util.List java.security.cert.X509CertSelector javax.security.auth.x500.X500Principal java.security.cert.X509Certificate top java.util.Iterator
StackMap stack:
9: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.CertStore
astore 4
start local 4 10: aload 4
aload 1
invokevirtual java.security.cert.CertStore.getCertificates:(Ljava/security/cert/CertSelector;)Ljava/util/Collection;
11: astore 6
start local 6 12: aload 6
invokeinterface java.util.Collection.isEmpty:()Z
ifne 23
13: aload 6
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.security.cert.X509Certificate
14: astore 7
start local 7 15: aload 7
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
16: areturn
end local 7 end local 6 17: StackMap locals: java.util.List java.security.cert.X509CertSelector javax.security.auth.x500.X500Principal java.security.cert.X509Certificate java.security.cert.CertStore java.util.Iterator
StackMap stack: java.security.cert.CertStoreException
astore 6
start local 6 18: getstatic sun.security.provider.certpath.PKIX.debug:Lsun/security/util/Debug;
ifnull 23
19: getstatic sun.security.provider.certpath.PKIX.debug:Lsun/security/util/Debug;
new java.lang.StringBuilder
dup
ldc "BuilderParams.getTargetSubjectDN: non-fatal exception retrieving certs: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
20: aload 6
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
21: invokevirtual sun.security.util.Debug.println:(Ljava/lang/String;)V
22: aload 6
invokevirtual java.security.cert.CertStoreException.printStackTrace:()V
end local 6 end local 4 23: StackMap locals: java.util.List java.security.cert.X509CertSelector javax.security.auth.x500.X500Principal java.security.cert.X509Certificate top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
24: new java.security.InvalidAlgorithmParameterException
dup
25: ldc "Could not determine unique target subject"
26: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 stores Ljava/util/List<Ljava/security/cert/CertStore;>;
0 27 1 sel Ljava/security/cert/X509CertSelector;
1 27 2 subject Ljavax/security/auth/x500/X500Principal;
4 27 3 cert Ljava/security/cert/X509Certificate;
10 23 4 store Ljava/security/cert/CertStore;
12 17 6 certs Ljava/util/Collection<+Ljava/security/cert/Certificate;>;
15 17 7 xc Ljava/security/cert/X509Certificate;
18 23 6 e Ljava/security/cert/CertStoreException;
Exception table:
from to target type
10 16 17 Class java.security.cert.CertStoreException
Exceptions:
throws java.security.InvalidAlgorithmParameterException
Signature: (Ljava/util/List<Ljava/security/cert/CertStore;>;Ljava/security/cert/X509CertSelector;)Ljavax/security/auth/x500/X500Principal;
MethodParameters:
Name Flags
stores
sel
}
SourceFile: "PKIX.java"
NestHost: sun.security.provider.certpath.PKIX
InnerClasses:
BuilderParams = sun.security.provider.certpath.PKIX$BuilderParams of sun.security.provider.certpath.PKIX
private CertStoreComparator = sun.security.provider.certpath.PKIX$CertStoreComparator of sun.security.provider.certpath.PKIX
ValidatorParams = sun.security.provider.certpath.PKIX$ValidatorParams of sun.security.provider.certpath.PKIX