public class sun.security.krb5.Checksum
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.krb5.Checksum
super_class: java.lang.Object
{
private int cksumType;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private byte[] checksum;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public static final int CKSUMTYPE_NULL;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CKSUMTYPE_CRC32;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int CKSUMTYPE_RSA_MD4;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int CKSUMTYPE_RSA_MD4_DES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int CKSUMTYPE_DES_MAC;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int CKSUMTYPE_DES_MAC_K;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int CKSUMTYPE_RSA_MD4_DES_K;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 6
public static final int CKSUMTYPE_RSA_MD5;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 7
public static final int CKSUMTYPE_RSA_MD5_DES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int CKSUMTYPE_HMAC_SHA1_DES3_KD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 12
public static final int CKSUMTYPE_HMAC_SHA1_96_AES128;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 15
public static final int CKSUMTYPE_HMAC_SHA1_96_AES256;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int CKSUMTYPE_HMAC_MD5_ARCFOUR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: -138
static int CKSUMTYPE_DEFAULT;
descriptor: I
flags: (0x0008) ACC_STATIC
static int SAFECKSUMTYPE_DEFAULT;
descriptor: I
flags: (0x0008) ACC_STATIC
private static boolean DEBUG;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic sun.security.krb5.internal.Krb5.DEBUG:Z
putstatic sun.security.krb5.Checksum.DEBUG:Z
1: invokestatic sun.security.krb5.Checksum.initStatic:()V
2: return
LocalVariableTable:
Start End Slot Name Signature
public static void initStatic();
descriptor: ()V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=0
0: aconst_null
astore 0
start local 0 1: aconst_null
astore 1
start local 1 2: invokestatic sun.security.krb5.Config.getInstance:()Lsun/security/krb5/Config;
astore 1
3: aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "libdefaults"
aastore
dup
iconst_1
ldc "default_checksum"
aastore
invokevirtual sun.security.krb5.Config.get:([Ljava/lang/String;)Ljava/lang/String;
astore 0
4: aload 0
ifnull 7
5: aload 0
invokestatic sun.security.krb5.Config.getType:(Ljava/lang/String;)I
putstatic sun.security.krb5.Checksum.CKSUMTYPE_DEFAULT:I
6: goto 14
7: StackMap locals: java.lang.String sun.security.krb5.Config
StackMap stack:
iconst_m1
putstatic sun.security.krb5.Checksum.CKSUMTYPE_DEFAULT:I
8: goto 14
StackMap locals:
StackMap stack: java.lang.Exception
9: astore 2
start local 2 10: getstatic sun.security.krb5.Checksum.DEBUG:Z
ifeq 13
11: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Exception in getting default checksum value from the configuration. No default checksum set."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
12: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
13: StackMap locals: java.lang.Exception
StackMap stack:
iconst_m1
putstatic sun.security.krb5.Checksum.CKSUMTYPE_DEFAULT:I
end local 2 14: StackMap locals:
StackMap stack:
aload 1
iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "libdefaults"
aastore
dup
iconst_1
ldc "safe_checksum_type"
aastore
invokevirtual sun.security.krb5.Config.get:([Ljava/lang/String;)Ljava/lang/String;
astore 0
15: aload 0
ifnull 18
16: aload 0
invokestatic sun.security.krb5.Config.getType:(Ljava/lang/String;)I
putstatic sun.security.krb5.Checksum.SAFECKSUMTYPE_DEFAULT:I
17: goto 25
18: StackMap locals:
StackMap stack:
iconst_m1
putstatic sun.security.krb5.Checksum.SAFECKSUMTYPE_DEFAULT:I
19: goto 25
StackMap locals:
StackMap stack: java.lang.Exception
20: astore 2
start local 2 21: getstatic sun.security.krb5.Checksum.DEBUG:Z
ifeq 24
22: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Exception in getting safe default checksum value from the configuration Setting. No safe default checksum set."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
23: aload 2
invokevirtual java.lang.Exception.printStackTrace:()V
24: StackMap locals: java.lang.Exception
StackMap stack:
iconst_m1
putstatic sun.security.krb5.Checksum.SAFECKSUMTYPE_DEFAULT:I
end local 2 25: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
1 26 0 temp Ljava/lang/String;
2 26 1 cfg Lsun/security/krb5/Config;
10 14 2 exc Ljava/lang/Exception;
21 25 2 exc Ljava/lang/Exception;
Exception table:
from to target type
2 8 9 Class java.lang.Exception
14 19 20 Class java.lang.Exception
public void <init>(byte[], int);
descriptor: ([BI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 2
putfield sun.security.krb5.Checksum.cksumType:I
2: aload 0
aload 1
putfield sun.security.krb5.Checksum.checksum:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/krb5/Checksum;
0 4 1 data [B
0 4 2 new_cksumType I
MethodParameters:
Name Flags
data
new_cksumType
public void <init>(int, byte[], sun.security.krb5.EncryptionKey, int);
descriptor: (I[BLsun/security/krb5/EncryptionKey;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
iconst_m1
if_icmpne 4
2: aload 0
aload 3
invokevirtual sun.security.krb5.EncryptionKey.getEType:()I
invokestatic sun.security.krb5.internal.crypto.EType.getInstance:(I)Lsun/security/krb5/internal/crypto/EType;
invokevirtual sun.security.krb5.internal.crypto.EType.checksumType:()I
putfield sun.security.krb5.Checksum.cksumType:I
3: goto 5
4: StackMap locals: sun.security.krb5.Checksum int byte[] sun.security.krb5.EncryptionKey int
StackMap stack:
aload 0
iload 1
putfield sun.security.krb5.Checksum.cksumType:I
5: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.security.krb5.Checksum.cksumType:I
invokestatic sun.security.krb5.internal.crypto.CksumType.getInstance:(I)Lsun/security/krb5/internal/crypto/CksumType;
6: aload 2
aload 2
arraylength
aload 3
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
iload 4
7: invokevirtual sun.security.krb5.internal.crypto.CksumType.calculateChecksum:([BI[BI)[B
putfield sun.security.krb5.Checksum.checksum:[B
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/krb5/Checksum;
0 9 1 new_cksumType I
0 9 2 data [B
0 9 3 key Lsun/security/krb5/EncryptionKey;
0 9 4 usage I
Exceptions:
throws sun.security.krb5.internal.KdcErrException, sun.security.krb5.internal.KrbApErrException, sun.security.krb5.KrbCryptoException
MethodParameters:
Name Flags
new_cksumType
data
key
usage
public boolean verifyKeyedChecksum(byte[], sun.security.krb5.EncryptionKey, int);
descriptor: ([BLsun/security/krb5/EncryptionKey;I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield sun.security.krb5.Checksum.cksumType:I
invokestatic sun.security.krb5.internal.crypto.CksumType.getInstance:(I)Lsun/security/krb5/internal/crypto/CksumType;
astore 4
start local 4 1: aload 4
invokevirtual sun.security.krb5.internal.crypto.CksumType.isKeyed:()Z
ifne 3
2: new sun.security.krb5.internal.KrbApErrException
dup
bipush 50
invokespecial sun.security.krb5.internal.KrbApErrException.<init>:(I)V
athrow
3: StackMap locals: sun.security.krb5.internal.crypto.CksumType
StackMap stack:
aload 4
4: aload 1
aload 1
arraylength
aload 2
invokevirtual sun.security.krb5.EncryptionKey.getBytes:()[B
aload 0
getfield sun.security.krb5.Checksum.checksum:[B
iload 3
5: invokevirtual sun.security.krb5.internal.crypto.CksumType.verifyChecksum:([BI[B[BI)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/krb5/Checksum;
0 6 1 data [B
0 6 2 key Lsun/security/krb5/EncryptionKey;
0 6 3 usage I
1 6 4 cksumEngine Lsun/security/krb5/internal/crypto/CksumType;
Exceptions:
throws sun.security.krb5.internal.KdcErrException, sun.security.krb5.internal.KrbApErrException, sun.security.krb5.KrbCryptoException
MethodParameters:
Name Flags
data
key
usage
boolean isEqual(sun.security.krb5.Checksum);
descriptor: (Lsun/security/krb5/Checksum;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.krb5.Checksum.cksumType:I
aload 1
getfield sun.security.krb5.Checksum.cksumType:I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.krb5.Checksum.checksum:[B
aload 1
getfield sun.security.krb5.Checksum.checksum:[B
invokestatic sun.security.krb5.internal.crypto.CksumType.isChecksumEqual:([B[B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/krb5/Checksum;
0 3 1 cksum Lsun/security/krb5/Checksum;
Exceptions:
throws sun.security.krb5.internal.KdcErrException
MethodParameters:
Name Flags
cksum
private void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokevirtual sun.security.util.DerValue.getTag:()B
bipush 48
if_icmpeq 3
2: new sun.security.krb5.Asn1Exception
dup
sipush 906
invokespecial sun.security.krb5.Asn1Exception.<init>:(I)V
athrow
3: StackMap locals: sun.security.krb5.Checksum sun.security.util.DerValue
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 2
start local 2 4: aload 2
invokevirtual sun.security.util.DerValue.getTag:()B
bipush 31
iand
ifne 7
5: aload 0
aload 2
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getBigInteger:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.intValue:()I
putfield sun.security.krb5.Checksum.cksumType:I
6: goto 8
7: StackMap locals: sun.security.util.DerValue
StackMap stack:
new sun.security.krb5.Asn1Exception
dup
sipush 906
invokespecial sun.security.krb5.Asn1Exception.<init>:(I)V
athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 2
9: aload 2
invokevirtual sun.security.util.DerValue.getTag:()B
bipush 31
iand
iconst_1
if_icmpne 12
10: aload 0
aload 2
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield sun.security.krb5.Checksum.checksum:[B
11: goto 13
12: StackMap locals:
StackMap stack:
new sun.security.krb5.Asn1Exception
dup
sipush 906
invokespecial sun.security.krb5.Asn1Exception.<init>:(I)V
athrow
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifle 15
14: new sun.security.krb5.Asn1Exception
dup
sipush 906
invokespecial sun.security.krb5.Asn1Exception.<init>:(I)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/krb5/Checksum;
0 16 1 encoding Lsun/security/util/DerValue;
4 16 2 der Lsun/security/util/DerValue;
Exceptions:
throws sun.security.krb5.Asn1Exception, java.io.IOException
MethodParameters:
Name Flags
encoding
public byte[] asn1Encode();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 2: aload 2
aload 0
getfield sun.security.krb5.Checksum.cksumType:I
i2l
invokestatic java.math.BigInteger.valueOf:(J)Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
3: aload 1
bipush -128
4: iconst_1
iconst_0
5: invokestatic sun.security.util.DerValue.createTag:(BZB)B
6: aload 2
7: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
8: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
9: aload 2
aload 0
getfield sun.security.krb5.Checksum.checksum:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
10: aload 1
bipush -128
11: iconst_1
iconst_1
12: invokestatic sun.security.util.DerValue.createTag:(BZB)B
13: aload 2
14: invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
15: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
16: aload 2
bipush 48
aload 1
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
17: aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/security/krb5/Checksum;
1 18 1 bytes Lsun/security/util/DerOutputStream;
2 18 2 temp Lsun/security/util/DerOutputStream;
Exceptions:
throws sun.security.krb5.Asn1Exception, java.io.IOException
public static sun.security.krb5.Checksum parse(sun.security.util.DerInputStream, byte, boolean);
descriptor: (Lsun/security/util/DerInputStream;BZ)Lsun/security/krb5/Checksum;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iload 2
ifeq 3
1: aload 0
invokevirtual sun.security.util.DerInputStream.peekByte:()I
i2b
bipush 31
iand
iload 1
if_icmpeq 3
2: aconst_null
areturn
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 3
start local 3 4: iload 1
aload 3
invokevirtual sun.security.util.DerValue.getTag:()B
bipush 31
iand
if_icmpeq 6
5: new sun.security.krb5.Asn1Exception
dup
sipush 906
invokespecial sun.security.krb5.Asn1Exception.<init>:(I)V
athrow
6: StackMap locals: sun.security.util.DerValue
StackMap stack:
aload 3
invokevirtual sun.security.util.DerValue.getData:()Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
start local 4 7: new sun.security.krb5.Checksum
dup
aload 4
invokespecial sun.security.krb5.Checksum.<init>:(Lsun/security/util/DerValue;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 data Lsun/security/util/DerInputStream;
0 8 1 explicitTag B
0 8 2 optional Z
4 8 3 der Lsun/security/util/DerValue;
7 8 4 subDer Lsun/security/util/DerValue;
Exceptions:
throws sun.security.krb5.Asn1Exception, java.io.IOException
MethodParameters:
Name Flags
data
explicitTag
optional
public final byte[] getBytes();
descriptor: ()[B
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.Checksum.checksum:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/krb5/Checksum;
public final int getType();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.krb5.Checksum.cksumType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/krb5/Checksum;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.security.krb5.Checksum
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast sun.security.krb5.Checksum
invokevirtual sun.security.krb5.Checksum.isEqual:(Lsun/security/krb5/Checksum;)Z
5: ireturn
6: StackMap locals:
StackMap stack: sun.security.krb5.internal.KdcErrException
pop
7: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/krb5/Checksum;
0 8 1 obj Ljava/lang/Object;
Exception table:
from to target type
4 5 6 Class sun.security.krb5.internal.KdcErrException
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: bipush 37
iload 1
imul
aload 0
getfield sun.security.krb5.Checksum.cksumType:I
iadd
istore 1
2: aload 0
getfield sun.security.krb5.Checksum.checksum:[B
ifnull 4
3: bipush 37
iload 1
imul
aload 0
getfield sun.security.krb5.Checksum.checksum:[B
invokestatic java.util.Arrays.hashCode:([B)I
iadd
istore 1
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/krb5/Checksum;
1 5 1 result I
}
SourceFile: "Checksum.java"