public class org.bouncycastle.jce.provider.JDKPSSSigner extends java.security.SignatureSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.JDKPSSSigner
super_class: java.security.SignatureSpi
{
private java.security.AlgorithmParameters engineParams;
descriptor: Ljava/security/AlgorithmParameters;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.PSSParameterSpec paramSpec;
descriptor: Ljava/security/spec/PSSParameterSpec;
flags: (0x0002) ACC_PRIVATE
private java.security.spec.PSSParameterSpec originalSpec;
descriptor: Ljava/security/spec/PSSParameterSpec;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.AsymmetricBlockCipher signer;
descriptor: Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.Digest contentDigest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.Digest mgfDigest;
descriptor: Lorg/bouncycastle/crypto/Digest;
flags: (0x0002) ACC_PRIVATE
private int saltLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte trailer;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private boolean isRaw;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.signers.PSSSigner pss;
descriptor: Lorg/bouncycastle/crypto/signers/PSSSigner;
flags: (0x0002) ACC_PRIVATE
private byte getTrailer(int);
descriptor: (I)B
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpne 2
1: bipush -68
ireturn
2: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "unknown trailer field"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 3 1 trailerField I
MethodParameters:
Name Flags
trailerField
private void setupContentDigest();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.isRaw:Z
ifeq 3
1: aload 0
new org.bouncycastle.jce.provider.JDKPSSSigner$NullPssDigest
dup
aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
invokespecial org.bouncycastle.jce.provider.JDKPSSSigner$NullPssDigest.<init>:(Lorg/bouncycastle/jce/provider/JDKPSSSigner;Lorg/bouncycastle/crypto/Digest;)V
putfield org.bouncycastle.jce.provider.JDKPSSSigner.contentDigest:Lorg/bouncycastle/crypto/Digest;
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
putfield org.bouncycastle.jce.provider.JDKPSSSigner.contentDigest:Lorg/bouncycastle/crypto/Digest;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
protected void <init>(org.bouncycastle.crypto.AsymmetricBlockCipher, java.security.spec.PSSParameterSpec);
descriptor: (Lorg/bouncycastle/crypto/AsymmetricBlockCipher;Ljava/security/spec/PSSParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
invokespecial org.bouncycastle.jce.provider.JDKPSSSigner.<init>:(Lorg/bouncycastle/crypto/AsymmetricBlockCipher;Ljava/security/spec/PSSParameterSpec;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 2 1 signer Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
0 2 2 paramSpecArg Ljava/security/spec/PSSParameterSpec;
MethodParameters:
Name Flags
signer
paramSpecArg
protected void <init>(org.bouncycastle.crypto.AsymmetricBlockCipher, java.security.spec.PSSParameterSpec, boolean);
descriptor: (Lorg/bouncycastle/crypto/AsymmetricBlockCipher;Ljava/security/spec/PSSParameterSpec;Z)V
flags: (0x0004) ACC_PROTECTED
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.security.SignatureSpi.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.jce.provider.JDKPSSSigner.signer:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
2: aload 0
aload 2
putfield org.bouncycastle.jce.provider.JDKPSSSigner.originalSpec:Ljava/security/spec/PSSParameterSpec;
3: aload 2
ifnonnull 6
4: aload 0
getstatic java.security.spec.PSSParameterSpec.DEFAULT:Ljava/security/spec/PSSParameterSpec;
putfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
5: goto 7
6: StackMap locals: org.bouncycastle.jce.provider.JDKPSSSigner org.bouncycastle.crypto.AsymmetricBlockCipher java.security.spec.PSSParameterSpec int
StackMap stack:
aload 0
aload 2
putfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
7: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.JCEDigestUtil.getDigest:(Ljava/lang/String;)Lorg/bouncycastle/crypto/Digest;
putfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
8: aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getSaltLength:()I
putfield org.bouncycastle.jce.provider.JDKPSSSigner.saltLength:I
9: aload 0
aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getTrailerField:()I
invokevirtual org.bouncycastle.jce.provider.JDKPSSSigner.getTrailer:(I)B
putfield org.bouncycastle.jce.provider.JDKPSSSigner.trailer:B
10: aload 0
iload 3
putfield org.bouncycastle.jce.provider.JDKPSSSigner.isRaw:Z
11: aload 0
invokevirtual org.bouncycastle.jce.provider.JDKPSSSigner.setupContentDigest:()V
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 13 1 signer Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
0 13 2 baseParamSpec Ljava/security/spec/PSSParameterSpec;
0 13 3 isRaw Z
MethodParameters:
Name Flags
signer
baseParamSpec
isRaw
protected void engineInitVerify(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.interfaces.RSAPublicKey
ifne 2
1: new java.security.InvalidKeyException
dup
ldc "Supplied key is not a RSAPublicKey instance"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.crypto.signers.PSSSigner
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.signer:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.contentDigest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.saltLength:I
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.trailer:B
invokespecial org.bouncycastle.crypto.signers.PSSSigner.<init>:(Lorg/bouncycastle/crypto/AsymmetricBlockCipher;Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/crypto/Digest;IB)V
putfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
3: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
iconst_0
4: aload 1
checkcast java.security.interfaces.RSAPublicKey
invokestatic org.bouncycastle.jce.provider.RSAUtil.generatePublicKeyParameter:(Ljava/security/interfaces/RSAPublicKey;)Lorg/bouncycastle/crypto/params/RSAKeyParameters;
5: invokevirtual org.bouncycastle.crypto.signers.PSSSigner.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 7 1 publicKey Ljava/security/PublicKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
publicKey
protected void engineInitSign(java.security.PrivateKey, java.security.SecureRandom);
descriptor: (Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof java.security.interfaces.RSAPrivateKey
ifne 2
1: new java.security.InvalidKeyException
dup
ldc "Supplied key is not a RSAPrivateKey instance"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.crypto.signers.PSSSigner
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.signer:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.contentDigest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.saltLength:I
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.trailer:B
invokespecial org.bouncycastle.crypto.signers.PSSSigner.<init>:(Lorg/bouncycastle/crypto/AsymmetricBlockCipher;Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/crypto/Digest;IB)V
putfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
3: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
iconst_1
new org.bouncycastle.crypto.params.ParametersWithRandom
dup
aload 1
checkcast java.security.interfaces.RSAPrivateKey
invokestatic org.bouncycastle.jce.provider.RSAUtil.generatePrivateKeyParameter:(Ljava/security/interfaces/RSAPrivateKey;)Lorg/bouncycastle/crypto/params/RSAKeyParameters;
aload 2
invokespecial org.bouncycastle.crypto.params.ParametersWithRandom.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Ljava/security/SecureRandom;)V
invokevirtual org.bouncycastle.crypto.signers.PSSSigner.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 5 1 privateKey Ljava/security/PrivateKey;
0 5 2 random Ljava/security/SecureRandom;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
random
protected void engineInitSign(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.interfaces.RSAPrivateKey
ifne 2
1: new java.security.InvalidKeyException
dup
ldc "Supplied key is not a RSAPrivateKey instance"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
new org.bouncycastle.crypto.signers.PSSSigner
dup
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.signer:Lorg/bouncycastle/crypto/AsymmetricBlockCipher;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.contentDigest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.saltLength:I
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.trailer:B
invokespecial org.bouncycastle.crypto.signers.PSSSigner.<init>:(Lorg/bouncycastle/crypto/AsymmetricBlockCipher;Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/crypto/Digest;IB)V
putfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
3: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
iconst_1
aload 1
checkcast java.security.interfaces.RSAPrivateKey
invokestatic org.bouncycastle.jce.provider.RSAUtil.generatePrivateKeyParameter:(Ljava/security/interfaces/RSAPrivateKey;)Lorg/bouncycastle/crypto/params/RSAKeyParameters;
invokevirtual org.bouncycastle.crypto.signers.PSSSigner.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 5 1 privateKey Ljava/security/PrivateKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
protected void engineUpdate(byte);
descriptor: (B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
iload 1
invokevirtual org.bouncycastle.crypto.signers.PSSSigner.update:(B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 2 1 b B
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
b
protected void engineUpdate(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
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.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
aload 1
iload 2
iload 3
invokevirtual org.bouncycastle.crypto.signers.PSSSigner.update:([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/jce/provider/JDKPSSSigner;
0 2 1 b [B
0 2 2 off I
0 2 3 len I
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
b
off
len
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
invokevirtual org.bouncycastle.crypto.signers.PSSSigner.generateSignature:()[B
1: areturn
2: StackMap locals:
StackMap stack: org.bouncycastle.crypto.CryptoException
astore 1
start local 1 3: new java.security.SignatureException
dup
aload 1
invokevirtual org.bouncycastle.crypto.CryptoException.getMessage:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
3 4 1 e Lorg/bouncycastle/crypto/CryptoException;
Exception table:
from to target type
0 1 2 Class org.bouncycastle.crypto.CryptoException
Exceptions:
throws java.security.SignatureException
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.pss:Lorg/bouncycastle/crypto/signers/PSSSigner;
aload 1
invokevirtual org.bouncycastle.crypto.signers.PSSSigner.verifySignature:([B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 1 1 sigBytes [B
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
sigBytes
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.spec.PSSParameterSpec
ifeq 22
1: aload 1
checkcast java.security.spec.PSSParameterSpec
astore 2
start local 2 2: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.originalSpec:Ljava/security/spec/PSSParameterSpec;
ifnull 5
3: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.originalSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.JCEDigestUtil.isSameDigest:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 5
4: new java.security.InvalidParameterException
dup
new java.lang.StringBuilder
dup
ldc "parameter must be using "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.originalSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.security.spec.PSSParameterSpec
StackMap stack:
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getMGFAlgorithm:()Ljava/lang/String;
ldc "MGF1"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 7
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getMGFAlgorithm:()Ljava/lang/String;
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_mgf1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
6: new java.security.InvalidParameterException
dup
ldc "unknown mask generation function specified"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
instanceof java.security.spec.MGF1ParameterSpec
ifne 9
8: new java.security.InvalidParameterException
dup
ldc "unkown MGF parameters"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
checkcast java.security.spec.MGF1ParameterSpec
astore 3
start local 3 10: aload 3
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.JCEDigestUtil.isSameDigest:(Ljava/lang/String;Ljava/lang/String;)Z
ifne 12
11: new java.security.InvalidParameterException
dup
ldc "digest algorithm for MGF should be the same as for PSS parameters."
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: java.security.spec.MGF1ParameterSpec
StackMap stack:
aload 3
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.jce.provider.JCEDigestUtil.getDigest:(Ljava/lang/String;)Lorg/bouncycastle/crypto/Digest;
astore 4
start local 4 13: aload 4
ifnonnull 15
14: new java.security.InvalidParameterException
dup
new java.lang.StringBuilder
dup
ldc "no match on MGF digest algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals: org.bouncycastle.crypto.Digest
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.jce.provider.JDKPSSSigner.engineParams:Ljava/security/AlgorithmParameters;
16: aload 0
aload 2
putfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
17: aload 0
aload 4
putfield org.bouncycastle.jce.provider.JDKPSSSigner.mgfDigest:Lorg/bouncycastle/crypto/Digest;
18: aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getSaltLength:()I
putfield org.bouncycastle.jce.provider.JDKPSSSigner.saltLength:I
19: aload 0
aload 0
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getTrailerField:()I
invokevirtual org.bouncycastle.jce.provider.JDKPSSSigner.getTrailer:(I)B
putfield org.bouncycastle.jce.provider.JDKPSSSigner.trailer:B
20: aload 0
invokevirtual org.bouncycastle.jce.provider.JDKPSSSigner.setupContentDigest:()V
end local 4 end local 3 end local 2 21: goto 23
22: StackMap locals:
StackMap stack:
new java.security.InvalidParameterException
dup
ldc "Only PSSParameterSpec supported"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 24 1 params Ljava/security/spec/AlgorithmParameterSpec;
2 21 2 newParamSpec Ljava/security/spec/PSSParameterSpec;
10 21 3 mgfParams Ljava/security/spec/MGF1ParameterSpec;
13 21 4 newDigest Lorg/bouncycastle/crypto/Digest;
Exceptions:
throws java.security.InvalidParameterException
MethodParameters:
Name Flags
params
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.engineParams:Ljava/security/AlgorithmParameters;
ifnonnull 7
1: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
ifnull 7
2: aload 0
ldc "PSS"
getstatic org.bouncycastle.jce.provider.BouncyCastleProvider.PROVIDER_NAME:Ljava/lang/String;
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/AlgorithmParameters;
putfield org.bouncycastle.jce.provider.JDKPSSSigner.engineParams:Ljava/security/AlgorithmParameters;
3: aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.engineParams:Ljava/security/AlgorithmParameters;
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.paramSpec:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
4: goto 7
5: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 6: new java.lang.RuntimeException
dup
aload 1
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.JDKPSSSigner.engineParams:Ljava/security/AlgorithmParameters;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
6 7 1 e Ljava/lang/Exception;
Exception table:
from to target type
2 4 5 Class java.lang.Exception
protected void engineSetParameter(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.UnsupportedOperationException
dup
ldc "engineSetParameter unsupported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 1 1 param Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
MethodParameters:
Name Flags
param
value
protected java.lang.Object engineGetParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
ldc "engineGetParameter unsupported"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/JDKPSSSigner;
0 1 1 param Ljava/lang/String;
MethodParameters:
Name Flags
param
}
SourceFile: "JDKPSSSigner.java"
NestMembers:
org.bouncycastle.jce.provider.JDKPSSSigner$NullPssDigest org.bouncycastle.jce.provider.JDKPSSSigner$PSSwithRSA org.bouncycastle.jce.provider.JDKPSSSigner$SHA1withRSA org.bouncycastle.jce.provider.JDKPSSSigner$SHA224withRSA org.bouncycastle.jce.provider.JDKPSSSigner$SHA256withRSA org.bouncycastle.jce.provider.JDKPSSSigner$SHA384withRSA org.bouncycastle.jce.provider.JDKPSSSigner$SHA512withRSA org.bouncycastle.jce.provider.JDKPSSSigner$nonePSS
InnerClasses:
private NullPssDigest = org.bouncycastle.jce.provider.JDKPSSSigner$NullPssDigest of org.bouncycastle.jce.provider.JDKPSSSigner
public PSSwithRSA = org.bouncycastle.jce.provider.JDKPSSSigner$PSSwithRSA of org.bouncycastle.jce.provider.JDKPSSSigner
public SHA1withRSA = org.bouncycastle.jce.provider.JDKPSSSigner$SHA1withRSA of org.bouncycastle.jce.provider.JDKPSSSigner
public SHA224withRSA = org.bouncycastle.jce.provider.JDKPSSSigner$SHA224withRSA of org.bouncycastle.jce.provider.JDKPSSSigner
public SHA256withRSA = org.bouncycastle.jce.provider.JDKPSSSigner$SHA256withRSA of org.bouncycastle.jce.provider.JDKPSSSigner
public SHA384withRSA = org.bouncycastle.jce.provider.JDKPSSSigner$SHA384withRSA of org.bouncycastle.jce.provider.JDKPSSSigner
public SHA512withRSA = org.bouncycastle.jce.provider.JDKPSSSigner$SHA512withRSA of org.bouncycastle.jce.provider.JDKPSSSigner
public nonePSS = org.bouncycastle.jce.provider.JDKPSSSigner$nonePSS of org.bouncycastle.jce.provider.JDKPSSSigner