public abstract class com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA extends com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA
super_class: com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi
{
static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x0008) ACC_STATIC
private java.security.Signature _signatureAlgorithm;
descriptor: Ljava/security/Signature;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.util.logging.Logger.getLogger:(Ljava/lang/String;)Ljava/util/logging/Logger;
1: putstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
2: return
LocalVariableTable:
Start End Slot Name Signature
public abstract java.lang.String engineGetURI();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
private static byte[] convertASN1toXMLDSIG(byte[]);
descriptor: ([B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
iconst_3
baload
istore 1
start local 1 1: iload 1
istore 2
start local 2 2: goto 4
StackMap locals: int int
StackMap stack:
3: iinc 2 -1
StackMap locals:
StackMap stack:
4: iload 2
ifle 5
aload 0
iconst_4
iload 1
iadd
iload 2
isub
baload
ifeq 3
5: StackMap locals:
StackMap stack:
aload 0
iconst_5
iload 1
iadd
baload
istore 3
start local 3 6: iload 3
istore 4
start local 4 7: goto 9
StackMap locals: int int
StackMap stack:
8: iinc 4 -1
StackMap locals:
StackMap stack:
9: iload 4
ifle 10
aload 0
bipush 6
iload 1
iadd
iload 3
iadd
iload 4
isub
baload
ifeq 8
10: StackMap locals:
StackMap stack:
aload 0
iconst_0
baload
bipush 48
if_icmpne 13
aload 0
iconst_1
baload
aload 0
arraylength
iconst_2
isub
if_icmpne 13
11: aload 0
iconst_2
baload
iconst_2
if_icmpne 13
iload 2
bipush 24
if_icmpgt 13
12: aload 0
iconst_4
iload 1
iadd
baload
iconst_2
if_icmpne 13
iload 4
bipush 24
if_icmple 14
13: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Invalid ASN.1 format of ECDSA signature"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
bipush 48
newarray 8
astore 5
start local 5 15: aload 0
iconst_4
iload 1
iadd
iload 2
isub
aload 5
bipush 24
iload 2
isub
16: iload 2
17: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
18: aload 0
bipush 6
iload 1
iadd
iload 3
iadd
iload 4
isub
aload 5
19: bipush 48
iload 4
isub
iload 4
20: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
21: aload 5
areturn
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 22 0 asn1Bytes [B
1 22 1 rLength B
2 22 2 i I
6 22 3 sLength B
7 22 4 j I
15 22 5 xmldsigBytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
asn1Bytes
private static byte[] convertXMLDSIGtoASN1(byte[]);
descriptor: ([B)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
arraylength
bipush 48
if_icmpeq 2
1: new java.io.IOException
dup
ldc "Invalid XMLDSIG format of ECDSA signature"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
bipush 24
istore 1
start local 1 3: goto 5
StackMap locals: int
StackMap stack:
4: iinc 1 -1
StackMap locals:
StackMap stack:
5: iload 1
ifle 6
aload 0
bipush 24
iload 1
isub
baload
ifeq 4
6: StackMap locals:
StackMap stack:
iload 1
istore 2
start local 2 7: aload 0
bipush 24
iload 1
isub
baload
ifge 9
8: iinc 2 1
9: StackMap locals: int
StackMap stack:
bipush 24
istore 3
start local 3 10: goto 12
StackMap locals: int
StackMap stack:
11: iinc 3 -1
StackMap locals:
StackMap stack:
12: iload 3
ifle 13
aload 0
bipush 48
iload 3
isub
baload
ifeq 11
13: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 14: aload 0
bipush 48
iload 3
isub
baload
ifge 16
15: iinc 4 1
16: StackMap locals: int
StackMap stack:
bipush 6
iload 2
iadd
iload 4
iadd
newarray 8
astore 5
start local 5 17: aload 5
iconst_0
bipush 48
bastore
18: aload 5
iconst_1
iconst_4
iload 2
iadd
iload 4
iadd
i2b
bastore
19: aload 5
iconst_2
iconst_2
bastore
20: aload 5
iconst_3
iload 2
i2b
bastore
21: aload 0
bipush 24
iload 1
isub
aload 5
iconst_4
iload 2
iadd
iload 1
isub
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
22: aload 5
iconst_4
iload 2
iadd
iconst_2
bastore
23: aload 5
iconst_5
iload 2
iadd
iload 4
i2b
bastore
24: aload 0
bipush 48
iload 3
isub
aload 5
bipush 6
iload 2
iadd
iload 4
iadd
iload 3
isub
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
25: aload 5
areturn
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 26 0 xmldsigBytes [B
3 26 1 i I
7 26 2 j I
10 26 3 k I
14 26 4 l I
17 26 5 asn1Bytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
xmldsigBytes
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokespecial com.sun.org.apache.xml.internal.security.algorithms.SignatureAlgorithmSpi.<init>:()V
1: aload 0
aconst_null
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
2: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.engineGetURI:()Ljava/lang/String;
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.translateURItoJCEID:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 3: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 5
4: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Created SignatureECDSA using "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals: com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA java.lang.String
StackMap stack:
invokestatic com.sun.org.apache.xml.internal.security.algorithms.JCEMapper.getProviderId:()Ljava/lang/String;
astore 2
start local 2 6: aload 2
ifnonnull 9
7: aload 0
aload 1
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
8: goto 21
9: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
aload 2
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
10: goto 21
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
11: astore 3
start local 3 12: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
13: aload 3
invokevirtual java.security.NoSuchAlgorithmException.getLocalizedMessage:()Ljava/lang/String;
aastore
14: astore 4
start local 4 15: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.NoSuchAlgorithm"
aload 4
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 end local 3 16: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 3
start local 3 17: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
18: aload 3
invokevirtual java.security.NoSuchProviderException.getLocalizedMessage:()Ljava/lang/String;
aastore
19: astore 4
start local 4 20: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.NoSuchAlgorithm"
aload 4
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 end local 3 21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
3 22 1 algorithmID Ljava/lang/String;
6 22 2 provider Ljava/lang/String;
12 16 3 ex Ljava/security/NoSuchAlgorithmException;
15 16 4 exArgs [Ljava/lang/Object;
17 21 3 ex Ljava/security/NoSuchProviderException;
20 21 4 exArgs [Ljava/lang/Object;
Exception table:
from to target type
6 10 11 Class java.security.NoSuchAlgorithmException
6 10 16 Class java.security.NoSuchProviderException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.setParameter:(Ljava/security/spec/AlgorithmParameterSpec;)V
1: goto 4
StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
2: astore 2
start local 2 3: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 5 1 params Ljava/security/spec/AlgorithmParameterSpec;
3 4 2 ex Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
0 1 2 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
params
protected boolean engineVerify(byte[]);
descriptor: ([B)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.convertXMLDSIGtoASN1:([B)[B
astore 2
start local 2 1: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 3
2: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Called ECDSA.verify() on "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokestatic com.sun.org.apache.xml.internal.security.utils.Base64.encode:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
3: StackMap locals: byte[]
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 2
invokevirtual java.security.Signature.verify:([B)Z
4: ireturn
end local 2 5: StackMap locals: com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA byte[]
StackMap stack: java.security.SignatureException
astore 2
start local 2 6: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 7: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 8: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 9 1 signature [B
1 5 2 jcebytes [B
6 7 2 ex Ljava/security/SignatureException;
8 9 2 ex Ljava/io/IOException;
Exception table:
from to target type
0 4 5 Class java.security.SignatureException
0 4 7 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
signature
protected void engineInitVerify(java.security.Key);
descriptor: (Ljava/security/Key;)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.PublicKey
ifne 7
1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 2: ldc Ljava/security/PublicKey;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 3: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
astore 4
start local 4 4: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.WrongKeyForThisOperation"
5: aload 4
6: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 end local 3 end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 1
checkcast java.security.PublicKey
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
8: goto 20
StackMap locals:
StackMap stack: java.security.InvalidKeyException
9: astore 2
start local 2 10: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
astore 3
start local 3 11: aload 0
12: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
13: invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
14: goto 19
StackMap locals: com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA java.security.Key java.security.InvalidKeyException java.security.Signature
StackMap stack: java.lang.Exception
15: astore 4
start local 4 16: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
invokevirtual java.util.logging.Logger.isLoggable:(Ljava/util/logging/Level;)Z
ifeq 18
17: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Exception when reinstantiating Signature:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
18: StackMap locals: java.lang.Exception
StackMap stack:
aload 0
aload 3
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
end local 4 19: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 end local 2 20: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 21 1 publicKey Ljava/security/Key;
2 7 2 supplied Ljava/lang/String;
3 7 3 needed Ljava/lang/String;
4 7 4 exArgs [Ljava/lang/Object;
10 20 2 ex Ljava/security/InvalidKeyException;
11 20 3 sig Ljava/security/Signature;
16 19 4 e Ljava/lang/Exception;
Exception table:
from to target type
7 8 9 Class java.security.InvalidKeyException
11 14 15 Class java.lang.Exception
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
publicKey
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
invokevirtual java.security.Signature.sign:()[B
astore 1
start local 1 1: aload 1
invokestatic com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.convertASN1toXMLDSIG:([B)[B
2: areturn
end local 1 3: StackMap locals:
StackMap stack: java.security.SignatureException
astore 1
start local 1 4: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 5: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 6: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 1
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
1 3 1 jcebytes [B
4 5 1 ex Ljava/security/SignatureException;
6 7 1 ex Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.security.SignatureException
0 2 5 Class java.io.IOException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
protected void engineInitSign(java.security.Key, java.security.SecureRandom);
descriptor: (Ljava/security/Key;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof java.security.PrivateKey
ifne 7
1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 2: ldc Ljava/security/PrivateKey;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 4
start local 4 3: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
dup
iconst_1
aload 4
aastore
astore 5
start local 5 4: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.WrongKeyForThisOperation"
5: aload 5
6: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 5 end local 4 end local 3 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 1
checkcast java.security.PrivateKey
8: aload 2
9: invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
10: goto 13
StackMap locals:
StackMap stack: java.security.InvalidKeyException
11: astore 3
start local 3 12: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 3 13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 14 1 privateKey Ljava/security/Key;
0 14 2 secureRandom Ljava/security/SecureRandom;
2 7 3 supplied Ljava/lang/String;
3 7 4 needed Ljava/lang/String;
4 7 5 exArgs [Ljava/lang/Object;
12 13 3 ex Ljava/security/InvalidKeyException;
Exception table:
from to target type
7 10 11 Class java.security.InvalidKeyException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
privateKey
secureRandom
protected void engineInitSign(java.security.Key);
descriptor: (Ljava/security/Key;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.PrivateKey
ifne 7
1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 2: ldc Ljava/security/PrivateKey;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 3: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
astore 4
start local 4 4: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.WrongKeyForThisOperation"
5: aload 4
6: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 4 end local 3 end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 1
checkcast java.security.PrivateKey
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
8: goto 11
StackMap locals:
StackMap stack: java.security.InvalidKeyException
9: astore 2
start local 2 10: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 12 1 privateKey Ljava/security/Key;
2 7 2 supplied Ljava/lang/String;
3 7 3 needed Ljava/lang/String;
4 7 4 exArgs [Ljava/lang/Object;
10 11 2 ex Ljava/security/InvalidKeyException;
Exception table:
from to target type
7 8 9 Class java.security.InvalidKeyException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
privateKey
protected void engineUpdate(byte[]);
descriptor: ([B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 1
invokevirtual java.security.Signature.update:([B)V
1: goto 4
StackMap locals:
StackMap stack: java.security.SignatureException
2: astore 2
start local 2 3: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 5 1 input [B
3 4 2 ex Ljava/security/SignatureException;
Exception table:
from to target type
0 1 2 Class java.security.SignatureException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
input
protected void engineUpdate(byte);
descriptor: (B)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
iload 1
invokevirtual java.security.Signature.update:(B)V
1: goto 4
StackMap locals:
StackMap stack: java.security.SignatureException
2: astore 2
start local 2 3: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 2
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 5 1 input B
3 4 2 ex Ljava/security/SignatureException;
Exception table:
from to target type
0 1 2 Class java.security.SignatureException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
input
protected void engineUpdate(byte[], int, int);
descriptor: ([BII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
aload 1
iload 2
iload 3
invokevirtual java.security.Signature.update:([BII)V
1: goto 4
StackMap locals:
StackMap stack: java.security.SignatureException
2: astore 4
start local 4 3: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "empty"
aload 4
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 5 1 buf [B
0 5 2 offset I
0 5 3 len I
3 4 4 ex Ljava/security/SignatureException;
Exception table:
from to target type
0 1 2 Class java.security.SignatureException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
buf
offset
len
protected java.lang.String engineGetJCEAlgorithmString();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
invokevirtual java.security.Signature.getAlgorithm:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
protected java.lang.String engineGetJCEProviderName();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA._signatureAlgorithm:Ljava/security/Signature;
invokevirtual java.security.Signature.getProvider:()Ljava/security/Provider;
invokevirtual java.security.Provider.getName:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
protected void engineSetHMACOutputLength(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.HMACOutputLengthOnlyForHMAC"
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 1 1 HMACOutputLength I
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
HMACOutputLength
protected void engineInitSign(java.security.Key, java.security.spec.AlgorithmParameterSpec);
descriptor: (Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
1: ldc "algorithms.CannotUseAlgorithmParameterSpecOnRSA"
2: invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 3 1 signingKey Ljava/security/Key;
0 3 2 algorithmParameterSpec Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
signingKey
algorithmParameterSpec
}
SourceFile: "SignatureECDSA.java"
NestMembers:
com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA1
InnerClasses:
public SignatureECDSASHA1 = com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA1 of com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA