public class sun.security.x509.X509Cert implements java.security.Certificate, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.X509Cert
super_class: java.lang.Object
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -52595524744692374
protected transient sun.security.x509.AlgorithmId algid;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT
private transient byte[] rawCert;
descriptor: [B
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient byte[] signature;
descriptor: [B
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient byte[] signedCert;
descriptor: [B
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient sun.security.x509.X500Name subject;
descriptor: Lsun/security/x509/X500Name;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.security.PublicKey pubkey;
descriptor: Ljava/security/PublicKey;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Date notafter;
descriptor: Ljava/util/Date;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.util.Date notbefore;
descriptor: Ljava/util/Date;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient int version;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient java.math.BigInteger serialnum;
descriptor: Ljava/math/BigInteger;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient sun.security.x509.X500Name issuer;
descriptor: Lsun/security/x509/X500Name;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient sun.security.x509.AlgorithmId issuerSigAlg;
descriptor: Lsun/security/x509/AlgorithmId;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient boolean parsed;
descriptor: Z
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.security.x509.X509Cert.parsed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/X509Cert;
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
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 0
iconst_0
putfield sun.security.x509.X509Cert.parsed:Z
2: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 2
start local 2 3: aload 0
aload 2
invokevirtual sun.security.x509.X509Cert.parse:(Lsun/security/util/DerValue;)V
4: aload 2
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 6
5: new sun.security.x509.CertParseError
dup
ldc "garbage at end"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.security.x509.X509Cert byte[] sun.security.util.DerValue
StackMap stack:
aload 0
aload 1
putfield sun.security.x509.X509Cert.signedCert:[B
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/X509Cert;
0 8 1 cert [B
3 8 2 in Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
cert
public void <init>(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.security.x509.X509Cert.parsed:Z
2: new sun.security.util.DerValue
dup
aload 1
iload 2
iload 3
invokespecial sun.security.util.DerValue.<init>:([BII)V
astore 4
start local 4 3: aload 0
aload 4
invokevirtual sun.security.x509.X509Cert.parse:(Lsun/security/util/DerValue;)V
4: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 6
5: new sun.security.x509.CertParseError
dup
ldc "garbage at end"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.security.x509.X509Cert byte[] int int sun.security.util.DerValue
StackMap stack:
aload 0
iload 3
newarray 8
putfield sun.security.x509.X509Cert.signedCert:[B
7: aload 1
iload 2
aload 0
getfield sun.security.x509.X509Cert.signedCert:[B
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
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/x509/X509Cert;
0 9 1 buf [B
0 9 2 offset I
0 9 3 len I
3 9 4 in Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buf
offset
len
public void <init>(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.security.x509.X509Cert.parsed:Z
2: aload 0
aload 1
invokevirtual sun.security.x509.X509Cert.parse:(Lsun/security/util/DerValue;)V
3: aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 5
4: new sun.security.x509.CertParseError
dup
ldc "garbage at end"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: sun.security.x509.X509Cert sun.security.util.DerValue
StackMap stack:
aload 0
aload 1
invokevirtual sun.security.util.DerValue.toByteArray:()[B
putfield sun.security.x509.X509Cert.signedCert:[B
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/x509/X509Cert;
0 7 1 derVal Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
derVal
public void <init>(sun.security.x509.X500Name, sun.security.x509.X509Key, java.util.Date, java.util.Date);
descriptor: (Lsun/security/x509/X500Name;Lsun/security/x509/X509Key;Ljava/util/Date;Ljava/util/Date;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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: aload 0
iconst_0
putfield sun.security.x509.X509Cert.parsed:Z
2: aload 0
aload 1
putfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
3: aload 2
instanceof java.security.PublicKey
ifne 7
4: new sun.security.x509.CertException
dup
bipush 9
5: ldc "Doesn't implement PublicKey interface"
6: invokespecial sun.security.x509.CertException.<init>:(ILjava/lang/String;)V
athrow
7: StackMap locals: sun.security.x509.X509Cert sun.security.x509.X500Name sun.security.x509.X509Key java.util.Date java.util.Date
StackMap stack:
aload 0
aload 2
putfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
8: aload 0
aload 3
putfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
9: aload 0
aload 4
putfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
10: aload 0
iconst_0
putfield sun.security.x509.X509Cert.version:I
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/x509/X509Cert;
0 12 1 subjectName Lsun/security/x509/X500Name;
0 12 2 subjectPublicKey Lsun/security/x509/X509Key;
0 12 3 notBefore Ljava/util/Date;
0 12 4 notAfter Ljava/util/Date;
Exceptions:
throws sun.security.x509.CertException
MethodParameters:
Name Flags
subjectName
subjectPublicKey
notBefore
notAfter
public void decode(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.util.DerValue
dup
aload 1
invokespecial sun.security.util.DerValue.<init>:(Ljava/io/InputStream;)V
astore 2
start local 2 1: aload 0
aload 2
invokevirtual sun.security.x509.X509Cert.parse:(Lsun/security/util/DerValue;)V
2: aload 0
aload 2
invokevirtual sun.security.util.DerValue.toByteArray:()[B
putfield sun.security.x509.X509Cert.signedCert:[B
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/X509Cert;
0 4 1 in Ljava/io/InputStream;
1 4 2 val Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
in
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual sun.security.x509.X509Cert.getSignedCert:()[B
invokevirtual java.io.OutputStream.write:([B)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
0 1 1 out Ljava/io/OutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
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 1
instanceof sun.security.x509.X509Cert
ifeq 2
1: aload 0
aload 1
checkcast sun.security.x509.X509Cert
invokevirtual sun.security.x509.X509Cert.equals:(Lsun/security/x509/X509Cert;)Z
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/X509Cert;
0 3 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other
public boolean equals(sun.security.x509.X509Cert);
descriptor: (Lsun/security/x509/X509Cert;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 0
getfield sun.security.x509.X509Cert.signedCert:[B
ifnull 3
aload 1
getfield sun.security.x509.X509Cert.signedCert:[B
ifnonnull 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.X509Cert.signedCert:[B
arraylength
aload 1
getfield sun.security.x509.X509Cert.signedCert:[B
arraylength
if_icmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 0
getfield sun.security.x509.X509Cert.signedCert:[B
iload 2
baload
aload 1
getfield sun.security.x509.X509Cert.signedCert:[B
iload 2
baload
if_icmpeq 10
9: iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield sun.security.x509.X509Cert.signedCert:[B
arraylength
if_icmplt 8
end local 2 12: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/x509/X509Cert;
0 13 1 src Lsun/security/x509/X509Cert;
7 12 2 i I
MethodParameters:
Name Flags
src
public java.lang.String getFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "X.509"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public java.security.Principal getGuarantor();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.x509.X509Cert.getIssuerName:()Lsun/security/x509/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public java.security.Principal getPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.security.x509.X509Cert.getSubjectName:()Lsun/security/x509/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public void verify(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 2
start local 2 1: aload 2
aload 0
getfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
invokevirtual java.util.Date.before:(Ljava/util/Date;)Z
ifeq 3
2: new sun.security.x509.CertException
dup
iconst_3
invokespecial sun.security.x509.CertException.<init>:(I)V
athrow
3: StackMap locals: java.util.Date
StackMap stack:
aload 2
aload 0
getfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
invokevirtual java.util.Date.after:(Ljava/util/Date;)Z
ifeq 5
4: new sun.security.x509.CertException
dup
iconst_4
invokespecial sun.security.x509.CertException.<init>:(I)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.X509Cert.signedCert:[B
ifnonnull 9
6: new sun.security.x509.CertException
dup
iconst_1
7: ldc "?? certificate is not signed yet ??"
8: invokespecial sun.security.x509.CertException.<init>:(ILjava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aconst_null
astore 3
start local 3 10: aconst_null
astore 4
start local 4 11: aload 0
getfield sun.security.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
astore 3
12: aload 3
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 4
13: aload 4
aload 1
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
14: aload 4
aload 0
getfield sun.security.x509.X509Cert.rawCert:[B
iconst_0
aload 0
getfield sun.security.x509.X509Cert.rawCert:[B
arraylength
invokevirtual java.security.Signature.update:([BII)V
15: aload 4
aload 0
getfield sun.security.x509.X509Cert.signature:[B
invokevirtual java.security.Signature.verify:([B)Z
ifne 31
16: new sun.security.x509.CertException
dup
iconst_1
17: new java.lang.StringBuilder
dup
ldc "Signature ... by <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "> for <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
18: invokespecial sun.security.x509.CertException.<init>:(ILjava/lang/String;)V
athrow
end local 4 19: StackMap locals: sun.security.x509.X509Cert java.security.PublicKey java.util.Date java.lang.String
StackMap stack: java.security.NoSuchAlgorithmException
pop
20: new sun.security.x509.CertException
dup
iconst_1
21: new java.lang.StringBuilder
dup
ldc "Unsupported signature algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
22: invokespecial sun.security.x509.CertException.<init>:(ILjava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack: java.security.InvalidKeyException
pop
24: new sun.security.x509.CertException
dup
bipush 9
25: new java.lang.StringBuilder
dup
ldc "Algorithm ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ") rejected public key"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokespecial sun.security.x509.CertException.<init>:(ILjava/lang/String;)V
athrow
27: StackMap locals:
StackMap stack: java.security.SignatureException
pop
28: new sun.security.x509.CertException
dup
iconst_1
29: new java.lang.StringBuilder
dup
ldc "Signature by <"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "> for <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: invokespecial sun.security.x509.CertException.<init>:(ILjava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Lsun/security/x509/X509Cert;
0 32 1 issuerPublicKey Ljava/security/PublicKey;
1 32 2 now Ljava/util/Date;
10 32 3 algName Ljava/lang/String;
11 19 4 sigVerf Ljava/security/Signature;
Exception table:
from to target type
10 19 19 Class java.security.NoSuchAlgorithmException
10 19 23 Class java.security.InvalidKeyException
10 19 27 Class java.security.SignatureException
Exceptions:
throws sun.security.x509.CertException
MethodParameters:
Name Flags
issuerPublicKey
public byte[] encodeAndSign(java.math.BigInteger, sun.security.x509.X500Signer);
descriptor: (Ljava/math/BigInteger;Lsun/security/x509/X500Signer;)[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aconst_null
putfield sun.security.x509.X509Cert.rawCert:[B
1: aload 0
iconst_0
putfield sun.security.x509.X509Cert.version:I
2: aload 0
aload 1
putfield sun.security.x509.X509Cert.serialnum:Ljava/math/BigInteger;
3: aload 0
aload 2
invokevirtual sun.security.x509.X500Signer.getSigner:()Lsun/security/x509/X500Name;
putfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
4: aload 0
aload 2
invokevirtual sun.security.x509.X500Signer.getAlgorithmId:()Lsun/security/x509/AlgorithmId;
putfield sun.security.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
5: aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
ifnull 7
aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
ifnull 7
6: aload 0
getfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
ifnull 7
aload 0
getfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
ifnonnull 8
7: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "not enough cert parameters"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
aload 0
aload 0
invokevirtual sun.security.x509.X509Cert.DERencode:()[B
putfield sun.security.x509.X509Cert.rawCert:[B
9: aload 0
aload 0
aload 2
aload 0
getfield sun.security.x509.X509Cert.rawCert:[B
invokevirtual sun.security.x509.X509Cert.sign:(Lsun/security/x509/X500Signer;[B)[B
putfield sun.security.x509.X509Cert.signedCert:[B
10: aload 0
getfield sun.security.x509.X509Cert.signedCert:[B
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/x509/X509Cert;
0 11 1 serial Ljava/math/BigInteger;
0 11 2 issuer Lsun/security/x509/X500Signer;
Exceptions:
throws java.io.IOException, java.security.SignatureException
MethodParameters:
Name Flags
serial
issuer
public sun.security.x509.X500Signer getSigner(sun.security.x509.AlgorithmId, java.security.PrivateKey);
descriptor: (Lsun/security/x509/AlgorithmId;Ljava/security/PrivateKey;)Lsun/security/x509/X500Signer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.security.Key
ifeq 4
1: aload 2
astore 5
start local 5 2: aload 5
invokeinterface java.security.Key.getAlgorithm:()Ljava/lang/String;
astore 3
end local 5 start local 3 3: goto 5
end local 3 4: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "private key not a key!"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
start local 3 5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokevirtual sun.security.x509.AlgorithmId.getName:()Ljava/lang/String;
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 4
start local 4 6: aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 12
7: new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Private key algorithm "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
9: ldc " incompatible with certificate "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
10: aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getAlgorithm:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: java.security.Signature
StackMap stack:
aload 4
aload 2
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
13: new sun.security.x509.X500Signer
dup
aload 4
aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
invokespecial sun.security.x509.X500Signer.<init>:(Ljava/security/Signature;Lsun/security/x509/X500Name;)V
areturn
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/X509Cert;
0 14 1 algorithmId Lsun/security/x509/AlgorithmId;
0 14 2 privateKey Ljava/security/PrivateKey;
3 4 3 algorithm Ljava/lang/String;
5 14 3 algorithm Ljava/lang/String;
6 14 4 sig Ljava/security/Signature;
2 3 5 key Ljava/security/Key;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
algorithmId
privateKey
public java.security.Signature getVerifier(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/Signature;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 2
start local 2 1: aload 2
aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/X509Cert;
0 3 1 algorithm Ljava/lang/String;
1 3 2 sig Ljava/security/Signature;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException
MethodParameters:
Name Flags
algorithm
public byte[] getSignedCert();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.X509Cert.signedCert:[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/X509Cert;
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.x509.X509Cert.serialnum:Ljava/math/BigInteger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public sun.security.x509.X500Name getSubjectName();
descriptor: ()Lsun/security/x509/X500Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public sun.security.x509.X500Name getIssuerName();
descriptor: ()Lsun/security/x509/X500Name;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public sun.security.x509.AlgorithmId getIssuerAlgorithmId();
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.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public java.util.Date getNotBefore();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.util.Date
dup
aload 0
getfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokespecial java.util.Date.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public java.util.Date getNotAfter();
descriptor: ()Ljava/util/Date;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.util.Date
dup
aload 0
getfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokespecial java.util.Date.<init>:(J)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
public int getVersion();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.X509Cert.version:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
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.X509Cert.signedCert:[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.X509Cert.signedCert:[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/X509Cert;
1 7 1 retval I
2 6 2 i I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
ifnull 4
aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
ifnull 4
1: aload 0
getfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
ifnull 4
aload 0
getfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
ifnull 4
2: aload 0
getfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
ifnull 4
aload 0
getfield sun.security.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
ifnull 4
3: aload 0
getfield sun.security.x509.X509Cert.serialnum:Ljava/math/BigInteger;
ifnonnull 5
4: StackMap locals:
StackMap stack:
new java.lang.NullPointerException
dup
ldc "X.509 cert is incomplete"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc " X.509v"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.security.x509.X509Cert.version:I
iconst_1
iadd
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " certificate,\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 6: 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 " Subject is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
7: 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 " Key: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
8: 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 " Validity <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "> until <"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
9: 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 " Issuer is "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
10: 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 " Issuer signature used "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.issuerSigAlg: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;
astore 1
11: 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 " Serial number = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.security.x509.X509Cert.serialnum:Ljava/math/BigInteger;
invokestatic sun.security.util.Debug.toHexString:(Ljava/math/BigInteger;)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;
astore 1
12: new java.lang.StringBuilder
dup
ldc "[\n"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/security/x509/X509Cert;
6 13 1 s Ljava/lang/String;
public java.lang.String toString(boolean);
descriptor: (Z)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.security.x509.X509Cert.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
0 1 1 detailed Z
MethodParameters:
Name Flags
detailed
private void parse(sun.security.util.DerValue);
descriptor: (Lsun/security/util/DerValue;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.x509.X509Cert.parsed:Z
ifeq 2
1: new java.io.IOException
dup
ldc "Certificate already parsed"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iconst_3
anewarray sun.security.util.DerValue
astore 2
start local 2 3: aload 2
iconst_0
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
4: aload 2
iconst_1
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
5: aload 2
iconst_2
aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
aastore
6: aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 10
7: new sun.security.x509.CertParseError
dup
new java.lang.StringBuilder
dup
ldc "signed overrun, bytes = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
8: aload 1
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: sun.security.util.DerValue[]
StackMap stack:
aload 2
iconst_0
aaload
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 12
11: new sun.security.x509.CertParseError
dup
ldc "signed fields invalid"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
aload 2
iconst_0
aaload
invokevirtual sun.security.util.DerValue.toByteArray:()[B
putfield sun.security.x509.X509Cert.rawCert:[B
13: aload 0
aload 2
iconst_1
aaload
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
putfield sun.security.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
14: aload 0
aload 2
iconst_2
aaload
invokevirtual sun.security.util.DerValue.getBitString:()[B
putfield sun.security.x509.X509Cert.signature:[B
15: aload 2
iconst_1
aaload
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 17
16: new sun.security.x509.CertParseError
dup
ldc "algid field overrun"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
17: StackMap locals:
StackMap stack:
aload 2
iconst_2
aaload
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 19
18: new sun.security.x509.CertParseError
dup
ldc "signed fields overrun"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
astore 3
start local 3 20: aload 0
iconst_0
putfield sun.security.x509.X509Cert.version:I
21: aload 3
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
start local 4 22: aload 4
invokevirtual sun.security.util.DerValue.isConstructed:()Z
ifeq 27
aload 4
invokevirtual sun.security.util.DerValue.isContextSpecific:()Z
ifeq 27
23: aload 0
aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getInteger:()I
putfield sun.security.x509.X509Cert.version:I
24: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 26
25: new java.io.IOException
dup
ldc "X.509 version, bad format"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
26: StackMap locals: sun.security.util.DerInputStream sun.security.util.DerValue
StackMap stack:
aload 3
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
27: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual sun.security.util.DerValue.getBigInteger:()Ljava/math/BigInteger;
putfield sun.security.x509.X509Cert.serialnum:Ljava/math/BigInteger;
28: aload 3
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
29: aload 4
invokestatic sun.security.x509.AlgorithmId.parse:(Lsun/security/util/DerValue;)Lsun/security/x509/AlgorithmId;
astore 5
start local 5 30: aload 5
aload 0
getfield sun.security.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
invokevirtual sun.security.x509.AlgorithmId.equals:(Lsun/security/x509/AlgorithmId;)Z
ifne 32
31: new sun.security.x509.CertParseError
dup
ldc "CA Algorithm mismatch!"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
32: StackMap locals: sun.security.x509.AlgorithmId
StackMap stack:
aload 0
aload 5
putfield sun.security.x509.X509Cert.algid:Lsun/security/x509/AlgorithmId;
end local 5 33: aload 0
new sun.security.x509.X500Name
dup
aload 3
invokespecial sun.security.x509.X500Name.<init>:(Lsun/security/util/DerInputStream;)V
putfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
34: aload 3
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
35: aload 4
getfield sun.security.util.DerValue.tag:B
bipush 48
if_icmpeq 37
36: new sun.security.x509.CertParseError
dup
ldc "corrupt validity field"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
37: StackMap locals:
StackMap stack:
aload 0
aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getUTCTime:()Ljava/util/Date;
putfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
38: aload 0
aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.getUTCTime:()Ljava/util/Date;
putfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
39: aload 4
getfield sun.security.util.DerValue.data:Lsun/security/util/DerInputStream;
invokevirtual sun.security.util.DerInputStream.available:()I
ifeq 41
40: new sun.security.x509.CertParseError
dup
ldc "excess validity data"
invokespecial sun.security.x509.CertParseError.<init>:(Ljava/lang/String;)V
athrow
41: StackMap locals:
StackMap stack:
aload 0
new sun.security.x509.X500Name
dup
aload 3
invokespecial sun.security.x509.X500Name.<init>:(Lsun/security/util/DerInputStream;)V
putfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
42: aload 3
invokevirtual sun.security.util.DerInputStream.getDerValue:()Lsun/security/util/DerValue;
astore 4
43: aload 0
aload 4
invokestatic sun.security.x509.X509Key.parse:(Lsun/security/util/DerValue;)Ljava/security/PublicKey;
putfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
44: aload 3
invokevirtual sun.security.util.DerInputStream.available:()I
pop
45: aload 0
iconst_1
putfield sun.security.x509.X509Cert.parsed:Z
46: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 47 0 this Lsun/security/x509/X509Cert;
0 47 1 val Lsun/security/util/DerValue;
3 47 2 seq [Lsun/security/util/DerValue;
20 47 3 in Lsun/security/util/DerInputStream;
22 47 4 tmp Lsun/security/util/DerValue;
30 33 5 algid Lsun/security/x509/AlgorithmId;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
val
private byte[] DERencode();
descriptor: ()[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, 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: aload 0
aload 1
invokevirtual sun.security.x509.X509Cert.encode:(Lsun/security/util/DerOutputStream;)V
2: aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/x509/X509Cert;
1 3 1 raw Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
private void encode(sun.security.util.DerOutputStream);
descriptor: (Lsun/security/util/DerOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, 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 2
aload 0
getfield sun.security.x509.X509Cert.serialnum:Ljava/math/BigInteger;
invokevirtual sun.security.util.DerOutputStream.putInteger:(Ljava/math/BigInteger;)V
2: aload 0
getfield sun.security.x509.X509Cert.issuerSigAlg:Lsun/security/x509/AlgorithmId;
aload 2
invokevirtual sun.security.x509.AlgorithmId.encode:(Lsun/security/util/DerOutputStream;)V
3: aload 0
getfield sun.security.x509.X509Cert.issuer:Lsun/security/x509/X500Name;
aload 2
invokevirtual sun.security.x509.X500Name.encode:(Lsun/security/util/DerOutputStream;)V
4: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 5: aload 3
aload 0
getfield sun.security.x509.X509Cert.notbefore:Ljava/util/Date;
invokevirtual sun.security.util.DerOutputStream.putUTCTime:(Ljava/util/Date;)V
6: aload 3
aload 0
getfield sun.security.x509.X509Cert.notafter:Ljava/util/Date;
invokevirtual sun.security.util.DerOutputStream.putUTCTime:(Ljava/util/Date;)V
7: aload 2
bipush 48
aload 3
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
end local 3 8: aload 0
getfield sun.security.x509.X509Cert.subject:Lsun/security/x509/X500Name;
aload 2
invokevirtual sun.security.x509.X500Name.encode:(Lsun/security/util/DerOutputStream;)V
9: aload 2
aload 0
getfield sun.security.x509.X509Cert.pubkey:Ljava/security/PublicKey;
invokeinterface java.security.PublicKey.getEncoded:()[B
invokevirtual sun.security.util.DerOutputStream.write:([B)V
10: aload 1
bipush 48
aload 2
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/security/x509/X509Cert;
0 12 1 out Lsun/security/util/DerOutputStream;
1 12 2 tmp Lsun/security/util/DerOutputStream;
5 8 3 seq Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
private byte[] sign(sun.security.x509.X500Signer, byte[]);
descriptor: (Lsun/security/x509/X500Signer;[B)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 1: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 4
start local 4 2: aload 4
aload 2
invokevirtual sun.security.util.DerOutputStream.write:([B)V
3: aload 1
invokevirtual sun.security.x509.X500Signer.getAlgorithmId:()Lsun/security/x509/AlgorithmId;
aload 4
invokevirtual sun.security.x509.AlgorithmId.encode:(Lsun/security/util/DerOutputStream;)V
4: aload 1
aload 2
iconst_0
aload 2
arraylength
invokevirtual sun.security.x509.X500Signer.update:([BII)V
5: aload 0
aload 1
invokevirtual sun.security.x509.X500Signer.sign:()[B
putfield sun.security.x509.X509Cert.signature:[B
6: aload 4
aload 0
getfield sun.security.x509.X509Cert.signature:[B
invokevirtual sun.security.util.DerOutputStream.putBitString:([B)V
7: aload 3
bipush 48
aload 4
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
8: aload 3
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
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/x509/X509Cert;
0 9 1 issuer Lsun/security/x509/X500Signer;
0 9 2 data [B
1 9 3 out Lsun/security/util/DerOutputStream;
2 9 4 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException, java.security.SignatureException
MethodParameters:
Name Flags
issuer
data
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.x509.X509Cert.encode:(Ljava/io/OutputStream;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
0 1 1 stream Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.security.x509.X509Cert.decode:(Ljava/io/InputStream;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/X509Cert;
0 1 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
}
SourceFile: "X509Cert.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()