public class org.bouncycastle.cms.SignerInfoGeneratorBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.SignerInfoGeneratorBuilder
super_class: java.lang.Object
{
private org.bouncycastle.operator.DigestCalculatorProvider digestProvider;
descriptor: Lorg/bouncycastle/operator/DigestCalculatorProvider;
flags: (0x0002) ACC_PRIVATE
private boolean directSignature;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cms.CMSAttributeTableGenerator signedGen;
descriptor: Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cms.CMSAttributeTableGenerator unsignedGen;
descriptor: Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder sigEncAlgFinder;
descriptor: Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.operator.DigestCalculatorProvider);
descriptor: (Lorg/bouncycastle/operator/DigestCalculatorProvider;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
new org.bouncycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder
dup
invokespecial org.bouncycastle.cms.DefaultCMSSignatureEncryptionAlgorithmFinder.<init>:()V
invokespecial org.bouncycastle.cms.SignerInfoGeneratorBuilder.<init>:(Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 2 1 digestProvider Lorg/bouncycastle/operator/DigestCalculatorProvider;
MethodParameters:
Name Flags
digestProvider
public void <init>(org.bouncycastle.operator.DigestCalculatorProvider, org.bouncycastle.cms.CMSSignatureEncryptionAlgorithmFinder);
descriptor: (Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.digestProvider:Lorg/bouncycastle/operator/DigestCalculatorProvider;
2: aload 0
aload 2
putfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 4 1 digestProvider Lorg/bouncycastle/operator/DigestCalculatorProvider;
0 4 2 sigEncAlgFinder Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
MethodParameters:
Name Flags
digestProvider
sigEncAlgFinder
public org.bouncycastle.cms.SignerInfoGeneratorBuilder setDirectSignature(boolean);
descriptor: (Z)Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.directSignature:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 2 1 hasNoSignedAttributes Z
MethodParameters:
Name Flags
hasNoSignedAttributes
public org.bouncycastle.cms.SignerInfoGeneratorBuilder setSignedAttributeGenerator(org.bouncycastle.cms.CMSAttributeTableGenerator);
descriptor: (Lorg/bouncycastle/cms/CMSAttributeTableGenerator;)Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
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.cms.SignerInfoGeneratorBuilder.signedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 2 1 signedGen Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
MethodParameters:
Name Flags
signedGen
public org.bouncycastle.cms.SignerInfoGeneratorBuilder setUnsignedAttributeGenerator(org.bouncycastle.cms.CMSAttributeTableGenerator);
descriptor: (Lorg/bouncycastle/cms/CMSAttributeTableGenerator;)Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
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.cms.SignerInfoGeneratorBuilder.unsignedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 2 1 unsignedGen Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
MethodParameters:
Name Flags
unsignedGen
public org.bouncycastle.cms.SignerInfoGenerator build(org.bouncycastle.operator.ContentSigner, org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/cert/X509CertificateHolder;)Lorg/bouncycastle/cms/SignerInfoGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new org.bouncycastle.asn1.cms.SignerIdentifier
dup
new org.bouncycastle.asn1.cms.IssuerAndSerialNumber
dup
aload 2
invokevirtual org.bouncycastle.cert.X509CertificateHolder.toASN1Structure:()Lorg/bouncycastle/asn1/x509/Certificate;
invokespecial org.bouncycastle.asn1.cms.IssuerAndSerialNumber.<init>:(Lorg/bouncycastle/asn1/x509/Certificate;)V
invokespecial org.bouncycastle.asn1.cms.SignerIdentifier.<init>:(Lorg/bouncycastle/asn1/cms/IssuerAndSerialNumber;)V
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.bouncycastle.cms.SignerInfoGeneratorBuilder.createGenerator:(Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/asn1/cms/SignerIdentifier;)Lorg/bouncycastle/cms/SignerInfoGenerator;
astore 4
start local 4 2: aload 4
aload 2
invokevirtual org.bouncycastle.cms.SignerInfoGenerator.setAssociatedCertificate:(Lorg/bouncycastle/cert/X509CertificateHolder;)V
3: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 4 1 contentSigner Lorg/bouncycastle/operator/ContentSigner;
0 4 2 certHolder Lorg/bouncycastle/cert/X509CertificateHolder;
1 4 3 sigId Lorg/bouncycastle/asn1/cms/SignerIdentifier;
2 4 4 sigInfoGen Lorg/bouncycastle/cms/SignerInfoGenerator;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
contentSigner
certHolder
public org.bouncycastle.cms.SignerInfoGenerator build(org.bouncycastle.operator.ContentSigner, byte[]);
descriptor: (Lorg/bouncycastle/operator/ContentSigner;[B)Lorg/bouncycastle/cms/SignerInfoGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.bouncycastle.asn1.cms.SignerIdentifier
dup
new org.bouncycastle.asn1.DEROctetString
dup
aload 2
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.cms.SignerIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1OctetString;)V
astore 3
start local 3 1: aload 0
aload 1
aload 3
invokevirtual org.bouncycastle.cms.SignerInfoGeneratorBuilder.createGenerator:(Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/asn1/cms/SignerIdentifier;)Lorg/bouncycastle/cms/SignerInfoGenerator;
areturn
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/SignerInfoGeneratorBuilder;
0 2 1 contentSigner Lorg/bouncycastle/operator/ContentSigner;
0 2 2 subjectKeyIdentifier [B
1 2 3 sigId Lorg/bouncycastle/asn1/cms/SignerIdentifier;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
contentSigner
subjectKeyIdentifier
private org.bouncycastle.cms.SignerInfoGenerator createGenerator(org.bouncycastle.operator.ContentSigner, org.bouncycastle.asn1.cms.SignerIdentifier);
descriptor: (Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/asn1/cms/SignerIdentifier;)Lorg/bouncycastle/cms/SignerInfoGenerator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.directSignature:Z
ifeq 2
1: new org.bouncycastle.cms.SignerInfoGenerator
dup
aload 2
aload 1
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.digestProvider:Lorg/bouncycastle/operator/DigestCalculatorProvider;
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
iconst_1
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
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.signedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnonnull 3
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.unsignedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnull 6
3: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.signedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
ifnonnull 5
4: aload 0
new org.bouncycastle.cms.DefaultSignedAttributeTableGenerator
dup
invokespecial org.bouncycastle.cms.DefaultSignedAttributeTableGenerator.<init>:()V
putfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.signedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
5: StackMap locals:
StackMap stack:
new org.bouncycastle.cms.SignerInfoGenerator
dup
aload 2
aload 1
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.digestProvider:Lorg/bouncycastle/operator/DigestCalculatorProvider;
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.signedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.unsignedGen:Lorg/bouncycastle/cms/CMSAttributeTableGenerator;
invokespecial org.bouncycastle.cms.SignerInfoGenerator.<init>:(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
areturn
6: StackMap locals:
StackMap stack:
new org.bouncycastle.cms.SignerInfoGenerator
dup
aload 2
aload 1
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.digestProvider:Lorg/bouncycastle/operator/DigestCalculatorProvider;
aload 0
getfield org.bouncycastle.cms.SignerInfoGeneratorBuilder.sigEncAlgFinder:Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;
invokespecial org.bouncycastle.cms.SignerInfoGenerator.<init>:(Lorg/bouncycastle/asn1/cms/SignerIdentifier;Lorg/bouncycastle/operator/ContentSigner;Lorg/bouncycastle/operator/DigestCalculatorProvider;Lorg/bouncycastle/cms/CMSSignatureEncryptionAlgorithmFinder;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cms/SignerInfoGeneratorBuilder;
0 7 1 contentSigner Lorg/bouncycastle/operator/ContentSigner;
0 7 2 sigId Lorg/bouncycastle/asn1/cms/SignerIdentifier;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
contentSigner
sigId
}
SourceFile: "SignerInfoGeneratorBuilder.java"