public class sun.security.provider.certpath.CertId
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.provider.certpath.CertId
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final sun.security.x509.AlgorithmId SHA1_ALGID;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final sun.security.x509.AlgorithmId hashAlgId;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] issuerNameHash;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] issuerKeyHash;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final sun.security.x509.SerialNumber certSerialNumber;
descriptor: Lsun/security/x509/SerialNumber;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int myhash;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.security.x509.AlgorithmId
dup
getstatic sun.security.x509.AlgorithmId.SHA_oid:Lsun/security/util/ObjectIdentifier;
invokespecial sun.security.x509.AlgorithmId.<init>:(Lsun/security/util/ObjectIdentifier;)V
1: putstatic sun.security.provider.certpath.CertId.SHA1_ALGID:Lsun/security/x509/AlgorithmId;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.security.cert.X509Certificate, sun.security.x509.SerialNumber);
descriptor: (Ljava/security/cert/X509Certificate;Lsun/security/x509/SerialNumber;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield sun.security.provider.certpath.CertId.myhash:I
2: aconst_null
astore 3
start local 3 3: ldc "SHA1"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 3
4: goto 7
StackMap locals: sun.security.provider.certpath.CertId java.security.cert.X509Certificate sun.security.x509.SerialNumber java.security.MessageDigest
StackMap stack: java.security.NoSuchAlgorithmException
5: astore 4
start local 4 6: new java.io.IOException
dup
ldc "Unable to create CertId"
aload 4
invokespecial java.io.IOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 7: StackMap locals:
StackMap stack:
aload 0
getstatic sun.security.provider.certpath.CertId.SHA1_ALGID:Lsun/security/x509/AlgorithmId;
putfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
8: aload 3
aload 1
invokevirtual java.security.cert.X509Certificate.getSubjectX500Principal:()Ljavax/security/auth/x500/X500Principal;
invokevirtual javax.security.auth.x500.X500Principal.getEncoded:()[B
invokevirtual java.security.MessageDigest.update:([B)V
9: aload 0
aload 3
invokevirtual java.security.MessageDigest.digest:()[B
putfield sun.security.provider.certpath.CertId.issuerNameHash:[B
10: aload 1
invokevirtual java.security.cert.X509Certificate.getPublicKey:()Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getEncoded:()[B
astore 4
start local 4 11: new sun.security.util.DerValue
dup
aload 4
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 5
start local 5 12: iconst_2
anewarray sun.security.util.DerValue
astore 6
start local 6 13: aload 6
iconst_0
aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
14: aload 6
iconst_1
aload 5
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
15: aload 6
iconst_1
aaload
invokevirtual sun.security.util.DerValue.getBitString:()[B
astore 7
start local 7 16: aload 3
aload 7
invokevirtual java.security.MessageDigest.update:([B)V
17: aload 0
aload 3
invokevirtual java.security.MessageDigest.digest:()[B
putfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
18: aload 0
aload 2
putfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
19: return
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 20 0 this Lsun/security/provider/certpath/CertId;
0 20 1 issuerCert Ljava/security/cert/X509Certificate;
0 20 2 serialNumber Lsun/security/x509/SerialNumber;
3 20 3 md Ljava/security/MessageDigest;
6 7 4 nsae Ljava/security/NoSuchAlgorithmException;
11 20 4 pubKey [B
12 20 5 val Lsun/security/util/DerValue;
13 20 6 seq [Lsun/security/util/DerValue;
16 20 7 keyBytes [B
Exception table:
from to target type
3 4 5 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
issuerCert
serialNumber
public void <init>(sun.security.util.DerInputStream);
descriptor: (Lsun/security/util/DerInputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield sun.security.provider.certpath.CertId.myhash:I
2: aload 0
aload 1
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
putfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
3: aload 0
aload 1
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield sun.security.provider.certpath.CertId.issuerNameHash:[B
4: aload 0
aload 1
invokevirtual sun.security.util.DerInputStream.getOctetString:()[B
putfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
5: aload 0
new sun.security.x509.SerialNumber
dup
aload 1
invokespecial sun.security.x509.SerialNumber.<init>:(Lsun/security/util/DerInputStream;)V
putfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/certpath/CertId;
0 7 1 derIn Lsun/security/util/DerInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derIn
public sun.security.x509.AlgorithmId getHashAlgorithm();
descriptor: ()Lsun/security/x509/AlgorithmId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/CertId;
public byte[] getIssuerNameHash();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.CertId.issuerNameHash:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/CertId;
public byte[] getIssuerKeyHash();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/CertId;
public java.math.BigInteger getSerialNumber();
descriptor: ()Ljava/math/BigInteger;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
invokevirtual sun.security.x509.SerialNumber.getNumber:()Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/CertId;
public void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
aload 2
invokevirtual sun.security.x509.AlgorithmId.encode:(Lsun/security/util/DerOutputStream;)V
2: aload 2
aload 0
getfield sun.security.provider.certpath.CertId.issuerNameHash:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
3: aload 2
aload 0
getfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
4: aload 0
getfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
aload 2
invokevirtual sun.security.x509.SerialNumber.encode:(Lsun/security/util/DerOutputStream;)V
5: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/certpath/CertId;
0 7 1 out Lsun/security/util/DerOutputStream;
1 7 2 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.CertId.myhash:I
iconst_m1
if_icmpne 13
1: aload 0
aload 0
getfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.hashCode:()I
putfield sun.security.provider.certpath.CertId.myhash:I
2: iconst_0
istore 1
start local 1 3: goto 6
4: StackMap locals: int
StackMap stack:
aload 0
dup
getfield sun.security.provider.certpath.CertId.myhash:I
aload 0
getfield sun.security.provider.certpath.CertId.issuerNameHash:[B
iload 1
baload
iload 1
imul
iadd
putfield sun.security.provider.certpath.CertId.myhash:I
5: iinc 1 1
StackMap locals:
StackMap stack:
6: iload 1
aload 0
getfield sun.security.provider.certpath.CertId.issuerNameHash:[B
arraylength
if_icmplt 4
end local 1 7: iconst_0
istore 1
start local 1 8: goto 11
9: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.security.provider.certpath.CertId.myhash:I
aload 0
getfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
iload 1
baload
iload 1
imul
iadd
putfield sun.security.provider.certpath.CertId.myhash:I
10: iinc 1 1
StackMap locals:
StackMap stack:
11: iload 1
aload 0
getfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
arraylength
if_icmplt 9
end local 1 12: aload 0
dup
getfield sun.security.provider.certpath.CertId.myhash:I
aload 0
getfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
invokevirtual sun.security.x509.SerialNumber.getNumber:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.hashCode:()I
iadd
putfield sun.security.provider.certpath.CertId.myhash:I
13: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.provider.certpath.CertId.myhash:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/security/provider/certpath/CertId;
3 7 1 i I
8 12 1 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
ifnull 3
aload 1
instanceof sun.security.provider.certpath.CertId
ifne 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast sun.security.provider.certpath.CertId
astore 2
start local 2 5: aload 0
getfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
aload 2
invokevirtual sun.security.provider.certpath.CertId.getHashAlgorithm:()Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.equals:(Lsun/security/x509/AlgorithmId;)Z
ifeq 10
6: aload 0
getfield sun.security.provider.certpath.CertId.issuerNameHash:[B
aload 2
invokevirtual sun.security.provider.certpath.CertId.getIssuerNameHash:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 10
7: aload 0
getfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
aload 2
invokevirtual sun.security.provider.certpath.CertId.getIssuerKeyHash:()[B
invokestatic java.util.Arrays.equals:([B[B)Z
ifeq 10
8: aload 0
getfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
invokevirtual sun.security.x509.SerialNumber.getNumber:()Ljava/math/BigInteger;
aload 2
invokevirtual sun.security.provider.certpath.CertId.getSerialNumber:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.equals:(Ljava/lang/Object;)Z
ifeq 10
9: iconst_1
ireturn
10: StackMap locals: sun.security.provider.certpath.CertId
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/provider/certpath/CertId;
0 11 1 other Ljava/lang/Object;
5 11 2 that Lsun/security/provider/certpath/CertId;
MethodParameters:
Name Flags
other
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "CertId \n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
new java.lang.StringBuilder
dup
ldc "Algorithm: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.provider.certpath.CertId.hashAlgId:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc "issuerNameHash \n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: new sun.misc.HexDumpEncoder
dup
invokespecial sun.misc.HexDumpEncoder.<init>:()V
astore 2
start local 2 5: aload 1
aload 2
aload 0
getfield sun.security.provider.certpath.CertId.issuerNameHash:[B
invokevirtual sun.misc.HexDumpEncoder.encode:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
ldc "\nissuerKeyHash: \n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: aload 1
aload 2
aload 0
getfield sun.security.provider.certpath.CertId.issuerKeyHash:[B
invokevirtual sun.misc.HexDumpEncoder.encode:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 1
new java.lang.StringBuilder
dup
ldc "\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.provider.certpath.CertId.certSerialNumber:Lsun/security/x509/SerialNumber;
invokevirtual sun.security.x509.SerialNumber.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/provider/certpath/CertId;
1 10 1 sb Ljava/lang/StringBuilder;
5 10 2 encoder Lsun/misc/HexDumpEncoder;
}
SourceFile: "CertId.java"