public class org.bouncycastle.cms.RecipientInformationStore implements org.bouncycastle.util.Iterable<org.bouncycastle.cms.RecipientInformation>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.RecipientInformationStore
super_class: java.lang.Object
{
private final java.util.List all;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map table;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.bouncycastle.cms.RecipientInformation);
descriptor: (Lorg/bouncycastle/cms/RecipientInformation;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.bouncycastle.cms.RecipientInformationStore.table:Ljava/util/Map;
2: aload 0
new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
putfield org.bouncycastle.cms.RecipientInformationStore.all:Ljava/util/List;
3: aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.all:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 1
invokevirtual org.bouncycastle.cms.RecipientInformation.getRID:()Lorg/bouncycastle/cms/RecipientId;
astore 2
start local 2 5: aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.table:Ljava/util/Map;
aload 2
aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.all:Ljava/util/List;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
0 7 1 recipientInformation Lorg/bouncycastle/cms/RecipientInformation;
5 7 2 sid Lorg/bouncycastle/cms/RecipientId;
MethodParameters:
Name Flags
recipientInformation
public void <init>(java.util.Collection<org.bouncycastle.cms.RecipientInformation>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.bouncycastle.cms.RecipientInformationStore.table:Ljava/util/Map;
2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: goto 11
4: StackMap locals: org.bouncycastle.cms.RecipientInformationStore java.util.Collection java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cms.RecipientInformation
astore 3
start local 3 5: aload 3
invokevirtual org.bouncycastle.cms.RecipientInformation.getRID:()Lorg/bouncycastle/cms/RecipientId;
astore 4
start local 4 6: aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.table:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.ArrayList
astore 5
start local 5 7: aload 5
ifnonnull 10
8: new java.util.ArrayList
dup
iconst_1
invokespecial java.util.ArrayList.<init>:(I)V
astore 5
9: aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.table:Ljava/util/Map;
aload 4
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: StackMap locals: org.bouncycastle.cms.RecipientInformation org.bouncycastle.cms.RecipientId java.util.List
StackMap stack:
aload 5
aload 3
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.bouncycastle.cms.RecipientInformationStore.all:Ljava/util/List;
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
0 14 1 recipientInfos Ljava/util/Collection<Lorg/bouncycastle/cms/RecipientInformation;>;
3 14 2 it Ljava/util/Iterator;
5 11 3 recipientInformation Lorg/bouncycastle/cms/RecipientInformation;
6 11 4 rid Lorg/bouncycastle/cms/RecipientId;
7 11 5 list Ljava/util/List;
Signature: (Ljava/util/Collection<Lorg/bouncycastle/cms/RecipientInformation;>;)V
MethodParameters:
Name Flags
recipientInfos
public org.bouncycastle.cms.RecipientInformation get(org.bouncycastle.cms.RecipientId);
descriptor: (Lorg/bouncycastle/cms/RecipientId;)Lorg/bouncycastle/cms/RecipientInformation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.cms.RecipientInformationStore.getRecipients:(Lorg/bouncycastle/cms/RecipientId;)Ljava/util/Collection;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Collection.size:()I
ifne 2
aconst_null
goto 3
StackMap locals: java.util.Collection
StackMap stack:
2: aload 2
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cms.RecipientInformation
StackMap locals:
StackMap stack: org.bouncycastle.cms.RecipientInformation
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
0 4 1 selector Lorg/bouncycastle/cms/RecipientId;
1 4 2 list Ljava/util/Collection;
MethodParameters:
Name Flags
selector
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.all:Ljava/util/List;
invokeinterface java.util.List.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
public java.util.Collection<org.bouncycastle.cms.RecipientInformation> getRecipients();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.all:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
Signature: ()Ljava/util/Collection<Lorg/bouncycastle/cms/RecipientInformation;>;
public java.util.Collection<org.bouncycastle.cms.Recipient> getRecipients(org.bouncycastle.cms.RecipientId);
descriptor: (Lorg/bouncycastle/cms/RecipientId;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.cms.KeyTransRecipientId
ifeq 13
1: aload 1
checkcast org.bouncycastle.cms.KeyTransRecipientId
astore 2
start local 2 2: aload 2
invokevirtual org.bouncycastle.cms.KeyTransRecipientId.getIssuer:()Lorg/bouncycastle/asn1/x500/X500Name;
astore 3
start local 3 3: aload 2
invokevirtual org.bouncycastle.cms.KeyTransRecipientId.getSubjectKeyIdentifier:()[B
astore 4
start local 4 4: aload 3
ifnull 13
aload 4
ifnull 13
5: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 6: aload 0
new org.bouncycastle.cms.KeyTransRecipientId
dup
aload 3
aload 2
invokevirtual org.bouncycastle.cms.KeyTransRecipientId.getSerialNumber:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.cms.KeyTransRecipientId.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.cms.RecipientInformationStore.getRecipients:(Lorg/bouncycastle/cms/RecipientId;)Ljava/util/Collection;
astore 6
start local 6 7: aload 6
ifnull 9
8: aload 5
aload 6
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
9: StackMap locals: org.bouncycastle.cms.RecipientInformationStore org.bouncycastle.cms.RecipientId org.bouncycastle.cms.KeyTransRecipientId org.bouncycastle.asn1.x500.X500Name byte[] java.util.List java.util.Collection
StackMap stack:
aload 0
new org.bouncycastle.cms.KeyTransRecipientId
dup
aload 4
invokespecial org.bouncycastle.cms.KeyTransRecipientId.<init>:([B)V
invokevirtual org.bouncycastle.cms.RecipientInformationStore.getRecipients:(Lorg/bouncycastle/cms/RecipientId;)Ljava/util/Collection;
astore 7
start local 7 10: aload 7
ifnull 12
11: aload 5
aload 7
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
12: StackMap locals: java.util.Collection
StackMap stack:
aload 5
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 13: StackMap locals: org.bouncycastle.cms.RecipientInformationStore org.bouncycastle.cms.RecipientId
StackMap stack:
aload 0
getfield org.bouncycastle.cms.RecipientInformationStore.table:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.ArrayList
astore 2
start local 2 14: aload 2
ifnonnull 15
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
goto 16
StackMap locals: java.util.List
StackMap stack:
15: new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
StackMap locals:
StackMap stack: java.util.ArrayList
16: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
0 17 1 selector Lorg/bouncycastle/cms/RecipientId;
2 13 2 keyTrans Lorg/bouncycastle/cms/KeyTransRecipientId;
3 13 3 issuer Lorg/bouncycastle/asn1/x500/X500Name;
4 13 4 subjectKeyId [B
6 13 5 results Ljava/util/List;
7 13 6 match1 Ljava/util/Collection;
10 13 7 match2 Ljava/util/Collection;
14 17 2 list Ljava/util/List;
Signature: (Lorg/bouncycastle/cms/RecipientId;)Ljava/util/Collection<Lorg/bouncycastle/cms/Recipient;>;
MethodParameters:
Name Flags
selector
public java.util.Iterator<org.bouncycastle.cms.RecipientInformation> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.cms.RecipientInformationStore.getRecipients:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/RecipientInformationStore;
Signature: ()Ljava/util/Iterator<Lorg/bouncycastle/cms/RecipientInformation;>;
}
Signature: Ljava/lang/Object;Lorg/bouncycastle/util/Iterable<Lorg/bouncycastle/cms/RecipientInformation;>;
SourceFile: "RecipientInformationStore.java"