public class sun.security.x509.KeyIdentifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.KeyIdentifier
super_class: java.lang.Object
{
private byte[] octetString;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield sun.security.x509.KeyIdentifier.octetString:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/KeyIdentifier;
0 3 1 octetString [B
MethodParameters:
Name Flags
octetString
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield sun.security.x509.KeyIdentifier.octetString:[B
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/KeyIdentifier;
0 3 1 val Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
val
public void <init>(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: new sun.security.util.DerValue
dup
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 2: aload 2
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 4
3: new java.io.IOException
dup
ldc "PublicKey value is not a valid X.509 public key"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: sun.security.x509.KeyIdentifier java.security.PublicKey sun.security.util.DerValue
StackMap stack:
aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
pop
5: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getUnalignedBitString:()Lsun/security/util/BitArray;
invokevirtual sun.security.util.BitArray.toByteArray:()[B
astore 3
start local 3 6: aconst_null
astore 4
start local 4 7: ldc "SHA1"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 4
8: goto 11
StackMap locals: sun.security.x509.KeyIdentifier java.security.PublicKey sun.security.util.DerValue byte[] java.security.MessageDigest
StackMap stack: java.security.NoSuchAlgorithmException
9: pop
10: new java.io.IOException
dup
ldc "SHA1 not supported"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 4
aload 3
invokevirtual java.security.MessageDigest.update:([B)V
12: aload 0
aload 4
invokevirtual java.security.MessageDigest.digest:()[B
putfield sun.security.x509.KeyIdentifier.octetString:[B
13: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/x509/KeyIdentifier;
0 14 1 pubKey Ljava/security/PublicKey;
2 14 2 algAndKey Lsun/security/util/DerValue;
6 14 3 key [B
7 14 4 md Ljava/security/MessageDigest;
Exception table:
from to target type
7 8 9 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
pubKey
public byte[] getIdentifier();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.KeyIdentifier.octetString:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/KeyIdentifier;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: ldc "KeyIdentifier [\n"
astore 1
start local 1 1: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 2
start local 2 2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
aload 0
getfield sun.security.x509.KeyIdentifier.octetString:[B
invokevirtual sun.misc.HexDumpEncoder.encodeBuffer:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/KeyIdentifier;
1 5 1 s Ljava/lang/String;
2 5 2 encoder Lsun/misc/HexDumpEncoder;
void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.security.x509.KeyIdentifier.octetString:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/x509/KeyIdentifier;
0 2 1 out Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
aload 0
getfield sun.security.x509.KeyIdentifier.octetString:[B
iload 2
baload
iload 2
imul
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield sun.security.x509.KeyIdentifier.octetString:[B
arraylength
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/KeyIdentifier;
1 7 1 retval I
2 6 2 i I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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.x509.KeyIdentifier
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.x509.KeyIdentifier
getfield sun.security.x509.KeyIdentifier.octetString:[B
astore 2
start local 2 5: aload 0
getfield sun.security.x509.KeyIdentifier.octetString:[B
aload 2
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/KeyIdentifier;
0 6 1 other Ljava/lang/Object;
5 6 2 otherString [B
MethodParameters:
Name Flags
other
}
SourceFile: "KeyIdentifier.java"