public class org.bouncycastle.cms.SignerInfoGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.SignerInfoGenerator
super_class: java.lang.Object
{
private final org.bouncycastle.asn1.cms.SignerIdentifier signerIdentifier;
descriptor: Lorg/bouncycastle/asn1/cms/SignerIdentifier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.cms.CMSAttributeTableGenerator sAttrGen;
descriptor: Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.cms.CMSAttributeTableGenerator unsAttrGen;
descriptor: Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.operator.ContentSigner signer;
descriptor: Lorg/bouncycastle/operator/ContentSigner;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.operator.DigestCalculator digester;
descriptor: Lorg/bouncycastle/operator/DigestCalculator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.operator.DigestAlgorithmIdentifierFinder digAlgFinder;
descriptor: Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder sigEncAlgFinder;
descriptor: Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private byte[] calculatedDigest;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cert.X509CertificateHolder certHolder;
descriptor: Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x0002) ACC_PRIVATE
void <init>(org.bouncycastle.asn1.cms.SignerIdentifier, org.bouncycastle.operator.ContentSigner, org.bouncycastle.operator.DigestCalculatorProvider, org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder);
descriptor: (Lorg/bouncycastle/asn1/cms/SignerIdentifier;Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 3
aload 4
iconst_0
invokespecial org.bouncycastle.cms.SignerInfoGenerator.<init>:(Lorg/bouncycastle/asn1/cms/SignerIdentifier;Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;Z)V
1: return
end local 4 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/SignerInfoGenerator;
0 2 1 signerIdentifier Lorg/bouncycastle/asn1/cms/SignerIdentifier;
0 2 2 signer Lorg/bouncycastle/operator/ContentSigner;
0 2 3 digesterProvider Lorg/bouncycastle/operator/DigestCalculatorProvider;
0 2 4 sigEncAlgFinder Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
signerIdentifier
signer
digesterProvider
sigEncAlgFinder
void <init>(org.bouncycastle.asn1.cms.SignerIdentifier, org.bouncycastle.operator.ContentSigner, org.bouncycastle.operator.DigestCalculatorProvider, org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder, boolean);
descriptor: (Lorg/bouncycastle/asn1/cms/SignerIdentifier;Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;Z)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder
dup
invokespecial org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.<init>:()V
putfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
2: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
3: aload 0
aload 1
putfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
4: aload 0
aload 2
putfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
5: aload 3
ifnull 8
6: aload 0
aload 3
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
aload 2
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestAlgorithmIdentifierFinder.find:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestCalculatorProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/DigestCalculator;
putfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
7: goto 9
8: StackMap locals: org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.asn1.cms.SignerIdentifier org.bouncycastle.operator.ContentSigner org.bouncycastle.operator.DigestCalculatorProvider org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder int
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
9: StackMap locals:
StackMap stack:
iload 5
ifeq 13
10: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
11: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
12: goto 15
13: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.cms.DefaultSignedAttributeTableGenerator
dup
invokespecial org.bouncycastle.cms.DefaultSignedAttributeTableGenerator.<init>:()V
putfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
14: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
15: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield org.bouncycastle.cms.SignerInfoGenerator.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
16: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 17 1 signerIdentifier Lorg/bouncycastle/asn1/cms/SignerIdentifier;
0 17 2 signer Lorg/bouncycastle/operator/ContentSigner;
0 17 3 digesterProvider Lorg/bouncycastle/operator/DigestCalculatorProvider;
0 17 4 sigEncAlgFinder Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
0 17 5 isDirectSignature Z
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
signerIdentifier
signer
digesterProvider
sigEncAlgFinder
isDirectSignature
public void <init>(org.bouncycastle.cms.SignerInfoGenerator, org.bouncycastle.cms.CMSAttributeTableGenerator, org.bouncycastle.cms.CMSAttributeTableGenerator);
descriptor: (Lorg/bouncycastle/cms/SignerInfoGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder
dup
invokespecial org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.<init>:()V
putfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
2: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
3: aload 0
aload 1
getfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
putfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
4: aload 0
aload 1
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
putfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
5: aload 0
aload 1
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
putfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
6: aload 0
aload 1
getfield org.bouncycastle.cms.SignerInfoGenerator.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
putfield org.bouncycastle.cms.SignerInfoGenerator.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
7: aload 0
aload 2
putfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
8: aload 0
aload 3
putfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 10 1 original Lorg/bouncycastle/cms/SignerInfoGenerator;
0 10 2 sAttrGen Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
0 10 3 unsAttrGen Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
MethodParameters:
Name Flags
original
sAttrGen
unsAttrGen
void <init>(org.bouncycastle.asn1.cms.SignerIdentifier, org.bouncycastle.operator.ContentSigner, org.bouncycastle.operator.DigestCalculatorProvider, org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder, org.bouncycastle.cms.CMSAttributeTableGenerator, org.bouncycastle.cms.CMSAttributeTableGenerator);
descriptor: (Lorg/bouncycastle/asn1/cms/SignerIdentifier;Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;Lorg/bouncycastle/cms/CMSAttributeTableGenerator;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder
dup
invokespecial org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.<init>:()V
putfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
2: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
3: aload 0
aload 1
putfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
4: aload 0
aload 2
putfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
5: aload 3
ifnull 8
6: aload 0
aload 3
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
aload 2
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestAlgorithmIdentifierFinder.find:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestCalculatorProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/DigestCalculator;
putfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
7: goto 9
8: StackMap locals: org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.asn1.cms.SignerIdentifier org.bouncycastle.operator.ContentSigner org.bouncycastle.operator.DigestCalculatorProvider org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder org.bouncycastle.cms.CMSAttributeTableGenerator org.bouncycastle.cms.CMSAttributeTableGenerator
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
9: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
10: aload 0
aload 6
putfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
11: aload 0
aload 4
putfield org.bouncycastle.cms.SignerInfoGenerator.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
12: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 13 1 signerIdentifier Lorg/bouncycastle/asn1/cms/SignerIdentifier;
0 13 2 signer Lorg/bouncycastle/operator/ContentSigner;
0 13 3 digesterProvider Lorg/bouncycastle/operator/DigestCalculatorProvider;
0 13 4 sigEncAlgFinder Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
0 13 5 sAttrGen Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
0 13 6 unsAttrGen Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
signerIdentifier
signer
digesterProvider
sigEncAlgFinder
sAttrGen
unsAttrGen
public org.bouncycastle.asn1.cms.SignerIdentifier getSID();
descriptor: ()Lorg/bouncycastle/asn1/cms/SignerIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public int getGeneratedVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
invokevirtual org.bouncycastle.asn1.cms.SignerIdentifier.isTagged:()Z
ifeq 1
iconst_3
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public boolean hasAssociatedCertificate();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.certHolder:Lorg/bouncycastle/cert/X509CertificateHolder;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public org.bouncycastle.cert.X509CertificateHolder getAssociatedCertificate();
descriptor: ()Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.certHolder:Lorg/bouncycastle/cert/X509CertificateHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithm();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
ifnull 2
1: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestAlgorithmIdentifierFinder.find:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public java.io.OutputStream getCalculatingOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
ifnull 4
1: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnonnull 3
2: new org.bouncycastle.util.io.TeeOutputStream
dup
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getOutputStream:()Ljava/io/OutputStream;
invokespecial org.bouncycastle.util.io.TeeOutputStream.<init>:(Ljava/io/OutputStream;Ljava/io/OutputStream;)V
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getOutputStream:()Ljava/io/OutputStream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public org.bouncycastle.asn1.cms.SignerInfo generate(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/cms/SignerInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder.findEncryptionAlgorithm:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 3
start local 3 2: aconst_null
astore 4
start local 4 3: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnull 13
4: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 4
5: aload 0
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
putfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
6: aload 0
aload 1
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 3
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getBaseParameters:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Ljava/util/Map;
astore 5
start local 5 7: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
aload 5
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
invokeinterface org.bouncycastle.cms.CMSAttributeTableGenerator.getAttributes:(Ljava/util/Map;)Lorg/bouncycastle/asn1/cms/AttributeTable;
astore 6
start local 6 8: aload 0
aload 6
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getAttributeSet:(Lorg/bouncycastle/asn1/cms/AttributeTable;)Lorg/bouncycastle/asn1/ASN1Set;
astore 2
9: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getOutputStream:()Ljava/io/OutputStream;
astore 7
start local 7 10: aload 7
aload 2
ldc "DER"
invokevirtual org.bouncycastle.asn1.ASN1Set.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
11: aload 7
invokevirtual java.io.OutputStream.close:()V
end local 7 end local 6 end local 5 12: goto 19
13: StackMap locals: org.bouncycastle.asn1.ASN1Set org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.x509.AlgorithmIdentifier
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
ifnull 17
14: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 4
15: aload 0
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digester:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
putfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
16: goto 19
17: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.digAlgFinder:Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.DigestAlgorithmIdentifierFinder.find:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 4
18: aload 0
aconst_null
putfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
19: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signer:Lorg/bouncycastle/operator/ContentSigner;
invokeinterface org.bouncycastle.operator.ContentSigner.getSignature:()[B
astore 5
start local 5 20: aconst_null
astore 6
start local 6 21: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnull 26
22: aload 0
aload 1
aload 4
aload 3
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getBaseParameters:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Ljava/util/Map;
astore 7
start local 7 23: aload 7
ldc "encryptedDigest"
aload 5
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
24: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
aload 7
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
invokeinterface org.bouncycastle.cms.CMSAttributeTableGenerator.getAttributes:(Ljava/util/Map;)Lorg/bouncycastle/asn1/cms/AttributeTable;
astore 8
start local 8 25: aload 0
aload 8
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.getAttributeSet:(Lorg/bouncycastle/asn1/cms/AttributeTable;)Lorg/bouncycastle/asn1/ASN1Set;
astore 6
end local 8 end local 7 26: StackMap locals: byte[] org.bouncycastle.asn1.ASN1Set
StackMap stack:
new org.bouncycastle.asn1.cms.SignerInfo
dup
aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.signerIdentifier:Lorg/bouncycastle/asn1/cms/SignerIdentifier;
aload 4
27: aload 2
aload 3
new org.bouncycastle.asn1.DEROctetString
dup
aload 5
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
aload 6
28: invokespecial org.bouncycastle.asn1.cms.SignerInfo.<init>:(Lorg/bouncycastle/asn1/cms/SignerIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Set;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1OctetString;Lorg/bouncycastle/asn1/ASN1Set;)V
29: areturn
end local 6 end local 5 end local 4 end local 3 end local 2 30: StackMap locals: org.bouncycastle.cms.SignerInfoGenerator org.bouncycastle.asn1.ASN1ObjectIdentifier
StackMap stack: java.io.IOException
astore 2
start local 2 31: new org.bouncycastle.cms.CMSException
dup
ldc "encoding error."
aload 2
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 32 1 contentType Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1 30 2 signedAttr Lorg/bouncycastle/asn1/ASN1Set;
2 30 3 digestEncryptionAlgorithm Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3 30 4 digestAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
7 12 5 parameters Ljava/util/Map;
8 12 6 signed Lorg/bouncycastle/asn1/cms/AttributeTable;
10 12 7 sOut Ljava/io/OutputStream;
20 30 5 sigBytes [B
21 30 6 unsignedAttr Lorg/bouncycastle/asn1/ASN1Set;
23 26 7 parameters Ljava/util/Map;
25 26 8 unsigned Lorg/bouncycastle/asn1/cms/AttributeTable;
31 32 2 e Ljava/io/IOException;
Exception table:
from to target type
0 29 30 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
contentType
void setAssociatedCertificate(org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.cms.SignerInfoGenerator.certHolder:Lorg/bouncycastle/cert/X509CertificateHolder;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 2 1 certHolder Lorg/bouncycastle/cert/X509CertificateHolder;
MethodParameters:
Name Flags
certHolder
private org.bouncycastle.asn1.ASN1Set getAttributeSet(org.bouncycastle.asn1.cms.AttributeTable);
descriptor: (Lorg/bouncycastle/asn1/cms/AttributeTable;)Lorg/bouncycastle/asn1/ASN1Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 2
1: new org.bouncycastle.asn1.DERSet
dup
aload 1
invokevirtual org.bouncycastle.asn1.cms.AttributeTable.toASN1EncodableVector:()Lorg/bouncycastle/asn1/ASN1EncodableVector;
invokespecial org.bouncycastle.asn1.DERSet.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 3 1 attr Lorg/bouncycastle/asn1/cms/AttributeTable;
MethodParameters:
Name Flags
attr
private java.util.Map getBaseParameters(org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier, byte[]);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 1: aload 1
ifnull 3
2: aload 5
ldc "contentType"
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.util.Map
StackMap stack:
aload 5
ldc "digestAlgID"
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 5
ldc "signatureAlgID"
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 5
ldc "digest"
aload 4
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
0 7 1 contentType Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 7 2 digAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 7 3 sigAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 7 4 hash [B
1 7 5 param Ljava/util/Map;
MethodParameters:
Name Flags
contentType
digAlgId
sigAlgId
hash
public byte[] getCalculatedDigest();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
ifnull 2
1: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.calculatedDigest:[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public org.bouncycastle.cms.CMSAttributeTableGenerator getSignedAttributeTableGenerator();
descriptor: ()Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.sAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
public org.bouncycastle.cms.CMSAttributeTableGenerator getUnsignedAttributeTableGenerator();
descriptor: ()Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGenerator.unsAttrGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/SignerInfoGenerator;
}
SourceFile: "SignerInfoGenerator.java"