public final class sun.security.mscapi.CSignature$PSS extends sun.security.mscapi.CSignature$RSA
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.mscapi.CSignature$PSS
super_class: sun.security.mscapi.CSignature$RSA
{
private java.security.spec.PSSParameterSpec pssParams;
descriptor: Ljava/security/spec/PSSParameterSpec;
flags: (0x0002) ACC_PRIVATE
private java.security.Signature fallbackSignature;
descriptor: Ljava/security/Signature;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial sun.security.mscapi.CSignature$RSA.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/CSignature$PSS;
protected void engineInitSign(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.security.mscapi.CSignature$RSA.engineInitSign:(Ljava/security/PrivateKey;)V
1: aload 0
aconst_null
putfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/CSignature$PSS;
0 3 1 key Ljava/security/PrivateKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected void engineInitVerify(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.security.InvalidKeyException
dup
ldc "Key cannot be null"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.interfaces.RSAPublicKey
ifne 6
3: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Key type not supported: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.mscapi.CSignature$PSS.privateKey:Lsun/security/mscapi/CPrivateKey;
7: aload 1
instanceof sun.security.mscapi.CPublicKey
ifeq 11
8: aload 0
aconst_null
putfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
9: aload 0
aload 1
checkcast sun.security.mscapi.CPublicKey
putfield sun.security.mscapi.CSignature$PSS.publicKey:Lsun/security/mscapi/CPublicKey;
10: goto 25
11: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnonnull 18
12: aload 0
13: ldc "RSASSA-PSS"
ldc "SunRsaSign"
14: invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
putfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
15: goto 18
StackMap locals:
StackMap stack: java.security.GeneralSecurityException
16: astore 2
start local 2 17: new java.security.InvalidKeyException
dup
ldc "Invalid key"
aload 2
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 18: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
19: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
ifnull 24
20: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.Signature.setParameter:(Ljava/security/spec/AlgorithmParameterSpec;)V
21: goto 24
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
22: astore 2
start local 2 23: new java.security.InvalidKeyException
dup
ldc "Invalid params"
aload 2
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 24: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.mscapi.CSignature$PSS.publicKey:Lsun/security/mscapi/CPublicKey;
25: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.mscapi.CSignature$PSS.resetDigest:()V
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lsun/security/mscapi/CSignature$PSS;
0 27 1 key Ljava/security/PublicKey;
17 18 2 e Ljava/security/GeneralSecurityException;
23 24 2 e Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
12 15 16 Class java.security.NoSuchAlgorithmException
12 15 16 Class java.security.NoSuchProviderException
20 21 22 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
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
invokevirtual sun.security.mscapi.CSignature$PSS.ensureInit:()V
1: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnull 4
2: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
iload 1
invokevirtual java.security.Signature.update:(B)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.messageDigest:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.mscapi.CSignature$PSS.needsReset:Z
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/mscapi/CSignature$PSS;
0 7 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
invokevirtual sun.security.mscapi.CSignature$PSS.ensureInit:()V
1: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnull 4
2: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
aload 1
iload 2
iload 3
invokevirtual java.security.Signature.update:([BII)V
3: goto 5
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.messageDigest:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.mscapi.CSignature$PSS.needsReset:Z
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/mscapi/CSignature$PSS;
0 7 1 b [B
0 7 2 off I
0 7 3 len I
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
b
off
len
protected void engineUpdate(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.mscapi.CSignature$PSS.ensureInit:()V
1: goto 4
StackMap locals:
StackMap stack: java.security.SignatureException
2: astore 2
start local 2 3: new java.lang.RuntimeException
dup
aload 2
invokevirtual java.security.SignatureException.getMessage:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnull 9
5: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.update:(Ljava/nio/ByteBuffer;)V
6: goto 10
StackMap locals:
StackMap stack: java.security.SignatureException
7: astore 2
start local 2 8: new java.lang.RuntimeException
dup
aload 2
invokevirtual java.security.SignatureException.getMessage:()Ljava/lang/String;
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.messageDigest:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.security.mscapi.CSignature$PSS.needsReset:Z
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/mscapi/CSignature$PSS;
0 12 1 input Ljava/nio/ByteBuffer;
3 4 2 se Ljava/security/SignatureException;
8 9 2 se Ljava/security/SignatureException;
Exception table:
from to target type
0 1 2 Class java.security.SignatureException
5 6 7 Class java.security.SignatureException
MethodParameters:
Name Flags
input
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.mscapi.CSignature$PSS.ensureInit:()V
1: aload 0
invokevirtual sun.security.mscapi.CSignature$PSS.getDigestValue:()[B
astore 1
start local 1 2: iconst_2
aload 1
aload 1
arraylength
3: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getSaltLength:()I
4: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
5: checkcast java.security.spec.MGF1ParameterSpec
6: invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
7: aload 0
getfield sun.security.mscapi.CSignature$PSS.privateKey:Lsun/security/mscapi/CPrivateKey;
invokevirtual sun.security.mscapi.CPrivateKey.getHCryptProvider:()J
aload 0
getfield sun.security.mscapi.CSignature$PSS.privateKey:Lsun/security/mscapi/CPrivateKey;
invokevirtual sun.security.mscapi.CPrivateKey.getHCryptKey:()J
8: invokestatic sun.security.mscapi.CSignature$PSS.signCngHash:(I[BIILjava/lang/String;JJ)[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/mscapi/CSignature$PSS;
2 9 1 hash [B
Exceptions:
throws java.security.SignatureException
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=11, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.mscapi.CSignature$PSS.ensureInit:()V
1: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnull 4
2: aload 0
iconst_0
putfield sun.security.mscapi.CSignature$PSS.needsReset:Z
3: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.verify:([B)Z
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.mscapi.CSignature$PSS.getDigestValue:()[B
astore 2
start local 2 5: iconst_2
aload 2
aload 2
arraylength
6: aload 1
aload 1
arraylength
7: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getSaltLength:()I
8: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
9: checkcast java.security.spec.MGF1ParameterSpec
10: invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
11: aload 0
getfield sun.security.mscapi.CSignature$PSS.publicKey:Lsun/security/mscapi/CPublicKey;
invokevirtual sun.security.mscapi.CPublicKey.getHCryptProvider:()J
12: aload 0
getfield sun.security.mscapi.CSignature$PSS.publicKey:Lsun/security/mscapi/CPublicKey;
invokevirtual sun.security.mscapi.CPublicKey.getHCryptKey:()J
13: invokestatic sun.security.mscapi.CSignature.verifyCngSignedHash:(I[BI[BIILjava/lang/String;JJ)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/mscapi/CSignature$PSS;
0 14 1 sigBytes [B
5 14 2 hash [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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.mscapi.CSignature$PSS.needsReset:Z
ifeq 4
1: new java.security.ProviderException
dup
2: ldc "Cannot set parameters during operations"
3: invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 1
invokevirtual sun.security.mscapi.CSignature$PSS.validateSigParams:(Ljava/security/spec/AlgorithmParameterSpec;)Ljava/security/spec/PSSParameterSpec;
putfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
5: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnull 7
6: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.setParameter:(Ljava/security/spec/AlgorithmParameterSpec;)V
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/mscapi/CSignature$PSS;
0 8 1 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
ifnull 7
2: ldc "RSASSA-PSS"
invokestatic java.security.AlgorithmParameters.getInstance:(Ljava/lang/String;)Ljava/security/AlgorithmParameters;
astore 1
3: aload 1
aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.AlgorithmParameters.init:(Ljava/security/spec/AlgorithmParameterSpec;)V
4: goto 7
StackMap locals: sun.security.mscapi.CSignature$PSS java.security.AlgorithmParameters
StackMap stack: java.security.GeneralSecurityException
5: astore 2
start local 2 6: new java.security.ProviderException
dup
aload 2
invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
invokespecial java.security.ProviderException.<init>:(Ljava/lang/String;)V
athrow
end local 2 7: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/mscapi/CSignature$PSS;
1 8 1 ap Ljava/security/AlgorithmParameters;
6 7 2 gse Ljava/security/GeneralSecurityException;
Exception table:
from to target type
2 4 5 Class java.security.GeneralSecurityException
private void ensureInit();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.mscapi.CSignature$PSS.privateKey:Lsun/security/mscapi/CPrivateKey;
ifnonnull 3
aload 0
getfield sun.security.mscapi.CSignature$PSS.publicKey:Lsun/security/mscapi/CPublicKey;
ifnonnull 3
1: aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnonnull 3
2: new java.security.SignatureException
dup
ldc "Missing key"
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
ifnonnull 7
4: new java.security.SignatureException
dup
5: ldc "Parameters required for RSASSA-PSS signatures"
6: invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.mscapi.CSignature$PSS.fallbackSignature:Ljava/security/Signature;
ifnonnull 14
aload 0
getfield sun.security.mscapi.CSignature$PSS.messageDigest:Ljava/security/MessageDigest;
ifnonnull 14
8: aload 0
9: aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
10: putfield sun.security.mscapi.CSignature$PSS.messageDigest:Ljava/security/MessageDigest;
11: goto 14
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
12: astore 1
start local 1 13: new java.security.SignatureException
dup
aload 1
invokespecial java.security.SignatureException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 14: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/mscapi/CSignature$PSS;
13 14 1 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
8 11 12 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.security.SignatureException
private java.security.spec.PSSParameterSpec validateSigParams(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)Ljava/security/spec/PSSParameterSpec;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.security.InvalidAlgorithmParameterException
dup
2: ldc "Parameters cannot be null"
3: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.spec.PSSParameterSpec
ifne 8
5: new java.security.InvalidAlgorithmParameterException
dup
6: ldc "parameters must be type PSSParameterSpec"
7: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
checkcast java.security.spec.PSSParameterSpec
astore 2
start local 2 9: aload 2
aload 0
getfield sun.security.mscapi.CSignature$PSS.pssParams:Ljava/security/spec/PSSParameterSpec;
if_acmpne 10
aload 2
areturn
10: 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 12
11: new java.security.InvalidAlgorithmParameterException
dup
ldc "Only supports MGF1"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getTrailerField:()I
iconst_1
if_icmpeq 16
13: new java.security.InvalidAlgorithmParameterException
dup
14: ldc "Only supports TrailerFieldBC(1)"
15: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.security.spec.PSSParameterSpec.getMGFParameters:()Ljava/security/spec/AlgorithmParameterSpec;
astore 3
start local 3 17: aload 3
instanceof java.security.spec.MGF1ParameterSpec
ifne 21
18: new java.security.InvalidAlgorithmParameterException
dup
19: ldc "Only support MGF1ParameterSpec"
20: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
21: StackMap locals: java.security.spec.AlgorithmParameterSpec
StackMap stack:
aload 3
checkcast java.security.spec.MGF1ParameterSpec
astore 4
start local 4 22: aload 2
invokevirtual java.security.spec.PSSParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
23: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "-"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
24: astore 5
start local 5 25: aload 5
ldc "sha"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
26: ldc "sha1"
astore 5
27: StackMap locals: java.security.spec.MGF1ParameterSpec java.lang.String
StackMap stack:
aload 4
invokevirtual java.security.spec.MGF1ParameterSpec.getDigestAlgorithm:()Ljava/lang/String;
28: getstatic java.util.Locale.ROOT:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
ldc "-"
ldc ""
invokevirtual java.lang.String.replaceAll:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
29: astore 6
start local 6 30: aload 6
ldc "sha"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 32
31: ldc "sha1"
astore 6
32: StackMap locals: java.lang.String
StackMap stack:
aload 6
aload 5
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 36
33: new java.security.InvalidAlgorithmParameterException
dup
34: ldc "MGF1 hash must be the same as message hash"
35: invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
aload 2
areturn
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 37 0 this Lsun/security/mscapi/CSignature$PSS;
0 37 1 p Ljava/security/spec/AlgorithmParameterSpec;
9 37 2 params Ljava/security/spec/PSSParameterSpec;
17 37 3 algSpec Ljava/security/spec/AlgorithmParameterSpec;
22 37 4 mgfSpec Ljava/security/spec/MGF1ParameterSpec;
25 37 5 msgHashAlg Ljava/lang/String;
30 37 6 mgf1HashAlg Ljava/lang/String;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
p
}
SourceFile: "CSignature.java"
NestHost: sun.security.mscapi.CSignature
InnerClasses:
public final PSS = sun.security.mscapi.CSignature$PSS of sun.security.mscapi.CSignature
RSA = sun.security.mscapi.CSignature$RSA of sun.security.mscapi.CSignature