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
{
private static java.util.logging.Logger log;
descriptor: Ljava/util/logging/Logger;
flags: (0x000a) ACC_PRIVATE, 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
public static byte[] convertASN1toXMLDSIG(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=1
start local 0 0: aload 0
arraylength
bipush 8
if_icmplt 1
aload 0
iconst_0
baload
bipush 48
if_icmpeq 2
1: 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
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
baload
ifle 5
3: iconst_2
istore 1
start local 1 4: goto 9
end local 1 StackMap locals:
StackMap stack:
5: aload 0
iconst_1
baload
bipush -127
if_icmpne 8
6: iconst_3
istore 1
start local 1 7: goto 9
end local 1 8: 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
start local 1 9: StackMap locals: int
StackMap stack:
aload 0
iload 1
iconst_1
iadd
baload
istore 2
start local 2 10: iload 2
istore 3
start local 3 11: goto 13
StackMap locals: int int
StackMap stack:
12: iinc 3 -1
StackMap locals:
StackMap stack:
13: iload 3
ifle 14
aload 0
iload 1
iconst_2
iadd
iload 2
iadd
iload 3
isub
baload
ifeq 12
14: StackMap locals:
StackMap stack:
aload 0
iload 1
iconst_2
iadd
iload 2
iadd
iconst_1
iadd
baload
istore 4
start local 4 15: iload 4
istore 5
start local 5 16: goto 18
StackMap locals: int int
StackMap stack:
17: iinc 5 -1
StackMap locals:
StackMap stack:
18: iload 5
ifle 19
aload 0
iload 1
iconst_2
iadd
iload 2
iadd
iconst_2
iadd
iload 4
iadd
iload 5
isub
baload
ifeq 17
19: StackMap locals:
StackMap stack:
iload 3
iload 5
invokestatic java.lang.Math.max:(II)I
istore 6
start local 6 20: aload 0
iload 1
iconst_1
isub
baload
sipush 255
iand
aload 0
arraylength
iload 1
isub
if_icmpne 24
21: aload 0
iload 1
iconst_1
isub
baload
sipush 255
iand
iconst_2
iload 2
iadd
iconst_2
iadd
iload 4
iadd
if_icmpne 24
22: aload 0
iload 1
baload
iconst_2
if_icmpne 24
23: aload 0
iload 1
iconst_2
iadd
iload 2
iadd
baload
iconst_2
if_icmpeq 25
24: StackMap locals: int
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
25: StackMap locals:
StackMap stack:
iconst_2
iload 6
imul
newarray 8
astore 7
start local 7 26: aload 0
iload 1
iconst_2
iadd
iload 2
iadd
iload 3
isub
aload 7
iload 6
iload 3
isub
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
27: aload 0
iload 1
iconst_2
iadd
iload 2
iadd
iconst_2
iadd
iload 4
iadd
iload 5
isub
aload 7
28: iconst_2
iload 6
imul
iload 5
isub
iload 5
29: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
30: aload 7
areturn
end local 7 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 31 0 asn1Bytes [B
4 5 1 offset I
7 8 1 offset I
9 31 1 offset I
10 31 2 rLength B
11 31 3 i I
15 31 4 sLength B
16 31 5 j I
20 31 6 rawLen I
26 31 7 xmldsigBytes [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
asn1Bytes
public static byte[] convertXMLDSIGtoASN1(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=1
start local 0 0: aload 0
arraylength
iconst_2
idiv
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
iload 1
iload 2
isub
baload
ifeq 3
5: StackMap locals:
StackMap stack:
iload 2
istore 3
start local 3 6: aload 0
iload 1
iload 2
isub
baload
ifge 8
7: iinc 3 1
8: StackMap locals: int
StackMap stack:
iload 1
istore 4
start local 4 9: goto 11
StackMap locals: int
StackMap stack:
10: iinc 4 -1
StackMap locals:
StackMap stack:
11: iload 4
ifle 12
aload 0
iconst_2
iload 1
imul
iload 4
isub
baload
ifeq 10
12: StackMap locals:
StackMap stack:
iload 4
istore 5
start local 5 13: aload 0
iconst_2
iload 1
imul
iload 4
isub
baload
ifge 15
14: iinc 5 1
15: StackMap locals: int
StackMap stack:
iconst_2
iload 3
iadd
iconst_2
iadd
iload 5
iadd
istore 6
start local 6 16: iload 6
sipush 255
if_icmple 18
17: new java.io.IOException
dup
ldc "Invalid XMLDSIG format of ECDSA signature"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals: int
StackMap stack:
iload 6
sipush 128
if_icmpge 22
19: iconst_4
iload 3
iadd
iconst_2
iadd
iload 5
iadd
newarray 8
astore 8
start local 8 20: iconst_1
istore 7
start local 7 21: goto 25
end local 8 end local 7 22: StackMap locals:
StackMap stack:
iconst_5
iload 3
iadd
iconst_2
iadd
iload 5
iadd
newarray 8
astore 8
start local 8 23: aload 8
iconst_1
bipush -127
bastore
24: iconst_2
istore 7
start local 7 25: StackMap locals: int byte[]
StackMap stack:
aload 8
iconst_0
bipush 48
bastore
26: aload 8
iload 7
iinc 7 1
iload 6
i2b
bastore
27: aload 8
iload 7
iinc 7 1
iconst_2
bastore
28: aload 8
iload 7
iinc 7 1
iload 3
i2b
bastore
29: aload 0
iload 1
iload 2
isub
aload 8
iload 7
iload 3
iadd
iload 2
isub
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
30: iload 7
iload 3
iadd
istore 7
31: aload 8
iload 7
iinc 7 1
iconst_2
bastore
32: aload 8
iload 7
iinc 7 1
iload 5
i2b
bastore
33: aload 0
iconst_2
iload 1
imul
iload 4
isub
aload 8
iload 7
iload 5
iadd
iload 4
isub
iload 4
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
34: aload 8
areturn
end local 8 end local 7 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 35 0 xmldsigBytes [B
1 35 1 rawLen I
2 35 2 i I
6 35 3 j I
9 35 4 k I
13 35 5 l I
16 35 6 len I
21 22 7 offset I
25 35 7 offset I
20 22 8 asn1Bytes [B
23 35 8 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 17
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 17
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
aload 3
invokevirtual java.security.NoSuchAlgorithmException.getLocalizedMessage:()Ljava/lang/String;
aastore
astore 4
start local 4 13: 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 14: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 3
start local 3 15: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 3
invokevirtual java.security.NoSuchProviderException.getLocalizedMessage:()Ljava/lang/String;
aastore
astore 4
start local 4 16: 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 17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
3 18 1 algorithmID Ljava/lang/String;
6 18 2 provider Ljava/lang/String;
12 14 3 ex Ljava/security/NoSuchAlgorithmException;
13 14 4 exArgs [Ljava/lang/Object;
15 17 3 ex Ljava/security/NoSuchProviderException;
16 17 4 exArgs [Ljava/lang/Object;
Exception table:
from to target type
6 10 11 Class java.security.NoSuchAlgorithmException
6 10 14 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 5
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"
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 end local 2 5: 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
6: goto 16
StackMap locals:
StackMap stack: java.security.InvalidKeyException
7: astore 2
start local 2 8: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA.signatureAlgorithm:Ljava/security/Signature;
astore 3
start local 3 9: aload 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;
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;
10: goto 15
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
11: astore 4
start local 4 12: 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 14
13: 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
14: 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 15: 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 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 17 1 publicKey Ljava/security/Key;
2 5 2 supplied Ljava/lang/String;
3 5 3 needed Ljava/lang/String;
4 5 4 exArgs [Ljava/lang/Object;
8 16 2 ex Ljava/security/InvalidKeyException;
9 16 3 sig Ljava/security/Signature;
12 15 4 e Ljava/lang/Exception;
Exception table:
from to target type
5 6 7 Class java.security.InvalidKeyException
9 10 11 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 5
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"
aload 5
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 5: 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
aload 2
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
6: goto 9
StackMap locals:
StackMap stack: java.security.InvalidKeyException
7: astore 3
start local 3 8: 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 9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 10 1 privateKey Ljava/security/Key;
0 10 2 secureRandom Ljava/security/SecureRandom;
2 5 3 supplied Ljava/lang/String;
3 5 4 needed Ljava/lang/String;
4 5 5 exArgs [Ljava/lang/Object;
8 9 3 ex Ljava/security/InvalidKeyException;
Exception table:
from to target type
5 6 7 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 5
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"
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 end local 2 5: 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
6: goto 9
StackMap locals:
StackMap stack: java.security.InvalidKeyException
7: 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 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 10 1 privateKey Ljava/security/Key;
2 5 2 supplied Ljava/lang/String;
3 5 3 needed Ljava/lang/String;
4 5 4 exArgs [Ljava/lang/Object;
8 9 2 ex Ljava/security/InvalidKeyException;
Exception table:
from to target type
5 6 7 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
ldc "algorithms.CannotUseAlgorithmParameterSpecOnRSA"
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 1 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/SignatureECDSA;
0 1 1 signingKey Ljava/security/Key;
0 1 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 com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA256 com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA384 com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA512
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
public SignatureECDSASHA256 = com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA256 of com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA
public SignatureECDSASHA384 = com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA384 of com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA
public SignatureECDSASHA512 = com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA$SignatureECDSASHA512 of com.sun.org.apache.xml.internal.security.algorithms.implementations.SignatureECDSA