public final class sun.security.tools.keytool.CertAndKeyGen
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.tools.keytool.CertAndKeyGen
super_class: java.lang.Object
{
private java.security.SecureRandom prng;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private java.lang.String sigAlg;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.security.KeyPairGenerator keyGen;
descriptor: Ljava/security/KeyPairGenerator;
flags: (0x0002) ACC_PRIVATE
private java.security.PublicKey publicKey;
descriptor: Ljava/security/PublicKey;
flags: (0x0002) ACC_PRIVATE
private java.security.PrivateKey privateKey;
descriptor: Ljava/security/PrivateKey;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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
aload 1
invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
2: aload 0
aload 2
putfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 4 1 keyType Ljava/lang/String;
0 4 2 sigAlg Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
keyType
sigAlg
public void <init>(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, 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 3
ifnonnull 4
2: aload 0
aload 1
invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
3: goto 8
4: StackMap locals: sun.security.tools.keytool.CertAndKeyGen java.lang.String java.lang.String java.lang.String
StackMap stack:
aload 0
aload 1
aload 3
invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyPairGenerator;
putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
5: goto 8
StackMap locals:
StackMap stack: java.lang.Exception
6: pop
7: aload 0
aload 1
invokestatic java.security.KeyPairGenerator.getInstance:(Ljava/lang/String;)Ljava/security/KeyPairGenerator;
putfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
8: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 10 1 keyType Ljava/lang/String;
0 10 2 sigAlg Ljava/lang/String;
0 10 3 providerName Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
keyType
sigAlg
providerName
public void setRandom(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 2 1 generator Ljava/security/SecureRandom;
MethodParameters:
Name Flags
generator
public void generate(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
ifnonnull 2
1: aload 0
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
putfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
iload 1
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.prng:Ljava/security/SecureRandom;
invokevirtual java.security.KeyPairGenerator.initialize:(ILjava/security/SecureRandom;)V
3: aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.keyGen:Ljava/security/KeyPairGenerator;
invokevirtual java.security.KeyPairGenerator.generateKeyPair:()Ljava/security/KeyPair;
astore 2
start local 2 4: goto 7
end local 2 StackMap locals:
StackMap stack: java.lang.Exception
5: astore 3
start local 3 6: new java.lang.IllegalArgumentException
dup
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 start local 2 7: StackMap locals: java.security.KeyPair
StackMap stack:
aload 0
aload 2
invokevirtual java.security.KeyPair.getPublic:()Ljava/security/PublicKey;
putfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
8: aload 0
aload 2
invokevirtual java.security.KeyPair.getPrivate:()Ljava/security/PrivateKey;
putfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 10 1 keyBits I
4 5 2 pair Ljava/security/KeyPair;
7 10 2 pair Ljava/security/KeyPair;
6 7 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
keyBits
public sun.security.x509.X509Key getPublicKey();
descriptor: ()Lsun/security/x509/X509Key;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
instanceof sun.security.x509.X509Key
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
checkcast sun.security.x509.X509Key
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/keytool/CertAndKeyGen;
public java.security.PrivateKey getPrivateKey();
descriptor: ()Ljava/security/PrivateKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/keytool/CertAndKeyGen;
public sun.security.x509.X509Cert getSelfCert(sun.security.x509.X500Name, long);
descriptor: (Lsun/security/x509/X500Name;J)Lsun/security/x509/X509Cert;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
invokevirtual sun.security.tools.keytool.CertAndKeyGen.getSelfCertificate:(Lsun/security/x509/X500Name;J)Ljava/security/cert/X509Certificate;
astore 4
start local 4 1: new sun.security.x509.X509Cert
dup
aload 4
invokevirtual java.security.cert.X509Certificate.getEncoded:()[B
invokespecial sun.security.x509.X509Cert.<init>:([B)V
2: areturn
end local 4 3: StackMap locals:
StackMap stack: java.security.cert.CertificateException
astore 5
start local 5 4: new java.security.SignatureException
dup
aload 5
invokevirtual java.security.cert.CertificateException.getMessage:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 5 5: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 5
start local 5 6: new java.security.NoSuchAlgorithmException
dup
aload 5
invokevirtual java.security.NoSuchProviderException.getMessage:()Ljava/lang/String;
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
end local 5 7: StackMap locals:
StackMap stack: java.io.IOException
astore 5
start local 5 8: new java.security.SignatureException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 9 1 myname Lsun/security/x509/X500Name;
0 9 2 validity J
1 3 4 cert Ljava/security/cert/X509Certificate;
4 5 5 e Ljava/security/cert/CertificateException;
6 7 5 e Ljava/security/NoSuchProviderException;
8 9 5 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class java.security.cert.CertificateException
0 2 5 Class java.security.NoSuchProviderException
0 2 7 Class java.io.IOException
Exceptions:
throws java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchAlgorithmException
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
java.lang.Deprecated()
MethodParameters:
Name Flags
myname
validity
public java.security.cert.X509Certificate getSelfCertificate(sun.security.x509.X500Name, java.util.Date, long);
descriptor: (Lsun/security/x509/X500Name;Ljava/util/Date;J)Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokevirtual sun.security.tools.keytool.CertAndKeyGen.getSigner:(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Signer;
astore 5
start local 5 1: new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
astore 7
start local 7 2: aload 7
aload 2
invokevirtual java.util.Date.getTime:()J
lload 3
ldc 1000
lmul
ladd
invokevirtual java.util.Date.setTime:(J)V
3: new sun.security.x509.CertificateValidity
dup
aload 2
aload 7
invokespecial sun.security.x509.CertificateValidity.<init>:(Ljava/util/Date;Ljava/util/Date;)V
4: astore 8
start local 8 5: new sun.security.x509.X509CertInfo
dup
invokespecial sun.security.x509.X509CertInfo.<init>:()V
astore 9
start local 9 6: aload 9
ldc "version"
7: new sun.security.x509.CertificateVersion
dup
iconst_2
invokespecial sun.security.x509.CertificateVersion.<init>:(I)V
8: invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
9: aload 9
ldc "serialNumber"
10: new sun.security.x509.CertificateSerialNumber
dup
aload 2
invokevirtual java.util.Date.getTime:()J
ldc 1000
ldiv
l2i
invokespecial sun.security.x509.CertificateSerialNumber.<init>:(I)V
11: invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
12: aload 5
invokevirtual sun.security.x509.X500Signer.getAlgorithmId:()Lsun/security/x509/AlgorithmId;
astore 10
start local 10 13: aload 9
ldc "algorithmID"
14: new sun.security.x509.CertificateAlgorithmId
dup
aload 10
invokespecial sun.security.x509.CertificateAlgorithmId.<init>:(Lsun/security/x509/AlgorithmId;)V
15: invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
16: aload 9
ldc "subject"
new sun.security.x509.CertificateSubjectName
dup
aload 1
invokespecial sun.security.x509.CertificateSubjectName.<init>:(Lsun/security/x509/X500Name;)V
invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
17: aload 9
ldc "key"
new sun.security.x509.CertificateX509Key
dup
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
invokespecial sun.security.x509.CertificateX509Key.<init>:(Ljava/security/PublicKey;)V
invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
18: aload 9
ldc "validity"
aload 8
invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
19: aload 9
ldc "issuer"
20: new sun.security.x509.CertificateIssuerName
dup
aload 5
invokevirtual sun.security.x509.X500Signer.getSigner:()Lsun/security/x509/X500Name;
invokespecial sun.security.x509.CertificateIssuerName.<init>:(Lsun/security/x509/X500Name;)V
21: invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
22: ldc "sun.security.internal.keytool.skid"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
ifnull 30
23: new sun.security.x509.CertificateExtensions
dup
invokespecial sun.security.x509.CertificateExtensions.<init>:()V
astore 11
start local 11 24: aload 11
ldc "SubjectKeyIdentifier"
25: new sun.security.x509.SubjectKeyIdentifierExtension
dup
26: new sun.security.x509.KeyIdentifier
dup
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
invokespecial sun.security.x509.KeyIdentifier.<init>:(Ljava/security/PublicKey;)V
invokevirtual sun.security.x509.KeyIdentifier.getIdentifier:()[B
27: invokespecial sun.security.x509.SubjectKeyIdentifierExtension.<init>:([B)V
28: invokevirtual sun.security.x509.CertificateExtensions.set:(Ljava/lang/String;Ljava/lang/Object;)V
29: aload 9
ldc "extensions"
aload 11
invokevirtual sun.security.x509.X509CertInfo.set:(Ljava/lang/String;Ljava/lang/Object;)V
end local 11 30: StackMap locals: sun.security.tools.keytool.CertAndKeyGen sun.security.x509.X500Name java.util.Date long sun.security.x509.X500Signer top java.util.Date sun.security.x509.CertificateValidity sun.security.x509.X509CertInfo sun.security.x509.AlgorithmId
StackMap stack:
new sun.security.x509.X509CertImpl
dup
aload 9
invokespecial sun.security.x509.X509CertImpl.<init>:(Lsun/security/x509/X509CertInfo;)V
astore 6
start local 6 31: aload 6
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
invokevirtual sun.security.x509.X509CertImpl.sign:(Ljava/security/PrivateKey;Ljava/lang/String;)V
32: aload 6
33: areturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 34: StackMap locals: sun.security.tools.keytool.CertAndKeyGen sun.security.x509.X500Name java.util.Date long
StackMap stack: java.io.IOException
astore 8
start local 8 35: new java.security.cert.CertificateEncodingException
dup
new java.lang.StringBuilder
dup
ldc "getSelfCert: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
36: aload 8
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
37: invokespecial java.security.cert.CertificateEncodingException.<init>:(Ljava/lang/String;)V
athrow
end local 8 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 38 1 myname Lsun/security/x509/X500Name;
0 38 2 firstDate Ljava/util/Date;
0 38 3 validity J
1 34 5 issuer Lsun/security/x509/X500Signer;
31 34 6 cert Lsun/security/x509/X509CertImpl;
2 34 7 lastDate Ljava/util/Date;
5 34 8 interval Lsun/security/x509/CertificateValidity;
6 34 9 info Lsun/security/x509/X509CertInfo;
13 34 10 algID Lsun/security/x509/AlgorithmId;
24 30 11 ext Lsun/security/x509/CertificateExtensions;
35 38 8 e Ljava/io/IOException;
Exception table:
from to target type
0 33 34 Class java.io.IOException
Exceptions:
throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
myname
firstDate
validity
public java.security.cert.X509Certificate getSelfCertificate(sun.security.x509.X500Name, long);
descriptor: (Lsun/security/x509/X500Name;J)Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
new java.util.Date
dup
invokespecial java.util.Date.<init>:()V
lload 2
invokevirtual sun.security.tools.keytool.CertAndKeyGen.getSelfCertificate:(Lsun/security/x509/X500Name;Ljava/util/Date;J)Ljava/security/cert/X509Certificate;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 1 1 myname Lsun/security/x509/X500Name;
0 1 2 validity J
Exceptions:
throws java.security.cert.CertificateException, java.security.InvalidKeyException, java.security.SignatureException, java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
myname
validity
public sun.security.pkcs10.PKCS10 getCertRequest(sun.security.x509.X500Name);
descriptor: (Lsun/security/x509/X500Name;)Lsun/security/pkcs10/PKCS10;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.pkcs10.PKCS10
dup
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.publicKey:Ljava/security/PublicKey;
invokespecial sun.security.pkcs10.PKCS10.<init>:(Ljava/security/PublicKey;)V
astore 2
start local 2 1: aload 2
aload 0
aload 1
invokevirtual sun.security.tools.keytool.CertAndKeyGen.getSigner:(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Signer;
invokevirtual sun.security.pkcs10.PKCS10.encodeAndSign:(Lsun/security/x509/X500Signer;)V
2: goto 9
StackMap locals: sun.security.tools.keytool.CertAndKeyGen sun.security.x509.X500Name sun.security.pkcs10.PKCS10
StackMap stack: java.security.cert.CertificateException
3: pop
4: new java.security.SignatureException
dup
new java.lang.StringBuilder
dup
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " CertificateException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack: java.io.IOException
pop
6: new java.security.SignatureException
dup
new java.lang.StringBuilder
dup
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " IOException"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack: java.security.NoSuchAlgorithmException
pop
8: new java.security.SignatureException
dup
new java.lang.StringBuilder
dup
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " unavailable?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.SignatureException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 10 1 myname Lsun/security/x509/X500Name;
1 10 2 req Lsun/security/pkcs10/PKCS10;
Exception table:
from to target type
1 2 3 Class java.security.cert.CertificateException
1 2 5 Class java.io.IOException
1 2 7 Class java.security.NoSuchAlgorithmException
Exceptions:
throws java.security.InvalidKeyException, java.security.SignatureException
MethodParameters:
Name Flags
myname
private sun.security.x509.X500Signer getSigner(sun.security.x509.X500Name);
descriptor: (Lsun/security/x509/X500Name;)Lsun/security/x509/X500Signer;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.sigAlg:Ljava/lang/String;
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 2
start local 2 1: aload 2
aload 0
getfield sun.security.tools.keytool.CertAndKeyGen.privateKey:Ljava/security/PrivateKey;
invokevirtual java.security.Signature.initSign:(Ljava/security/PrivateKey;)V
2: new sun.security.x509.X500Signer
dup
aload 2
aload 1
invokespecial sun.security.x509.X500Signer.<init>:(Ljava/security/Signature;Lsun/security/x509/X500Name;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/tools/keytool/CertAndKeyGen;
0 3 1 me Lsun/security/x509/X500Name;
1 3 2 signature Ljava/security/Signature;
Exceptions:
throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
MethodParameters:
Name Flags
me
}
SourceFile: "CertAndKeyGen.java"