public abstract class org.bouncycastle.operator.bc.BcContentSignerBuilder
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.bouncycastle.operator.bc.BcContentSignerBuilder
super_class: java.lang.Object
{
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
protected org.bouncycastle.operator.bc.BcDigestProvider digestProvider;
descriptor: Lorg/bouncycastle/operator/bc/BcDigestProvider;
flags: (0x0004) ACC_PROTECTED
public void <init>(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)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.operator.bc.BcContentSignerBuilder.sigAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
2: aload 0
aload 2
putfield org.bouncycastle.operator.bc.BcContentSignerBuilder.digAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3: aload 0
getstatic org.bouncycastle.operator.bc.BcDefaultDigestProvider.INSTANCE:Lorg/bouncycastle/operator/bc/BcDigestProvider;
putfield org.bouncycastle.operator.bc.BcContentSignerBuilder.digestProvider:Lorg/bouncycastle/operator/bc/BcDigestProvider;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/operator/bc/BcContentSignerBuilder;
0 5 1 sigAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 5 2 digAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
MethodParameters:
Name Flags
sigAlgId
digAlgId
public org.bouncycastle.operator.bc.BcContentSignerBuilder setSecureRandom(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)Lorg/bouncycastle/operator/bc/BcContentSignerBuilder;
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.operator.bc.BcContentSignerBuilder.random:Ljava/security/SecureRandom;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/operator/bc/BcContentSignerBuilder;
0 2 1 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
random
public org.bouncycastle.operator.ContentSigner build(org.bouncycastle.crypto.params.AsymmetricKeyParameter);
descriptor: (Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;)Lorg/bouncycastle/operator/ContentSigner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.bouncycastle.operator.bc.BcContentSignerBuilder.sigAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0
getfield org.bouncycastle.operator.bc.BcContentSignerBuilder.digAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.operator.bc.BcContentSignerBuilder.createSigner:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/crypto/Signer;
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.operator.bc.BcContentSignerBuilder.random:Ljava/security/SecureRandom;
ifnull 4
2: aload 2
iconst_1
new org.bouncycastle.crypto.params.ParametersWithRandom
dup
aload 1
aload 0
getfield org.bouncycastle.operator.bc.BcContentSignerBuilder.random:Ljava/security/SecureRandom;
invokespecial org.bouncycastle.crypto.params.ParametersWithRandom.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Ljava/security/SecureRandom;)V
invokeinterface org.bouncycastle.crypto.Signer.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
3: goto 5
4: StackMap locals: org.bouncycastle.crypto.Signer
StackMap stack:
aload 2
iconst_1
aload 1
invokeinterface org.bouncycastle.crypto.Signer.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
5: StackMap locals:
StackMap stack:
new org.bouncycastle.operator.bc.BcContentSignerBuilder$1
dup
aload 0
aload 2
invokespecial org.bouncycastle.operator.bc.BcContentSignerBuilder$1.<init>:(Lorg/bouncycastle/operator/bc/BcContentSignerBuilder;Lorg/bouncycastle/crypto/Signer;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/operator/bc/BcContentSignerBuilder;
0 6 1 privateKey Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
1 6 2 sig Lorg/bouncycastle/crypto/Signer;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
privateKey
protected abstract org.bouncycastle.crypto.Signer createSigner(org.bouncycastle.asn1.x509.AlgorithmIdentifier, org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/crypto/Signer;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
sigAlgId
algorithmIdentifier
}
SourceFile: "BcContentSignerBuilder.java"
NestMembers:
org.bouncycastle.operator.bc.BcContentSignerBuilder$1
InnerClasses:
org.bouncycastle.operator.bc.BcContentSignerBuilder$1