public class org.bouncycastle.cert.jcajce.JcaX509CertificateConverter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.jcajce.JcaX509CertificateConverter
super_class: java.lang.Object
{
private org.bouncycastle.cert.jcajce.CertHelper helper;
descriptor: Lorg/bouncycastle/cert/jcajce/CertHelper;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
0: .line 24
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 19
aload 0 /* this */
new org.bouncycastle.cert.jcajce.DefaultCertHelper
dup
invokespecial org.bouncycastle.cert.jcajce.DefaultCertHelper.<init>:()V
putfield org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.helper:Lorg/bouncycastle/cert/jcajce/CertHelper;
2: .line 26
aload 0 /* this */
new org.bouncycastle.cert.jcajce.DefaultCertHelper
dup
invokespecial org.bouncycastle.cert.jcajce.DefaultCertHelper.<init>:()V
putfield org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.helper:Lorg/bouncycastle/cert/jcajce/CertHelper;
3: .line 27
return
end local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
public org.bouncycastle.cert.jcajce.JcaX509CertificateConverter setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
start local 1 // java.security.Provider provider
0: .line 37
aload 0 /* this */
new org.bouncycastle.cert.jcajce.ProviderCertHelper
dup
aload 1 /* provider */
invokespecial org.bouncycastle.cert.jcajce.ProviderCertHelper.<init>:(Ljava/security/Provider;)V
putfield org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.helper:Lorg/bouncycastle/cert/jcajce/CertHelper;
1: .line 39
aload 0 /* this */
areturn
end local 1 // java.security.Provider provider
end local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cert.jcajce.JcaX509CertificateConverter setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
start local 1 // java.lang.String providerName
0: .line 50
aload 0 /* this */
new org.bouncycastle.cert.jcajce.NamedCertHelper
dup
aload 1 /* providerName */
invokespecial org.bouncycastle.cert.jcajce.NamedCertHelper.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.helper:Lorg/bouncycastle/cert/jcajce/CertHelper;
1: .line 52
aload 0 /* this */
areturn
end local 1 // java.lang.String providerName
end local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public java.security.cert.X509Certificate getCertificate(org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Lorg/bouncycastle/cert/X509CertificateHolder;)Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
start local 1 // org.bouncycastle.cert.X509CertificateHolder certHolder
0: .line 67
aload 0 /* this */
getfield org.bouncycastle.cert.jcajce.JcaX509CertificateConverter.helper:Lorg/bouncycastle/cert/jcajce/CertHelper;
ldc "X.509"
invokevirtual org.bouncycastle.cert.jcajce.CertHelper.getCertificateFactory:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
astore 2 /* cFact */
start local 2 // java.security.cert.CertificateFactory cFact
1: .line 69
aload 2 /* cFact */
new java.io.ByteArrayInputStream
dup
aload 1 /* certHolder */
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getEncoded:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
invokevirtual java.security.cert.CertificateFactory.generateCertificate:(Ljava/io/InputStream;)Ljava/security/cert/Certificate;
checkcast java.security.cert.X509Certificate
2: areturn
end local 2 // java.security.cert.CertificateFactory cFact
3: .line 71
StackMap locals:
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
4: .line 73
new org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateParsingException
dup
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc "exception parsing certificate: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* e */
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 2 /* e */
invokespecial org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateParsingException.<init>:(Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 // java.io.IOException e
5: .line 75
StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 2 /* e */
start local 2 // java.security.NoSuchProviderException e
6: .line 77
new org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateException
dup
aload 0 /* this */
new java.lang.StringBuilder
dup
ldc "cannot find required provider:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* e */
invokevirtual java.security.NoSuchProviderException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2 /* e */
invokespecial org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateException.<init>:(Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 // java.security.NoSuchProviderException e
end local 1 // org.bouncycastle.cert.X509CertificateHolder certHolder
end local 0 // org.bouncycastle.cert.jcajce.JcaX509CertificateConverter this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/jcajce/JcaX509CertificateConverter;
0 7 1 certHolder Lorg/bouncycastle/cert/X509CertificateHolder;
1 3 2 cFact Ljava/security/cert/CertificateFactory;
4 5 2 e Ljava/io/IOException;
6 7 2 e Ljava/security/NoSuchProviderException;
Exception table:
from to target type
0 2 3 Class java.io.IOException
0 2 5 Class java.security.NoSuchProviderException
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
certHolder
}
SourceFile: "JcaX509CertificateConverter.java"
NestMembers:
org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateException org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateParsingException
InnerClasses:
private ExCertificateException = org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateException of org.bouncycastle.cert.jcajce.JcaX509CertificateConverter
private ExCertificateParsingException = org.bouncycastle.cert.jcajce.JcaX509CertificateConverter$ExCertificateParsingException of org.bouncycastle.cert.jcajce.JcaX509CertificateConverter