public class org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator extends org.bouncycastle.openssl.MiscPEMGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator
super_class: org.bouncycastle.openssl.MiscPEMGenerator
{
private java.lang.Object obj;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private java.lang.String algorithm;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private char[] password;
descriptor: [C
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator this
start local 1 // java.lang.Object o
0: .line 37
aload 0 /* this */
aload 1 /* o */
invokestatic org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator.convertObject:(Ljava/lang/Object;)Ljava/lang/Object;
invokespecial org.bouncycastle.openssl.MiscPEMGenerator.<init>:(Ljava/lang/Object;)V
1: .line 38
return
end local 1 // java.lang.Object o
end local 0 // org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/openssl/jcajce/JcaMiscPEMGenerator;
0 2 1 o Ljava/lang/Object;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
o
public void <init>(java.lang.Object, org.bouncycastle.openssl.PEMEncryptor);
descriptor: (Ljava/lang/Object;Lorg/bouncycastle/openssl/PEMEncryptor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 // org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator this
start local 1 // java.lang.Object o
start local 2 // org.bouncycastle.openssl.PEMEncryptor encryptor
0: .line 43
aload 0 /* this */
aload 1 /* o */
invokestatic org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator.convertObject:(Ljava/lang/Object;)Ljava/lang/Object;
aload 2 /* encryptor */
invokespecial org.bouncycastle.openssl.MiscPEMGenerator.<init>:(Ljava/lang/Object;Lorg/bouncycastle/openssl/PEMEncryptor;)V
1: .line 44
return
end local 2 // org.bouncycastle.openssl.PEMEncryptor encryptor
end local 1 // java.lang.Object o
end local 0 // org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/openssl/jcajce/JcaMiscPEMGenerator;
0 2 1 o Ljava/lang/Object;
0 2 2 encryptor Lorg/bouncycastle/openssl/PEMEncryptor;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
o
encryptor
private static java.lang.Object convertObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 // java.lang.Object o
0: .line 49
aload 0 /* o */
instanceof java.security.cert.X509Certificate
ifeq 5
1: .line 53
new org.bouncycastle.cert.jcajce.JcaX509CertificateHolder
dup
aload 0 /* o */
checkcast java.security.cert.X509Certificate
invokespecial org.bouncycastle.cert.jcajce.JcaX509CertificateHolder.<init>:(Ljava/security/cert/X509Certificate;)V
2: areturn
3: .line 55
StackMap locals:
StackMap stack: java.security.cert.CertificateEncodingException
astore 1 /* e */
start local 1 // java.security.cert.CertificateEncodingException e
4: .line 57
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot encode object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* e */
invokevirtual java.security.cert.CertificateEncodingException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 // java.security.cert.CertificateEncodingException e
5: .line 60
StackMap locals:
StackMap stack:
aload 0 /* o */
instanceof java.security.cert.X509CRL
ifeq 10
6: .line 64
new org.bouncycastle.cert.jcajce.JcaX509CRLHolder
dup
aload 0 /* o */
checkcast java.security.cert.X509CRL
invokespecial org.bouncycastle.cert.jcajce.JcaX509CRLHolder.<init>:(Ljava/security/cert/X509CRL;)V
7: areturn
8: .line 66
StackMap locals:
StackMap stack: java.security.cert.CRLException
astore 1 /* e */
start local 1 // java.security.cert.CRLException e
9: .line 68
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot encode object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* e */
invokevirtual java.security.cert.CRLException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 // java.security.cert.CRLException e
10: .line 71
StackMap locals:
StackMap stack:
aload 0 /* o */
instanceof java.security.KeyPair
ifeq 12
11: .line 73
aload 0 /* o */
checkcast java.security.KeyPair
invokevirtual java.security.KeyPair.getPrivate:()Ljava/security/PrivateKey;
invokestatic org.bouncycastle.openssl.jcajce.JcaMiscPEMGenerator.convertObject:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
12: .line 75
StackMap locals:
StackMap stack:
aload 0 /* o */
instanceof java.security.PrivateKey
ifeq 14
13: .line 77
aload 0 /* o */
checkcast java.security.Key
invokeinterface java.security.Key.getEncoded:()[B
invokestatic org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
areturn
14: .line 79
StackMap locals:
StackMap stack:
aload 0 /* o */
instanceof java.security.PublicKey
ifeq 16
15: .line 81
aload 0 /* o */
checkcast java.security.PublicKey
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
areturn
16: .line 84
StackMap locals:
StackMap stack:
aload 0 /* o */
areturn
end local 0 // java.lang.Object o
LocalVariableTable:
Start End Slot Name Signature
0 17 0 o Ljava/lang/Object;
4 5 1 e Ljava/security/cert/CertificateEncodingException;
9 10 1 e Ljava/security/cert/CRLException;
Exception table:
from to target type
1 2 3 Class java.security.cert.CertificateEncodingException
6 7 8 Class java.security.cert.CRLException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
o
}
SourceFile: "JcaMiscPEMGenerator.java"