public abstract class com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac 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.IntegrityHmac
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 javax.crypto.Mac _macAlgorithm;
descriptor: Ljavax/crypto/Mac;
flags: (0x0002) ACC_PRIVATE
private boolean _HMACOutputLengthSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
int _HMACOutputLength;
descriptor: I
flags: (0x0000)
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/IntegrityHmac$IntegrityHmacSHA1;
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.IntegrityHmac.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
abstract int getDigestLength();
descriptor: ()I
flags: (0x0400) ACC_ABSTRACT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, 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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
2: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLengthSet:Z
3: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLength:I
4: aload 0
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.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 5: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.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 7
6: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Created IntegrityHmacSHA1 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
7: StackMap locals: com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac java.lang.String
StackMap stack:
aload 0
aload 1
invokestatic javax.crypto.Mac.getInstance:(Ljava/lang/String;)Ljavax/crypto/Mac;
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
8: goto 14
StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
9: astore 2
start local 2 10: iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
11: aload 2
invokevirtual java.security.NoSuchAlgorithmException.getLocalizedMessage:()Ljava/lang/String;
aastore
12: astore 3
start local 3 13: new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "algorithms.NoSuchAlgorithm"
aload 3
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 3 end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
5 15 1 algorithmID Ljava/lang/String;
10 14 2 ex Ljava/security/NoSuchAlgorithmException;
13 14 3 exArgs [Ljava/lang/Object;
Exception table:
from to target type
7 8 9 Class java.security.NoSuchAlgorithmException
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=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 "empty"
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/IntegrityHmac;
0 1 1 params Ljava/security/spec/AlgorithmParameterSpec;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
params
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLength:I
1: aload 0
iconst_0
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLengthSet:Z
2: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.reset:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
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 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLengthSet:Z
ifeq 6
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLength:I
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.getDigestLength:()I
if_icmpge 6
1: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.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
2: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
3: new java.lang.StringBuilder
dup
ldc "HMACOutputLength must not be less than "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.getDigestLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "errorMessages.XMLSignatureException"
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.doFinal:()[B
astore 2
start local 2 7: aload 2
aload 1
invokestatic com.sun.org.apache.xml.internal.security.algorithms.MessageDigestAlgorithm.isEqual:([B[B)Z
8: ireturn
end local 2 9: StackMap locals:
StackMap stack: java.lang.IllegalStateException
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 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
0 11 1 signature [B
7 9 2 completeResult [B
10 11 2 ex Ljava/lang/IllegalStateException;
Exception table:
from to target type
0 8 9 Class java.lang.IllegalStateException
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 javax.crypto.SecretKey
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 Ljavax/crypto/SecretKey;
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
aload 1
invokevirtual javax.crypto.Mac.init:(Ljava/security/Key;)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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
astore 3
start local 3 11: aload 0
12: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.getAlgorithm:()Ljava/lang/String;
13: invokestatic javax.crypto.Mac.getInstance:(Ljava/lang/String;)Ljavax/crypto/Mac;
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
14: goto 19
StackMap locals: com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac java.security.Key java.security.InvalidKeyException javax.crypto.Mac
StackMap stack: java.lang.Exception
15: astore 4
start local 4 16: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.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.IntegrityHmac.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
new java.lang.StringBuilder
dup
ldc "Exception when reinstantiating Mac:"
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
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/IntegrityHmac;
0 21 1 secretKey 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 mac Ljavax/crypto/Mac;
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
secretKey
protected byte[] engineSign();
descriptor: ()[B
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLengthSet:Z
ifeq 6
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLength:I
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.getDigestLength:()I
if_icmpge 6
1: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.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
2: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
3: new java.lang.StringBuilder
dup
ldc "HMACOutputLength must not be less than "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.getDigestLength:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
new com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
dup
ldc "errorMessages.XMLSignatureException"
invokespecial com.sun.org.apache.xml.internal.security.signature.XMLSignatureException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.doFinal:()[B
7: areturn
8: StackMap locals:
StackMap stack: java.lang.IllegalStateException
astore 1
start local 1 9: 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 10 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
9 10 1 ex Ljava/lang/IllegalStateException;
Exception table:
from to target type
0 7 8 Class java.lang.IllegalStateException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
private static byte[] reduceBitLength(byte[], int);
descriptor: ([BI)[B
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iload 1
bipush 8
idiv
istore 2
start local 2 1: iload 1
bipush 8
irem
istore 3
start local 3 2: iload 2
iload 3
ifne 4
3: iconst_0
goto 5
4: StackMap locals: byte[] int int int
StackMap stack: int
iconst_1
5: StackMap locals: byte[] int int int
StackMap stack: int int
iadd
newarray 8
astore 4
start local 4 6: aload 0
iconst_0
aload 4
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: iload 3
ifle 12
8: bipush 8
newarray 8
dup
iconst_1
bipush -128
bastore
dup
iconst_2
bipush -64
bastore
dup
iconst_3
bipush -32
bastore
dup
iconst_4
9: bipush -16
bastore
dup
iconst_5
bipush -8
bastore
dup
bipush 6
bipush -4
bastore
dup
bipush 7
bipush -2
bastore
10: astore 5
start local 5 11: aload 4
iload 2
aload 0
iload 2
baload
aload 5
iload 3
baload
iand
i2b
bastore
end local 5 12: StackMap locals: byte[]
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 completeResult [B
0 13 1 length I
1 13 2 bytes I
2 13 3 abits I
6 13 4 strippedResult [B
11 12 5 MASK [B
MethodParameters:
Name Flags
completeResult
length
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 javax.crypto.SecretKey
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 Ljavax/crypto/SecretKey;
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
aload 1
invokevirtual javax.crypto.Mac.init:(Ljava/security/Key;)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/IntegrityHmac;
0 12 1 secretKey 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
secretKey
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=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof javax.crypto.SecretKey
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 Ljavax/crypto/SecretKey;
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
aload 1
aload 2
invokevirtual javax.crypto.Mac.init:(Ljava/security/Key;Ljava/security/spec/AlgorithmParameterSpec;)V
8: goto 13
StackMap locals:
StackMap stack: java.security.InvalidKeyException
9: astore 3
start local 3 10: 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 11: StackMap locals:
StackMap stack: java.security.InvalidAlgorithmParameterException
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/IntegrityHmac;
0 14 1 secretKey Ljava/security/Key;
0 14 2 algorithmParameterSpec Ljava/security/spec/AlgorithmParameterSpec;
2 7 3 supplied Ljava/lang/String;
3 7 4 needed Ljava/lang/String;
4 7 5 exArgs [Ljava/lang/Object;
10 11 3 ex Ljava/security/InvalidKeyException;
12 13 3 ex Ljava/security/InvalidAlgorithmParameterException;
Exception table:
from to target type
7 8 9 Class java.security.InvalidKeyException
7 8 11 Class java.security.InvalidAlgorithmParameterException
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
secretKey
algorithmParameterSpec
protected void engineInitSign(java.security.Key, java.security.SecureRandom);
descriptor: (Ljava/security/Key;Ljava/security/SecureRandom;)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.CannotUseSecureRandomOnMAC"
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/IntegrityHmac;
0 1 1 secretKey Ljava/security/Key;
0 1 2 secureRandom Ljava/security/SecureRandom;
Exceptions:
throws com.sun.org.apache.xml.internal.security.signature.XMLSignatureException
MethodParameters:
Name Flags
secretKey
secureRandom
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
aload 1
invokevirtual javax.crypto.Mac.update:([B)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.IllegalStateException
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/IntegrityHmac;
0 5 1 input [B
3 4 2 ex Ljava/lang/IllegalStateException;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
iload 1
invokevirtual javax.crypto.Mac.update:(B)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.IllegalStateException
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/IntegrityHmac;
0 5 1 input B
3 4 2 ex Ljava/lang/IllegalStateException;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
aload 1
iload 2
iload 3
invokevirtual javax.crypto.Mac.update:([BII)V
1: goto 4
StackMap locals:
StackMap stack: java.lang.IllegalStateException
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/IntegrityHmac;
0 5 1 buf [B
0 5 2 offset I
0 5 3 len I
3 4 4 ex Ljava/lang/IllegalStateException;
Exception table:
from to target type
0 1 2 Class java.lang.IllegalStateException
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=3, locals=1, args_size=1
start local 0 0: getstatic com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac.log:Ljava/util/logging/Logger;
getstatic java.util.logging.Level.FINE:Ljava/util/logging/Level;
ldc "engineGetJCEAlgorithmString()"
invokevirtual java.util.logging.Logger.log:(Ljava/util/logging/Level;Ljava/lang/String;)V
1: aload 0
getfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.getAlgorithm:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
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.IntegrityHmac._macAlgorithm:Ljavax/crypto/Mac;
invokevirtual javax.crypto.Mac.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/IntegrityHmac;
protected void engineSetHMACOutputLength(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLength:I
1: aload 0
iconst_1
putfield com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac._HMACOutputLengthSet:Z
2: return
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/IntegrityHmac;
0 3 1 HMACOutputLength I
MethodParameters:
Name Flags
HMACOutputLength
protected void engineGetContextFromElement(Element);
descriptor: (LElement;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tElement cannot be resolved to a type\n\tText cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
MethodParameters:
Name Flags
element
public void engineAddContextToElement(Element);
descriptor: (LElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tElement cannot be resolved to a type\n\tDocument cannot be resolved to a type\n\tElement cannot be resolved to a type\n\tText cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/xml/internal/security/algorithms/implementations/IntegrityHmac;
MethodParameters:
Name Flags
element
}
SourceFile: "IntegrityHmac.java"
NestMembers:
com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacMD5 com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacRIPEMD160 com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA1 com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA256 com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA384 com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA512
InnerClasses:
public IntegrityHmacMD5 = com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacMD5 of com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac
public IntegrityHmacRIPEMD160 = com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacRIPEMD160 of com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac
public IntegrityHmacSHA1 = com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA1 of com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac
public IntegrityHmacSHA256 = com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA256 of com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac
public IntegrityHmacSHA384 = com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA384 of com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac
public IntegrityHmacSHA512 = com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac$IntegrityHmacSHA512 of com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac