public class org.bouncycastle.cert.jcajce.JcaCertStoreBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.jcajce.JcaCertStoreBuilder
super_class: java.lang.Object
{
private java.util.List certs;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.util.List crls;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private java.lang.Object provider;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cert.jcajce.JcaX509CertificateConverter certificateConverter;
descriptor: Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cert.jcajce.JcaX509CRLConverter crlConverter;
descriptor: Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
flags: (0x0002) ACC_PRIVATE
private java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certs:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crls:Ljava/util/List;
3: aload 0
new org.bouncycastle.cert.jcajce.JcaX509CertificateConverter
dup
invokespecial org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.<init>:()V
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certificateConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
4: aload 0
new org.bouncycastle.cert.jcajce.JcaX509CRLConverter
dup
invokespecial org.bouncycastle.cert.jcajce.JcaX509CRLConverter.<init>:()V
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crlConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
5: aload 0
ldc "Collection"
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.type:Ljava/lang/String;
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder addCertificates(org.bouncycastle.util.Store);
descriptor: (Lorg/bouncycastle/util/Store;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certs:Ljava/util/List;
aload 1
aconst_null
invokeinterface org.bouncycastle.util.Store.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 2 1 certStore Lorg/bouncycastle/util/Store;
MethodParameters:
Name Flags
certStore
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder addCertificate(org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certs:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 2 1 cert Lorg/bouncycastle/cert/X509CertificateHolder;
MethodParameters:
Name Flags
cert
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder addCRLs(org.bouncycastle.util.Store);
descriptor: (Lorg/bouncycastle/util/Store;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crls:Ljava/util/List;
aload 1
aconst_null
invokeinterface org.bouncycastle.util.Store.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 2 1 crlStore Lorg/bouncycastle/util/Store;
MethodParameters:
Name Flags
crlStore
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder addCRL(org.bouncycastle.cert.X509CRLHolder);
descriptor: (Lorg/bouncycastle/cert/X509CRLHolder;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crls:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 2 1 crl Lorg/bouncycastle/cert/X509CRLHolder;
MethodParameters:
Name Flags
crl
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certificateConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
aload 1
invokevirtual org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.setProvider:(Ljava/lang/String;)Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
pop
1: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crlConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
aload 1
invokevirtual org.bouncycastle.cert.jcajce.JcaX509CRLConverter.setProvider:(Ljava/lang/String;)Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
pop
2: aload 0
aload 1
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.provider:Ljava/lang/Object;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 4 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certificateConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
aload 1
invokevirtual org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.setProvider:(Ljava/security/Provider;)Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
pop
1: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crlConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
aload 1
invokevirtual org.bouncycastle.cert.jcajce.JcaX509CRLConverter.setProvider:(Ljava/security/Provider;)Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
pop
2: aload 0
aload 1
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.provider:Ljava/lang/Object;
3: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 4 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cert.jcajce.JcaCertStoreBuilder setType(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.type:Ljava/lang/String;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 2 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
public java.security.cert.CertStore build();
descriptor: ()Ljava/security/cert/CertStore;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certificateConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crlConverter:Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
invokevirtual org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.convertHolders:(Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;)Ljava/security/cert/CollectionCertStoreParameters;
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.provider:Ljava/lang/Object;
instanceof java.lang.String
ifeq 3
2: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.type:Ljava/lang/String;
aload 1
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.provider:Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.security.cert.CertStore.getInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;Ljava/lang/String;)Ljava/security/cert/CertStore;
areturn
3: StackMap locals: java.security.cert.CollectionCertStoreParameters
StackMap stack:
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.provider:Ljava/lang/Object;
instanceof java.security.Provider
ifeq 5
4: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.type:Ljava/lang/String;
aload 1
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.provider:Ljava/lang/Object;
checkcast java.security.Provider
invokestatic java.security.cert.CertStore.getInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;Ljava/security/Provider;)Ljava/security/cert/CertStore;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.type:Ljava/lang/String;
aload 1
invokestatic java.security.cert.CertStore.getInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;)Ljava/security/cert/CertStore;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
1 6 1 params Ljava/security/cert/CollectionCertStoreParameters;
Exceptions:
throws java.security.GeneralSecurityException
private java.security.cert.CollectionCertStoreParameters convertHolders(org.bouncycastle.cert.jcajce.JcaX509CertificateConverter, org.bouncycastle.cert.jcajce.JcaX509CRLConverter);
descriptor: (Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;)Ljava/security/cert/CollectionCertStoreParameters;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certs:Ljava/util/List;
invokeinterface java.util.List.size:()I
aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crls:Ljava/util/List;
invokeinterface java.util.List.size:()I
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 1: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.certs:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 2: goto 4
3: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 3
aload 1
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cert.X509CertificateHolder
invokevirtual org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.getCertificate:(Lorg/bouncycastle/cert/X509CertificateHolder;)Ljava/security/cert/X509Certificate;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 4 5: aload 0
getfield org.bouncycastle.cert.jcajce.JcaCertStoreBuilder.crls:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 6: goto 8
7: StackMap locals:
StackMap stack:
aload 3
aload 2
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cert.X509CRLHolder
invokevirtual org.bouncycastle.cert.jcajce.JcaX509CRLConverter.getCRL:(Lorg/bouncycastle/cert/X509CRLHolder;)Ljava/security/cert/X509CRL;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 4 9: new java.security.cert.CollectionCertStoreParameters
dup
aload 3
invokespecial java.security.cert.CollectionCertStoreParameters.<init>:(Ljava/util/Collection;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/cert/jcajce/JcaCertStoreBuilder;
0 10 1 certificateConverter Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
0 10 2 crlConverter Lorg/bouncycastle/cert/jcajce/JcaX509CRLConverter;
1 10 3 jcaObjs Ljava/util/List;
2 5 4 it Ljava/util/Iterator;
6 9 4 it Ljava/util/Iterator;
Exceptions:
throws java.security.cert.CertificateException, java.security.cert.CRLException
MethodParameters:
Name Flags
certificateConverter
crlConverter
}
SourceFile: "JcaCertStoreBuilder.java"