public class org.bouncycastle.openssl.MiscPEMGenerator implements org.bouncycastle.util.io.pem.PemObjectGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.openssl.MiscPEMGenerator
super_class: java.lang.Object
{
private static final org.bouncycastle.asn1.ASN1ObjectIdentifier[] dsaOids;
descriptor: [Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final byte[] hexEncodingTable;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final java.lang.Object obj;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.openssl.PEMEncryptor encryptor;
descriptor: Lorg/bouncycastle/openssl/PEMEncryptor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
iconst_0
1: getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_dsa:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aastore
dup
iconst_1
2: getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.dsaWithSHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aastore
3: putstatic org.bouncycastle.openssl.MiscPEMGenerator.dsaOids:[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
4: bipush 16
newarray 8
dup
iconst_0
5: bipush 48
bastore
dup
iconst_1
bipush 49
bastore
dup
iconst_2
bipush 50
bastore
dup
iconst_3
bipush 51
bastore
dup
iconst_4
bipush 52
bastore
dup
iconst_5
bipush 53
bastore
dup
bipush 6
bipush 54
bastore
dup
bipush 7
bipush 55
bastore
dup
bipush 8
6: bipush 56
bastore
dup
bipush 9
bipush 57
bastore
dup
bipush 10
bipush 65
bastore
dup
bipush 11
bipush 66
bastore
dup
bipush 12
bipush 67
bastore
dup
bipush 13
bipush 68
bastore
dup
bipush 14
bipush 69
bastore
dup
bipush 15
bipush 70
bastore
7: putstatic org.bouncycastle.openssl.MiscPEMGenerator.hexEncodingTable:[B
8: return
LocalVariableTable:
Start End Slot Name Signature
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 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.openssl.MiscPEMGenerator.obj:Ljava/lang/Object;
2: aload 0
aconst_null
putfield org.bouncycastle.openssl.MiscPEMGenerator.encryptor:Lorg/bouncycastle/openssl/PEMEncryptor;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/openssl/MiscPEMGenerator;
0 4 1 o Ljava/lang/Object;
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=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
putfield org.bouncycastle.openssl.MiscPEMGenerator.obj:Ljava/lang/Object;
2: aload 0
aload 2
putfield org.bouncycastle.openssl.MiscPEMGenerator.encryptor:Lorg/bouncycastle/openssl/PEMEncryptor;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/openssl/MiscPEMGenerator;
0 4 1 o Ljava/lang/Object;
0 4 2 encryptor Lorg/bouncycastle/openssl/PEMEncryptor;
MethodParameters:
Name Flags
o
encryptor
private org.bouncycastle.util.io.pem.PemObject createPemObject(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/util/io/pem/PemObject;
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=10, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.util.io.pem.PemObject
ifeq 2
1: aload 1
checkcast org.bouncycastle.util.io.pem.PemObject
areturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.util.io.pem.PemObjectGenerator
ifeq 4
3: aload 1
checkcast org.bouncycastle.util.io.pem.PemObjectGenerator
invokeinterface org.bouncycastle.util.io.pem.PemObjectGenerator.generate:()Lorg/bouncycastle/util/io/pem/PemObject;
areturn
4: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.cert.X509CertificateHolder
ifeq 8
5: ldc "CERTIFICATE"
astore 2
start local 2 6: aload 1
checkcast org.bouncycastle.cert.X509CertificateHolder
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getEncoded:()[B
astore 3
start local 3 7: goto 63
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.cert.X509CRLHolder
ifeq 12
9: ldc "X509 CRL"
astore 2
start local 2 10: aload 1
checkcast org.bouncycastle.cert.X509CRLHolder
invokevirtual org.bouncycastle.cert.X509CRLHolder.getEncoded:()[B
astore 3
start local 3 11: goto 63
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.openssl.X509TrustedCertificateBlock
ifeq 16
13: ldc "TRUSTED CERTIFICATE"
astore 2
start local 2 14: aload 1
checkcast org.bouncycastle.openssl.X509TrustedCertificateBlock
invokevirtual org.bouncycastle.openssl.X509TrustedCertificateBlock.getEncoded:()[B
astore 3
start local 3 15: goto 63
end local 3 end local 2 16: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.asn1.pkcs.PrivateKeyInfo
ifeq 42
17: aload 1
checkcast org.bouncycastle.asn1.pkcs.PrivateKeyInfo
astore 4
start local 4 18: aload 4
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getPrivateKeyAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
astore 5
start local 5 19: aload 5
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.rsaEncryption:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 23
20: ldc "RSA PRIVATE KEY"
astore 2
start local 2 21: aload 4
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.parsePrivateKey:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokevirtual org.bouncycastle.asn1.ASN1Primitive.getEncoded:()[B
astore 3
start local 3 22: goto 63
end local 3 end local 2 23: StackMap locals: org.bouncycastle.openssl.MiscPEMGenerator java.lang.Object top top org.bouncycastle.asn1.pkcs.PrivateKeyInfo org.bouncycastle.asn1.ASN1ObjectIdentifier
StackMap stack:
aload 5
getstatic org.bouncycastle.openssl.MiscPEMGenerator.dsaOids:[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
iconst_0
aaload
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 24
aload 5
getstatic org.bouncycastle.openssl.MiscPEMGenerator.dsaOids:[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
iconst_1
aaload
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 37
24: StackMap locals:
StackMap stack:
ldc "DSA PRIVATE KEY"
astore 2
start local 2 25: aload 4
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getPrivateKeyAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getParameters:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.x509.DSAParameter.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/DSAParameter;
astore 6
start local 6 26: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 7
start local 7 27: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
lconst_0
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(J)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
28: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
aload 6
invokevirtual org.bouncycastle.asn1.x509.DSAParameter.getP:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
29: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
aload 6
invokevirtual org.bouncycastle.asn1.x509.DSAParameter.getQ:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
30: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
aload 6
invokevirtual org.bouncycastle.asn1.x509.DSAParameter.getG:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
31: aload 4
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.parsePrivateKey:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.ASN1Integer.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1Integer;
invokevirtual org.bouncycastle.asn1.ASN1Integer.getValue:()Ljava/math/BigInteger;
astore 8
start local 8 32: aload 6
invokevirtual org.bouncycastle.asn1.x509.DSAParameter.getG:()Ljava/math/BigInteger;
aload 8
aload 6
invokevirtual org.bouncycastle.asn1.x509.DSAParameter.getP:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.modPow:(Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
astore 9
start local 9 33: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
aload 9
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
34: aload 7
new org.bouncycastle.asn1.ASN1Integer
dup
aload 8
invokespecial org.bouncycastle.asn1.ASN1Integer.<init>:(Ljava/math/BigInteger;)V
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
35: new org.bouncycastle.asn1.DERSequence
dup
aload 7
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
invokevirtual org.bouncycastle.asn1.DERSequence.getEncoded:()[B
astore 3
end local 9 end local 8 end local 7 end local 6 start local 3 36: goto 63
end local 3 end local 2 37: StackMap locals:
StackMap stack:
aload 5
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_ecPublicKey:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 41
38: ldc "EC PRIVATE KEY"
astore 2
start local 2 39: aload 4
invokevirtual org.bouncycastle.asn1.pkcs.PrivateKeyInfo.parsePrivateKey:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
invokevirtual org.bouncycastle.asn1.ASN1Primitive.getEncoded:()[B
astore 3
start local 3 40: goto 63
end local 3 end local 2 41: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Cannot identify private key"
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 4 42: StackMap locals: org.bouncycastle.openssl.MiscPEMGenerator java.lang.Object
StackMap stack:
aload 1
instanceof org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
ifeq 46
43: ldc "PUBLIC KEY"
astore 2
start local 2 44: aload 1
checkcast org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getEncoded:()[B
astore 3
start local 3 45: goto 63
end local 3 end local 2 46: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.cert.X509AttributeCertificateHolder
ifeq 50
47: ldc "ATTRIBUTE CERTIFICATE"
astore 2
start local 2 48: aload 1
checkcast org.bouncycastle.cert.X509AttributeCertificateHolder
invokevirtual org.bouncycastle.cert.X509AttributeCertificateHolder.getEncoded:()[B
astore 3
start local 3 49: goto 63
end local 3 end local 2 50: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.pkcs.PKCS10CertificationRequest
ifeq 54
51: ldc "CERTIFICATE REQUEST"
astore 2
start local 2 52: aload 1
checkcast org.bouncycastle.pkcs.PKCS10CertificationRequest
invokevirtual org.bouncycastle.pkcs.PKCS10CertificationRequest.getEncoded:()[B
astore 3
start local 3 53: goto 63
end local 3 end local 2 54: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo
ifeq 58
55: ldc "ENCRYPTED PRIVATE KEY"
astore 2
start local 2 56: aload 1
checkcast org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo
invokevirtual org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.getEncoded:()[B
astore 3
start local 3 57: goto 63
end local 3 end local 2 58: StackMap locals:
StackMap stack:
aload 1
instanceof org.bouncycastle.asn1.cms.ContentInfo
ifeq 62
59: ldc "PKCS7"
astore 2
start local 2 60: aload 1
checkcast org.bouncycastle.asn1.cms.ContentInfo
invokevirtual org.bouncycastle.asn1.cms.ContentInfo.getEncoded:()[B
astore 3
start local 3 61: goto 63
end local 3 end local 2 62: StackMap locals:
StackMap stack:
new org.bouncycastle.util.io.pem.PemGenerationException
dup
ldc "unknown object passed - can't encode."
invokespecial org.bouncycastle.util.io.pem.PemGenerationException.<init>:(Ljava/lang/String;)V
athrow
start local 2 start local 3 63: StackMap locals: java.lang.String byte[]
StackMap stack:
aload 0
getfield org.bouncycastle.openssl.MiscPEMGenerator.encryptor:Lorg/bouncycastle/openssl/PEMEncryptor;
ifnull 73
64: aload 0
getfield org.bouncycastle.openssl.MiscPEMGenerator.encryptor:Lorg/bouncycastle/openssl/PEMEncryptor;
invokeinterface org.bouncycastle.openssl.PEMEncryptor.getAlgorithm:()Ljava/lang/String;
invokestatic org.bouncycastle.util.Strings.toUpperCase:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 65: aload 4
ldc "DESEDE"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 67
66: ldc "DES-EDE3-CBC"
astore 4
67: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.bouncycastle.openssl.MiscPEMGenerator.encryptor:Lorg/bouncycastle/openssl/PEMEncryptor;
invokeinterface org.bouncycastle.openssl.PEMEncryptor.getIV:()[B
astore 5
start local 5 68: aload 0
getfield org.bouncycastle.openssl.MiscPEMGenerator.encryptor:Lorg/bouncycastle/openssl/PEMEncryptor;
aload 3
invokeinterface org.bouncycastle.openssl.PEMEncryptor.encrypt:([B)[B
astore 6
start local 6 69: new java.util.ArrayList
dup
iconst_2
invokespecial java.util.ArrayList.<init>:(I)V
astore 7
start local 7 70: aload 7
new org.bouncycastle.util.io.pem.PemHeader
dup
ldc "Proc-Type"
ldc "4,ENCRYPTED"
invokespecial org.bouncycastle.util.io.pem.PemHeader.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
71: aload 7
new org.bouncycastle.util.io.pem.PemHeader
dup
ldc "DEK-Info"
new java.lang.StringBuilder
dup
aload 4
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ","
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 5
invokevirtual org.bouncycastle.openssl.MiscPEMGenerator.getHexEncoded:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.bouncycastle.util.io.pem.PemHeader.<init>:(Ljava/lang/String;Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
72: new org.bouncycastle.util.io.pem.PemObject
dup
aload 2
aload 7
aload 6
invokespecial org.bouncycastle.util.io.pem.PemObject.<init>:(Ljava/lang/String;Ljava/util/List;[B)V
areturn
end local 7 end local 6 end local 5 end local 4 73: StackMap locals:
StackMap stack:
new org.bouncycastle.util.io.pem.PemObject
dup
aload 2
aload 3
invokespecial org.bouncycastle.util.io.pem.PemObject.<init>:(Ljava/lang/String;[B)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 74 0 this Lorg/bouncycastle/openssl/MiscPEMGenerator;
0 74 1 o Ljava/lang/Object;
6 8 2 type Ljava/lang/String;
10 12 2 type Ljava/lang/String;
14 16 2 type Ljava/lang/String;
21 23 2 type Ljava/lang/String;
25 37 2 type Ljava/lang/String;
39 41 2 type Ljava/lang/String;
44 46 2 type Ljava/lang/String;
48 50 2 type Ljava/lang/String;
52 54 2 type Ljava/lang/String;
56 58 2 type Ljava/lang/String;
60 62 2 type Ljava/lang/String;
63 74 2 type Ljava/lang/String;
7 8 3 encoding [B
11 12 3 encoding [B
15 16 3 encoding [B
22 23 3 encoding [B
36 37 3 encoding [B
40 41 3 encoding [B
45 46 3 encoding [B
49 50 3 encoding [B
53 54 3 encoding [B
57 58 3 encoding [B
61 62 3 encoding [B
63 74 3 encoding [B
18 42 4 info Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
19 42 5 algOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
26 36 6 p Lorg/bouncycastle/asn1/x509/DSAParameter;
27 36 7 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
32 36 8 x Ljava/math/BigInteger;
33 36 9 y Ljava/math/BigInteger;
65 73 4 dekAlgName Ljava/lang/String;
68 73 5 iv [B
69 73 6 encData [B
70 73 7 headers Ljava/util/List;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
o
private java.lang.String getHexEncoded(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_2
imul
newarray 5
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 7
3: StackMap locals: char[] int
StackMap stack:
aload 1
iload 3
baload
sipush 255
iand
istore 4
start local 4 4: aload 2
iconst_2
iload 3
imul
getstatic org.bouncycastle.openssl.MiscPEMGenerator.hexEncodingTable:[B
iload 4
iconst_4
iushr
baload
i2c
castore
5: aload 2
iconst_2
iload 3
imul
iconst_1
iadd
getstatic org.bouncycastle.openssl.MiscPEMGenerator.hexEncodingTable:[B
iload 4
bipush 15
iand
baload
i2c
castore
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 1
arraylength
if_icmpne 3
end local 3 8: new java.lang.String
dup
aload 2
invokespecial java.lang.String.<init>:([C)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/bouncycastle/openssl/MiscPEMGenerator;
0 9 1 bytes [B
1 9 2 chars [C
2 8 3 i I
4 6 4 v I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bytes
public org.bouncycastle.util.io.pem.PemObject generate();
descriptor: ()Lorg/bouncycastle/util/io/pem/PemObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield org.bouncycastle.openssl.MiscPEMGenerator.obj:Ljava/lang/Object;
invokevirtual org.bouncycastle.openssl.MiscPEMGenerator.createPemObject:(Ljava/lang/Object;)Lorg/bouncycastle/util/io/pem/PemObject;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new org.bouncycastle.util.io.pem.PemGenerationException
dup
new java.lang.StringBuilder
dup
ldc "encoding exception: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
aload 1
invokespecial org.bouncycastle.util.io.pem.PemGenerationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/openssl/MiscPEMGenerator;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.util.io.pem.PemGenerationException
}
SourceFile: "MiscPEMGenerator.java"