class org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream
super_class: java.io.OutputStream
{
private java.io.OutputStream _out;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1ObjectIdentifier _contentOID;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.BERSequenceGenerator _sGen;
descriptor: Lorg/bouncycastle/asn1/BERSequenceGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.BERSequenceGenerator _sigGen;
descriptor: Lorg/bouncycastle/asn1/BERSequenceGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.BERSequenceGenerator _eiGen;
descriptor: Lorg/bouncycastle/asn1/BERSequenceGenerator;
flags: (0x0002) ACC_PRIVATE
final org.bouncycastle.cms.CMSSignedDataStreamGenerator this$0;
descriptor: Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.bouncycastle.cms.CMSSignedDataStreamGenerator, java.io.OutputStream, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.BERSequenceGenerator, org.bouncycastle.asn1.BERSequenceGenerator, org.bouncycastle.asn1.BERSequenceGenerator);
descriptor: (Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;Ljava/io/OutputStream;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/BERSequenceGenerator;Lorg/bouncycastle/asn1/BERSequenceGenerator;Lorg/bouncycastle/asn1/BERSequenceGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
putfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
1: aload 0
invokespecial java.io.OutputStream.<init>:()V
2: aload 0
aload 2
putfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._out:Ljava/io/OutputStream;
3: aload 0
aload 3
putfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._contentOID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
4: aload 0
aload 4
putfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
5: aload 0
aload 5
putfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sigGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
6: aload 0
aload 6
putfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._eiGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
7: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator$CmsSignedDataOutputStream;
0 8 2 out Ljava/io/OutputStream;
0 8 3 contentOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 8 4 sGen Lorg/bouncycastle/asn1/BERSequenceGenerator;
0 8 5 sigGen Lorg/bouncycastle/asn1/BERSequenceGenerator;
0 8 6 eiGen Lorg/bouncycastle/asn1/BERSequenceGenerator;
MethodParameters:
Name Flags
this$0 final
out
contentOID
sGen
sigGen
eiGen
public void write(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._out:Ljava/io/OutputStream;
iload 1
invokevirtual java.io.OutputStream.write:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator$CmsSignedDataOutputStream;
0 2 1 b I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
b
public void write(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._out:Ljava/io/OutputStream;
aload 1
iload 2
iload 3
invokevirtual java.io.OutputStream.write:([BII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator$CmsSignedDataOutputStream;
0 2 1 bytes [B
0 2 2 off I
0 2 3 len I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
off
len
public void write(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._out:Ljava/io/OutputStream;
aload 1
invokevirtual java.io.OutputStream.write:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator$CmsSignedDataOutputStream;
0 2 1 bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._out:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
1: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._eiGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.close:()V
2: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.digests:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
3: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.certs:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifeq 6
4: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.certs:Ljava/util/List;
invokestatic org.bouncycastle.cms.CMSUtils.createBerSetFromList:(Ljava/util/List;)Lorg/bouncycastle/asn1/ASN1Set;
astore 1
start local 1 5: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sigGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.getRawOutputStream:()Ljava/io/OutputStream;
new org.bouncycastle.asn1.BERTaggedObject
dup
iconst_0
iconst_0
aload 1
invokespecial org.bouncycastle.asn1.BERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.BERTaggedObject.getEncoded:()[B
invokevirtual java.io.OutputStream.write:([B)V
end local 1 6: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.crls:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifeq 9
7: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.crls:Ljava/util/List;
invokestatic org.bouncycastle.cms.CMSUtils.createBerSetFromList:(Ljava/util/List;)Lorg/bouncycastle/asn1/ASN1Set;
astore 1
start local 1 8: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sigGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.getRawOutputStream:()Ljava/io/OutputStream;
new org.bouncycastle.asn1.BERTaggedObject
dup
iconst_0
iconst_1
aload 1
invokespecial org.bouncycastle.asn1.BERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.BERTaggedObject.getEncoded:()[B
invokevirtual java.io.OutputStream.write:([B)V
end local 1 9: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 10: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.signerGens:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 11: goto 19
12: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cms.SignerInfoGenerator
astore 3
start local 3 13: aload 1
aload 3
aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._contentOID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.generate:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/cms/SignerInfo;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
14: aload 3
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getCalculatedDigest:()[B
astore 4
start local 4 15: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator.digests:Ljava/util/Map;
aload 3
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getDigestAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
aload 4
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 16: goto 19
17: StackMap locals: org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream org.bouncycastle.asn1.ASN1EncodableVector java.util.Iterator org.bouncycastle.cms.SignerInfoGenerator
StackMap stack: org.bouncycastle.cms.CMSException
astore 4
start local 4 18: new org.bouncycastle.cms.CMSStreamException
dup
new java.lang.StringBuilder
dup
ldc "exception generating signers: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual org.bouncycastle.cms.CMSException.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
invokespecial org.bouncycastle.cms.CMSStreamException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 end local 3 19: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 2 20: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator._signers:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 21: goto 24
22: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.bouncycastle.cms.SignerInformation
astore 3
start local 3 23: aload 1
aload 3
invokevirtual org.bouncycastle.cms.SignerInformation.toASN1Structure:()Lorg/bouncycastle/asn1/cms/SignerInfo;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
end local 3 24: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
end local 2 25: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sigGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.getRawOutputStream:()Ljava/io/OutputStream;
new org.bouncycastle.asn1.DERSet
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSet.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokevirtual org.bouncycastle.asn1.DERSet.getEncoded:()[B
invokevirtual java.io.OutputStream.write:([B)V
26: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sigGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.close:()V
27: aload 0
getfield org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream._sGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.close:()V
28: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/bouncycastle/cms/CMSSignedDataStreamGenerator$CmsSignedDataOutputStream;
5 6 1 certSet Lorg/bouncycastle/asn1/ASN1Set;
8 9 1 crlSet Lorg/bouncycastle/asn1/ASN1Set;
10 29 1 signerInfos Lorg/bouncycastle/asn1/ASN1EncodableVector;
11 20 2 it Ljava/util/Iterator;
13 19 3 sigGen Lorg/bouncycastle/cms/SignerInfoGenerator;
15 16 4 calculatedDigest [B
18 19 4 e Lorg/bouncycastle/cms/CMSException;
21 25 2 it Ljava/util/Iterator;
23 24 3 signer Lorg/bouncycastle/cms/SignerInformation;
Exception table:
from to target type
13 16 17 Class org.bouncycastle.cms.CMSException
Exceptions:
throws java.io.IOException
}
SourceFile: "CMSSignedDataStreamGenerator.java"
NestHost: org.bouncycastle.cms.CMSSignedDataStreamGenerator
InnerClasses:
private CmsSignedDataOutputStream = org.bouncycastle.cms.CMSSignedDataStreamGenerator$CmsSignedDataOutputStream of org.bouncycastle.cms.CMSSignedDataStreamGenerator