abstract class sun.security.mscapi.CSignature extends java.security.SignatureSpi
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.mscapi.CSignature
super_class: java.security.SignatureSpi
{
protected java.lang.String keyAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected java.security.MessageDigest messageDigest;
descriptor: Ljava/security/MessageDigest;
flags: (0x0004) ACC_PROTECTED
protected java.lang.String messageDigestAlgorithm;
descriptor: Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
protected boolean needsReset;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected sun.security.mscapi.CPrivateKey privateKey;
descriptor: Lsun/security/mscapi/CPrivateKey;
flags: (0x0004) ACC_PROTECTED
protected sun.security.mscapi.CPublicKey publicKey;
descriptor: Lsun/security/mscapi/CPublicKey;
flags: (0x0004) ACC_PROTECTED
void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.security.SignatureSpi.<init>:()V
1: aload 0
aconst_null
putfield sun.security.mscapi.CSignature.privateKey:Lsun/security/mscapi/CPrivateKey;
2: aload 0
aconst_null
putfield sun.security.mscapi.CSignature.publicKey:Lsun/security/mscapi/CPublicKey;
3: aload 0
aload 1
putfield sun.security.mscapi.CSignature.keyAlgorithm:Ljava/lang/String;
4: aload 2
ifnull 10
5: aload 0
aload 2
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
putfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
6: aload 0
aload 0
getfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.getAlgorithm:()Ljava/lang/String;
putfield sun.security.mscapi.CSignature.messageDigestAlgorithm:Ljava/lang/String;
7: goto 12
StackMap locals: sun.security.mscapi.CSignature java.lang.String java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
8: astore 3
start local 3 9: new java.security.ProviderException
dup
aload 3
invokespecial java.security.ProviderException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
11: aload 0
aconst_null
putfield sun.security.mscapi.CSignature.messageDigestAlgorithm:Ljava/lang/String;
12: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.mscapi.CSignature.needsReset:Z
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/mscapi/CSignature;
0 14 1 keyName Ljava/lang/String;
0 14 2 digestName Ljava/lang/String;
9 10 3 e Ljava/security/NoSuchAlgorithmException;
Exception table:
from to target type
5 7 8 Class java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
keyName
digestName
static native byte[] signCngHash(int, byte[], int, int, java.lang.String, long, long);
descriptor: (I[BIILjava/lang/String;JJ)[B
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
type
hash
hashSize
saltLength
hashAlgorithm
hCryptProv
nCryptKey
private static native boolean verifyCngSignedHash(int, byte[], int, byte[], int, int, java.lang.String, long, long);
descriptor: (I[BI[BIILjava/lang/String;JJ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
type
hash
hashSize
signature
signatureSize
saltLength
hashAlgorithm
hCryptProv
hKey
protected void resetDigest();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.mscapi.CSignature.needsReset:Z
ifeq 4
1: aload 0
getfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
ifnull 3
2: aload 0
getfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.reset:()V
3: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield sun.security.mscapi.CSignature.needsReset:Z
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/mscapi/CSignature;
protected byte[] getDigestValue();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.security.mscapi.CSignature.needsReset:Z
1: aload 0
getfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
invokevirtual java.security.MessageDigest.digest:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/mscapi/CSignature;
Exceptions:
throws java.security.SignatureException
protected void setDigestName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.security.mscapi.CSignature.messageDigestAlgorithm:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/mscapi/CSignature;
0 2 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
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 sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
iload 1
invokevirtual java.security.MessageDigest.update:(B)V
1: aload 0
iconst_1
putfield sun.security.mscapi.CSignature.needsReset:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/CSignature;
0 3 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 sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
aload 1
iload 2
iload 3
invokevirtual java.security.MessageDigest.update:([BII)V
1: aload 0
iconst_1
putfield sun.security.mscapi.CSignature.needsReset:Z
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/CSignature;
0 3 1 b [B
0 3 2 off I
0 3 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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.mscapi.CSignature.messageDigest:Ljava/security/MessageDigest;
aload 1
invokevirtual java.security.MessageDigest.update:(Ljava/nio/ByteBuffer;)V
1: aload 0
iconst_1
putfield sun.security.mscapi.CSignature.needsReset:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/CSignature;
0 3 1 input Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
input
private static byte[] convertEndianArray(byte[]);
descriptor: ([B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
arraylength
newarray 8
astore 1
start local 1 3: iconst_0
istore 2
start local 2 4: goto 7
5: StackMap locals: byte[] int
StackMap stack:
aload 1
iload 2
aload 0
aload 0
arraylength
iload 2
isub
iconst_1
isub
baload
bastore
6: iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
arraylength
if_icmplt 5
end local 2 8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 byteArray [B
3 9 1 retval [B
4 8 2 i I
MethodParameters:
Name Flags
byteArray
private static native byte[] signHash(boolean, byte[], int, java.lang.String, long, long);
descriptor: (Z[BILjava/lang/String;JJ)[B
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
noHashOID
hash
hashSize
hashAlgorithm
hCryptProv
hCryptKey
private static native boolean verifySignedHash(byte[], int, java.lang.String, byte[], int, long, long);
descriptor: ([BILjava/lang/String;[BIJJ)Z
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.SignatureException
MethodParameters:
Name Flags
hash
hashSize
hashAlgorithm
signature
signatureSize
hCryptProv
hCryptKey
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.security.InvalidParameterException
dup
ldc "Parameter not supported"
invokespecial java.security.InvalidParameterException.<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 Lsun/security/mscapi/CSignature;
0 1 1 param Ljava/lang/String;
0 1 2 value Ljava/lang/Object;
Exceptions:
throws java.security.InvalidParameterException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
param
value
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 1
ifnull 2
1: new java.security.InvalidAlgorithmParameterException
dup
ldc "No parameter accepted"
invokespecial java.security.InvalidAlgorithmParameterException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/mscapi/CSignature;
0 3 1 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws java.security.InvalidAlgorithmParameterException
MethodParameters:
Name Flags
params
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.security.InvalidParameterException
dup
ldc "Parameter not supported"
invokespecial java.security.InvalidParameterException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/mscapi/CSignature;
0 1 1 param Ljava/lang/String;
Exceptions:
throws java.security.InvalidParameterException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
param
protected java.security.AlgorithmParameters engineGetParameters();
descriptor: ()Ljava/security/AlgorithmParameters;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/mscapi/CSignature;
static native sun.security.mscapi.CPublicKey importPublicKey(java.lang.String, byte[], int);
descriptor: (Ljava/lang/String;[BI)Lsun/security/mscapi/CPublicKey;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.KeyStoreException
MethodParameters:
Name Flags
alg
keyBlob
keySize
static native sun.security.mscapi.CPublicKey importECPublicKey(java.lang.String, byte[], int);
descriptor: (Ljava/lang/String;[BI)Lsun/security/mscapi/CPublicKey;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.security.KeyStoreException
MethodParameters:
Name Flags
alg
keyBlob
keySize
}
SourceFile: "CSignature.java"
NestMembers:
sun.security.mscapi.CSignature$ECDSA sun.security.mscapi.CSignature$MD2withRSA sun.security.mscapi.CSignature$MD5withRSA sun.security.mscapi.CSignature$NONEwithRSA sun.security.mscapi.CSignature$PSS sun.security.mscapi.CSignature$RSA sun.security.mscapi.CSignature$SHA1withECDSA sun.security.mscapi.CSignature$SHA1withRSA sun.security.mscapi.CSignature$SHA224withECDSA sun.security.mscapi.CSignature$SHA256withECDSA sun.security.mscapi.CSignature$SHA256withRSA sun.security.mscapi.CSignature$SHA384withECDSA sun.security.mscapi.CSignature$SHA384withRSA sun.security.mscapi.CSignature$SHA512withECDSA sun.security.mscapi.CSignature$SHA512withRSA
InnerClasses:
ECDSA = sun.security.mscapi.CSignature$ECDSA of sun.security.mscapi.CSignature
public final MD2withRSA = sun.security.mscapi.CSignature$MD2withRSA of sun.security.mscapi.CSignature
public final MD5withRSA = sun.security.mscapi.CSignature$MD5withRSA of sun.security.mscapi.CSignature
public final NONEwithRSA = sun.security.mscapi.CSignature$NONEwithRSA of sun.security.mscapi.CSignature
public final PSS = sun.security.mscapi.CSignature$PSS of sun.security.mscapi.CSignature
RSA = sun.security.mscapi.CSignature$RSA of sun.security.mscapi.CSignature
public final SHA1withECDSA = sun.security.mscapi.CSignature$SHA1withECDSA of sun.security.mscapi.CSignature
public final SHA1withRSA = sun.security.mscapi.CSignature$SHA1withRSA of sun.security.mscapi.CSignature
public final SHA224withECDSA = sun.security.mscapi.CSignature$SHA224withECDSA of sun.security.mscapi.CSignature
public final SHA256withECDSA = sun.security.mscapi.CSignature$SHA256withECDSA of sun.security.mscapi.CSignature
public final SHA256withRSA = sun.security.mscapi.CSignature$SHA256withRSA of sun.security.mscapi.CSignature
public final SHA384withECDSA = sun.security.mscapi.CSignature$SHA384withECDSA of sun.security.mscapi.CSignature
public final SHA384withRSA = sun.security.mscapi.CSignature$SHA384withRSA of sun.security.mscapi.CSignature
public final SHA512withECDSA = sun.security.mscapi.CSignature$SHA512withECDSA of sun.security.mscapi.CSignature
public final SHA512withRSA = sun.security.mscapi.CSignature$SHA512withRSA of sun.security.mscapi.CSignature