class org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream extends java.io.OutputStream
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream
super_class: java.io.OutputStream
{
private java.io.OutputStream dataStream;
descriptor: Ljava/io/OutputStream;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.BERSequenceGenerator cGen;
descriptor: Lorg/bouncycastle/asn1/BERSequenceGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.BERSequenceGenerator envGen;
descriptor: Lorg/bouncycastle/asn1/BERSequenceGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.BERSequenceGenerator eiGen;
descriptor: Lorg/bouncycastle/asn1/BERSequenceGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.operator.MacCalculator macCalculator;
descriptor: Lorg/bouncycastle/operator/MacCalculator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.operator.DigestCalculator digestCalculator;
descriptor: Lorg/bouncycastle/operator/DigestCalculator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1ObjectIdentifier contentType;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
final org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator this$0;
descriptor: Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator, org.bouncycastle.operator.MacCalculator, org.bouncycastle.operator.DigestCalculator, org.bouncycastle.asn1.ASN1ObjectIdentifier, java.io.OutputStream, org.bouncycastle.asn1.BERSequenceGenerator, org.bouncycastle.asn1.BERSequenceGenerator, org.bouncycastle.asn1.BERSequenceGenerator);
descriptor: (Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;Lorg/bouncycastle/operator/MacCalculator;Lorg/bouncycastle/operator/DigestCalculator;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Ljava/io/OutputStream;Lorg/bouncycastle/asn1/BERSequenceGenerator;Lorg/bouncycastle/asn1/BERSequenceGenerator;Lorg/bouncycastle/asn1/BERSequenceGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=9, args_size=9
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 0: aload 0
aload 1
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
1: aload 0
invokespecial java.io.OutputStream.<init>:()V
2: aload 0
aload 2
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.macCalculator:Lorg/bouncycastle/operator/MacCalculator;
3: aload 0
aload 3
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
4: aload 0
aload 4
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.contentType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
5: aload 0
aload 5
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.dataStream:Ljava/io/OutputStream;
6: aload 0
aload 6
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.cGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
7: aload 0
aload 7
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.envGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
8: aload 0
aload 8
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.eiGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
9: return
end local 8 end local 7 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 10 0 this Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream;
0 10 2 macCalculator Lorg/bouncycastle/operator/MacCalculator;
0 10 3 digestCalculator Lorg/bouncycastle/operator/DigestCalculator;
0 10 4 contentType Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 10 5 dataStream Ljava/io/OutputStream;
0 10 6 cGen Lorg/bouncycastle/asn1/BERSequenceGenerator;
0 10 7 envGen Lorg/bouncycastle/asn1/BERSequenceGenerator;
0 10 8 eiGen Lorg/bouncycastle/asn1/BERSequenceGenerator;
MethodParameters:
Name Flags
this$0 final
macCalculator
digestCalculator
contentType
dataStream
cGen
envGen
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.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.dataStream: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/CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream;
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.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.dataStream: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/CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream;
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.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.dataStream: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/CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream;
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=9, locals=4, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.dataStream:Ljava/io/OutputStream;
invokevirtual java.io.OutputStream.close:()V
1: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.eiGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.close:()V
2: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
ifnull 12
3: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.contentType:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.macCalculator:Lorg/bouncycastle/operator/MacCalculator;
invokeinterface org.bouncycastle.operator.MacCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
invokevirtual org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator.getBaseParameters:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Ljava/util/Map;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
astore 1
start local 1 4: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator.authGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnonnull 6
5: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
new org.bouncycastle.cms.DefaultAuthenticatedAttributeTableGenerator
dup
invokespecial org.bouncycastle.cms.DefaultAuthenticatedAttributeTableGenerator.<init>:()V
putfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator.authGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
6: StackMap locals: java.util.Map
StackMap stack:
new org.bouncycastle.asn1.DERSet
dup
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator.authGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
aload 1
invokeinterface org.bouncycastle.cms.CMSAttributeTableGenerator.getAttributes:(Ljava/util/Map;)Lorg/bouncycastle/asn1/cms/AttributeTable;
invokevirtual org.bouncycastle.asn1.cms.AttributeTable.toASN1EncodableVector:()Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokespecial org.bouncycastle.asn1.DERSet.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
astore 2
start local 2 7: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.macCalculator:Lorg/bouncycastle/operator/MacCalculator;
invokeinterface org.bouncycastle.operator.MacCalculator.getOutputStream:()Ljava/io/OutputStream;
astore 3
start local 3 8: aload 3
aload 2
ldc "DER"
invokevirtual org.bouncycastle.asn1.ASN1Set.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
9: aload 3
invokevirtual java.io.OutputStream.close:()V
10: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.envGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_0
iconst_2
aload 2
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.addObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
end local 3 end local 2 11: goto 13
end local 1 12: StackMap locals:
StackMap stack:
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
astore 1
start local 1 13: StackMap locals: java.util.Map
StackMap stack:
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.envGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
new org.bouncycastle.asn1.DEROctetString
dup
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.macCalculator:Lorg/bouncycastle/operator/MacCalculator;
invokeinterface org.bouncycastle.operator.MacCalculator.getMac:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.addObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
14: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator.unauthGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnull 16
15: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.envGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
new org.bouncycastle.asn1.DERTaggedObject
dup
iconst_0
iconst_3
new org.bouncycastle.asn1.BERSet
dup
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.this$0:Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator;
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator.unauthGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
aload 1
invokeinterface org.bouncycastle.cms.CMSAttributeTableGenerator.getAttributes:(Ljava/util/Map;)Lorg/bouncycastle/asn1/cms/AttributeTable;
invokevirtual org.bouncycastle.asn1.cms.AttributeTable.toASN1EncodableVector:()Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokespecial org.bouncycastle.asn1.BERSet.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokespecial org.bouncycastle.asn1.DERTaggedObject.<init>:(ZILorg/bouncycastle/asn1/ASN1Encodable;)V
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.addObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
16: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.envGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.close:()V
17: aload 0
getfield org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream.cGen:Lorg/bouncycastle/asn1/BERSequenceGenerator;
invokevirtual org.bouncycastle.asn1.BERSequenceGenerator.close:()V
18: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lorg/bouncycastle/cms/CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream;
4 12 1 parameters Ljava/util/Map;
13 19 1 parameters Ljava/util/Map;
7 11 2 authed Lorg/bouncycastle/asn1/ASN1Set;
8 11 3 mOut Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
}
SourceFile: "CMSAuthenticatedDataStreamGenerator.java"
NestHost: org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator
InnerClasses:
private CmsAuthenticatedDataOutputStream = org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator$CmsAuthenticatedDataOutputStream of org.bouncycastle.cms.CMSAuthenticatedDataStreamGenerator