class sun.security.mscapi.CSignature$RSA extends sun.security.mscapi.CSignature
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.security.mscapi.CSignature$RSA
super_class: sun.security.mscapi.CSignature
{
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "RSA"
aload 1
invokespecial sun.security.mscapi.CSignature.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/mscapi/CSignature$RSA;
0 2 1 digestAlgorithm Ljava/lang/String;
MethodParameters:
Name Flags
digestAlgorithm
protected void engineInitSign(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.security.mscapi.CPrivateKey
ifeq 2
1: aload 1
invokeinterface java.security.PrivateKey.getAlgorithm:()Ljava/lang/String;
ldc "RSA"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 3
2: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "Key type not supported"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast sun.security.mscapi.CPrivateKey
putfield sun.security.mscapi.CSignature$RSA.privateKey:Lsun/security/mscapi/CPrivateKey;
4: aload 0
getfield sun.security.mscapi.CSignature$RSA.privateKey:Lsun/security/mscapi/CPrivateKey;
invokevirtual sun.security.mscapi.CPrivateKey.length:()I
bipush 7
iadd
bipush -8
iand
5: aconst_null
sipush 512
6: sipush 16384
7: invokestatic sun.security.rsa.RSAKeyFactory.checkKeyLengths:(ILjava/math/BigInteger;II)V
8: aload 0
aconst_null
putfield sun.security.mscapi.CSignature$RSA.publicKey:Lsun/security/mscapi/CPublicKey;
9: aload 0
invokevirtual sun.security.mscapi.CSignature$RSA.resetDigest:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/mscapi/CSignature$RSA;
0 11 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=4, locals=10, 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 "Key type not supported"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.mscapi.CPublicKey
ifne 22
3: aload 1
checkcast java.security.interfaces.RSAPublicKey
4: astore 2
start local 2 5: aload 2
invokeinterface java.security.interfaces.RSAPublicKey.getModulus:()Ljava/math/BigInteger;
astore 3
start local 3 6: aload 2
invokeinterface java.security.interfaces.RSAPublicKey.getPublicExponent:()Ljava/math/BigInteger;
astore 4
start local 4 7: aload 3
invokevirtual java.math.BigInteger.bitLength:()I
bipush 7
iadd
bipush -8
iand
8: aload 4
iconst_m1
sipush 16384
9: invokestatic sun.security.rsa.RSAKeyFactory.checkKeyLengths:(ILjava/math/BigInteger;II)V
10: aload 3
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 5
start local 5 11: aload 4
invokevirtual java.math.BigInteger.toByteArray:()[B
astore 6
start local 6 12: aload 5
iconst_0
baload
ifne 14
13: aload 5
arraylength
iconst_1
isub
bipush 8
imul
goto 15
14: StackMap locals: sun.security.mscapi.CSignature$RSA java.security.PublicKey java.security.interfaces.RSAPublicKey java.math.BigInteger java.math.BigInteger byte[] byte[]
StackMap stack:
aload 5
arraylength
bipush 8
imul
15: StackMap locals:
StackMap stack: int
istore 7
start local 7 16: iload 7
aload 5
aload 6
17: invokestatic sun.security.mscapi.CSignature$RSA.generatePublicKeyBlob:(I[B[B)[B
astore 8
start local 8 18: aload 0
ldc "RSA"
aload 8
iload 7
invokestatic sun.security.mscapi.CSignature$RSA.importPublicKey:(Ljava/lang/String;[BI)Lsun/security/mscapi/CPublicKey;
putfield sun.security.mscapi.CSignature$RSA.publicKey:Lsun/security/mscapi/CPublicKey;
19: goto 23
StackMap locals: sun.security.mscapi.CSignature$RSA java.security.PublicKey java.security.interfaces.RSAPublicKey java.math.BigInteger java.math.BigInteger byte[] byte[] int byte[]
StackMap stack: java.security.KeyStoreException
20: astore 9
start local 9 21: new java.security.InvalidKeyException
dup
aload 9
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 22: StackMap locals: sun.security.mscapi.CSignature$RSA java.security.PublicKey
StackMap stack:
aload 0
aload 1
checkcast sun.security.mscapi.CPublicKey
putfield sun.security.mscapi.CSignature$RSA.publicKey:Lsun/security/mscapi/CPublicKey;
23: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.mscapi.CSignature$RSA.privateKey:Lsun/security/mscapi/CPrivateKey;
24: aload 0
invokevirtual sun.security.mscapi.CSignature$RSA.resetDigest:()V
25: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lsun/security/mscapi/CSignature$RSA;
0 26 1 key Ljava/security/PublicKey;
5 22 2 rsaKey Ljava/security/interfaces/RSAPublicKey;
6 22 3 modulus Ljava/math/BigInteger;
7 22 4 exponent Ljava/math/BigInteger;
11 22 5 modulusBytes [B
12 22 6 exponentBytes [B
16 22 7 keyBitLength I
18 22 8 keyBlob [B
21 22 9 e Ljava/security/KeyStoreException;
Exception table:
from to target type
18 19 20 Class java.security.KeyStoreException
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
key
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.mscapi.CSignature$RSA.getDigestValue:()[B
astore 1
start local 1 1: aload 0
instanceof sun.security.mscapi.CSignature$NONEwithRSA
istore 2
start local 2 2: iload 2
aload 1
aload 1
arraylength
3: aload 0
getfield sun.security.mscapi.CSignature$RSA.messageDigestAlgorithm:Ljava/lang/String;
aload 0
getfield sun.security.mscapi.CSignature$RSA.privateKey:Lsun/security/mscapi/CPrivateKey;
invokevirtual sun.security.mscapi.CPrivateKey.getHCryptProvider:()J
4: aload 0
getfield sun.security.mscapi.CSignature$RSA.privateKey:Lsun/security/mscapi/CPrivateKey;
invokevirtual sun.security.mscapi.CPrivateKey.getHCryptKey:()J
5: invokestatic sun.security.mscapi.CSignature.signHash:(Z[BILjava/lang/String;JJ)[B
astore 3
start local 3 6: aload 3
invokestatic sun.security.mscapi.CSignature.convertEndianArray:([B)[B
areturn
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$RSA;
1 7 1 hash [B
2 7 2 noHashOID Z
6 7 3 result [B
Exceptions:
throws java.security.SignatureException
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.mscapi.CSignature$RSA.getDigestValue:()[B
astore 2
start local 2 1: aload 2
aload 2
arraylength
2: aload 0
getfield sun.security.mscapi.CSignature$RSA.messageDigestAlgorithm:Ljava/lang/String;
aload 1
invokestatic sun.security.mscapi.CSignature.convertEndianArray:([B)[B
3: aload 1
arraylength
aload 0
getfield sun.security.mscapi.CSignature$RSA.publicKey:Lsun/security/mscapi/CPublicKey;
invokevirtual sun.security.mscapi.CPublicKey.getHCryptProvider:()J
4: aload 0
getfield sun.security.mscapi.CSignature$RSA.publicKey:Lsun/security/mscapi/CPublicKey;
invokevirtual sun.security.mscapi.CPublicKey.getHCryptKey:()J
5: invokestatic sun.security.mscapi.CSignature.verifySignedHash:([BILjava/lang/String;[BIJJ)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/mscapi/CSignature$RSA;
0 6 1 sigBytes [B
1 6 2 hash [B
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
sigBytes
static native byte[] generatePublicKeyBlob(int, byte[], byte[]);
descriptor: (I[B[B)[B
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
keyBitLength
modulus
publicExponent
}
SourceFile: "CSignature.java"
NestHost: sun.security.mscapi.CSignature
InnerClasses:
public final NONEwithRSA = sun.security.mscapi.CSignature$NONEwithRSA of sun.security.mscapi.CSignature
RSA = sun.security.mscapi.CSignature$RSA of sun.security.mscapi.CSignature