public class org.bouncycastle.operator.jcajce.JcaContentSignerBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.operator.jcajce.JcaContentSignerBuilder
super_class: java.lang.Object
{
private org.bouncycastle.operator.jcajce.OperatorHelper helper;
descriptor: Lorg/bouncycastle/operator/jcajce/OperatorHelper;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private java.lang.String signatureAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier sigAlgId;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.AlgorithmParameterSpec sigAlgSpec;
descriptor: Ljava/security/spec/AlgorithmParameterSpec;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
2: aload 0
aload 1
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.signatureAlgorithm:Ljava/lang/String;
3: aload 0
new org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder
dup
invokespecial org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.<init>:()V
aload 1
invokevirtual org.bouncycastle.operator.DefaultSignatureAlgorithmIdentifierFinder.find:(Ljava/lang/String;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.sigAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
4: aload 0
aconst_null
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.sigAlgSpec:Ljava/security/spec/AlgorithmParameterSpec;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
0 6 1 signatureAlgorithm Ljava/lang/String;
MethodParameters:
Name Flags
signatureAlgorithm
public void <init>(java.lang.String, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/lang/String;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
2: aload 0
aload 1
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.signatureAlgorithm:Ljava/lang/String;
3: aload 2
instanceof java.security.spec.PSSParameterSpec
ifeq 10
4: aload 2
checkcast java.security.spec.PSSParameterSpec
astore 3
start local 3 5: aload 0
aload 3
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.sigAlgSpec:Ljava/security/spec/AlgorithmParameterSpec;
6: aload 0
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
7: getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_RSASSA_PSS:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3
invokestatic org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.createPSSParams:(Ljava/security/spec/PSSParameterSpec;)Lorg/bouncycastle/asn1/pkcs/RSASSAPSSparams;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
8: putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.sigAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
end local 3 9: goto 15
10: StackMap locals: org.bouncycastle.operator.jcajce.JcaContentSignerBuilder java.lang.String java.security.spec.AlgorithmParameterSpec
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown sigParamSpec: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 2
ifnonnull 12
ldc "null"
goto 13
StackMap locals: org.bouncycastle.operator.jcajce.JcaContentSignerBuilder java.lang.String java.security.spec.AlgorithmParameterSpec
StackMap stack: new 10 new 10 java.lang.StringBuilder
12: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
StackMap locals: org.bouncycastle.operator.jcajce.JcaContentSignerBuilder java.lang.String java.security.spec.AlgorithmParameterSpec
StackMap stack: new 10 new 10 java.lang.StringBuilder java.lang.String
13: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
0 16 1 signatureAlgorithm Ljava/lang/String;
0 16 2 sigParamSpec Ljava/security/spec/AlgorithmParameterSpec;
5 9 3 pssSpec Ljava/security/spec/PSSParameterSpec;
MethodParameters:
Name Flags
signatureAlgorithm
sigParamSpec
public org.bouncycastle.operator.jcajce.JcaContentSignerBuilder setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.ProviderJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.ProviderJcaJceHelper.<init>:(Ljava/security/Provider;)V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.operator.jcajce.JcaContentSignerBuilder setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.operator.jcajce.OperatorHelper
dup
new org.bouncycastle.jcajce.util.NamedJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.NamedJcaJceHelper.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.operator.jcajce.OperatorHelper.<init>:(Lorg/bouncycastle/jcajce/util/JcaJceHelper;)V
putfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.operator.jcajce.JcaContentSignerBuilder setSecureRandom(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
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.jcajce.JcaContentSignerBuilder.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/jcajce/JcaContentSignerBuilder;
0 2 1 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
random
public org.bouncycastle.operator.ContentSigner build(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)Lorg/bouncycastle/operator/ContentSigner;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.helper:Lorg/bouncycastle/operator/jcajce/OperatorHelper;
aload 0
getfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.sigAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.operator.jcajce.OperatorHelper.createSignature:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Ljava/security/Signature;
astore 2
start local 2 1: aload 0
getfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.sigAlgId:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 3
start local 3 2: aload 0
getfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.random:Ljava/security/SecureRandom;
ifnull 5
3: aload 2
aload 1
aload 0
getfield org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.random:Ljava/security/SecureRandom;
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
4: goto 6
5: StackMap locals: java.security.Signature org.bouncycastle.asn1.x509.AlgorithmIdentifier
StackMap stack:
aload 2
aload 1
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
6: StackMap locals:
StackMap stack:
new org.bouncycastle.operator.jcajce.JcaContentSignerBuilder$1
dup
aload 0
aload 2
aload 3
invokespecial org.bouncycastle.operator.jcajce.JcaContentSignerBuilder$1.<init>:(Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;Ljava/security/Signature;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
7: areturn
end local 3 end local 2 8: StackMap locals: org.bouncycastle.operator.jcajce.JcaContentSignerBuilder java.security.PrivateKey
StackMap stack: java.security.GeneralSecurityException
astore 2
start local 2 9: new org.bouncycastle.operator.OperatorCreationException
dup
new java.lang.StringBuilder
dup
ldc "cannot create signer: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.operator.OperatorCreationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/operator/jcajce/JcaContentSignerBuilder;
0 10 1 privateKey Ljava/security/PrivateKey;
1 8 2 sig Ljava/security/Signature;
2 8 3 signatureAlgId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
9 10 2 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
0 7 8 Class java.security.GeneralSecurityException
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
privateKey
private static org.bouncycastle.asn1.pkcs.RSASSAPSSparams createPSSParams(java.security.spec.PSSParameterSpec);
descriptor: (Ljava/security/spec/PSSParameterSpec;)Lorg/bouncycastle/asn1/pkcs/RSASSAPSSparams;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=4, args_size=1
start local 0 0: new org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder
dup
invokespecial org.bouncycastle.operator.DefaultDigestAlgorithmIdentifierFinder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokeinterface org.bouncycastle.operator.DigestAlgorithmIdentifierFinder.find:(Ljava/lang/String;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 2
start local 2 2: aload 1
aload 0
invokevirtual java.security.spec.PSSParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
checkcast java.security.spec.MGF1ParameterSpec
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokeinterface org.bouncycastle.operator.DigestAlgorithmIdentifierFinder.find:(Ljava/lang/String;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 3
start local 3 3: new org.bouncycastle.asn1.pkcs.RSASSAPSSparams
dup
4: aload 2
5: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_mgf1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 3
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
6: new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual java.security.spec.PSSParameterSpec.getSaltLength:()I
i2l
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
7: new org.bouncycastle.asn1.ASN1Integer
dup
aload 0
invokevirtual java.security.spec.PSSParameterSpec.getTrailerField:()I
i2l
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
8: invokespecial org.bouncycastle.asn1.pkcs.RSASSAPSSparams.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;Lorg/bouncycastle/asn1/ASN1Integer;Lorg/bouncycastle/asn1/ASN1Integer;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 pssSpec Ljava/security/spec/PSSParameterSpec;
1 9 1 digFinder Lorg/bouncycastle/operator/DigestAlgorithmIdentifierFinder;
2 9 2 digId Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
3 9 3 mgfDig Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
MethodParameters:
Name Flags
pssSpec
}
SourceFile: "JcaContentSignerBuilder.java"
NestMembers:
org.bouncycastle.operator.jcajce.JcaContentSignerBuilder$1
InnerClasses:
org.bouncycastle.operator.jcajce.JcaContentSignerBuilder$1