public class org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest extends org.bouncycastle.pkcs.PKCS10CertificationRequest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest
super_class: org.bouncycastle.pkcs.PKCS10CertificationRequest
{
private static java.util.Hashtable keyAlgorithms;
descriptor: Ljava/util/Hashtable;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private org.bouncycastle.jcajce.util.JcaJceHelper helper;
descriptor: Lorg/bouncycastle/jcajce/util/JcaJceHelper;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.keyAlgorithms:Ljava/util/Hashtable;
1: getstatic org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.keyAlgorithms:Ljava/util/Hashtable;
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.rsaEncryption:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
ldc "RSA"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: getstatic org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.keyAlgorithms:Ljava/util/Hashtable;
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.id_dsa:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
ldc "DSA"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.bouncycastle.asn1.pkcs.CertificationRequest);
descriptor: (Lorg/bouncycastle/asn1/pkcs/CertificationRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.bouncycastle.pkcs.PKCS10CertificationRequest.<init>:(Lorg/bouncycastle/asn1/pkcs/CertificationRequest;)V
1: aload 0
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
putfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
0 3 1 certificationRequest Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
MethodParameters:
Name Flags
certificationRequest
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.bouncycastle.pkcs.PKCS10CertificationRequest.<init>:([B)V
1: aload 0
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
putfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
0 3 1 encoding [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoding
public void <init>(org.bouncycastle.pkcs.PKCS10CertificationRequest);
descriptor: (Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.pkcs.PKCS10CertificationRequest.toASN1Structure:()Lorg/bouncycastle/asn1/pkcs/CertificationRequest;
invokespecial org.bouncycastle.pkcs.PKCS10CertificationRequest.<init>:(Lorg/bouncycastle/asn1/pkcs/CertificationRequest;)V
1: aload 0
new org.bouncycastle.jcajce.util.DefaultJcaJceHelper
dup
invokespecial org.bouncycastle.jcajce.util.DefaultJcaJceHelper.<init>:()V
putfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
0 3 1 requestHolder Lorg/bouncycastle/pkcs/PKCS10CertificationRequest;
MethodParameters:
Name Flags
requestHolder
public org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.jcajce.util.NamedJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.NamedJcaJceHelper.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.jcajce.util.ProviderJcaJceHelper
dup
aload 1
invokespecial org.bouncycastle.jcajce.util.ProviderJcaJceHelper.<init>:(Ljava/security/Provider;)V
putfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public java.security.PublicKey getPublicKey();
descriptor: ()Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.getSubjectPublicKeyInfo:()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
astore 1
start local 1 1: new java.security.spec.X509EncodedKeySpec
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getEncoded:()[B
invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
astore 2
start local 2 2: aload 0
getfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokeinterface org.bouncycastle.jcajce.util.JcaJceHelper.createKeyFactory:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 3
start local 3 3: goto 10
end local 3 4: StackMap locals: org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest org.bouncycastle.asn1.x509.SubjectPublicKeyInfo java.security.spec.X509EncodedKeySpec
StackMap stack: java.security.NoSuchAlgorithmException
astore 4
start local 4 5: getstatic org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.keyAlgorithms:Ljava/util/Hashtable;
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 9
6: getstatic org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.keyAlgorithms:Ljava/util/Hashtable;
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 5
start local 5 7: aload 0
getfield org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest.helper:Lorg/bouncycastle/jcajce/util/JcaJceHelper;
aload 5
invokeinterface org.bouncycastle.jcajce.util.JcaJceHelper.createKeyFactory:(Ljava/lang/String;)Ljava/security/KeyFactory;
astore 3
end local 5 start local 3 8: goto 10
end local 3 9: StackMap locals: org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest org.bouncycastle.asn1.x509.SubjectPublicKeyInfo java.security.spec.X509EncodedKeySpec top java.security.NoSuchAlgorithmException
StackMap stack:
aload 4
athrow
end local 4 start local 3 10: StackMap locals: org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest org.bouncycastle.asn1.x509.SubjectPublicKeyInfo java.security.spec.X509EncodedKeySpec java.security.KeyFactory
StackMap stack:
aload 3
aload 2
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
11: areturn
end local 3 end local 2 end local 1 12: StackMap locals: org.bouncycastle.pkcs.jcajce.JcaPKCS10CertificationRequest
StackMap stack: java.security.spec.InvalidKeySpecException
pop
13: new java.security.InvalidKeyException
dup
ldc "error decoding public key"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack: java.io.IOException
pop
15: new java.security.InvalidKeyException
dup
ldc "error extracting key encoding"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack: java.security.NoSuchProviderException
astore 1
start local 1 17: new java.security.NoSuchAlgorithmException
dup
new java.lang.StringBuilder
dup
ldc "cannot find provider: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
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;
invokespecial java.security.NoSuchAlgorithmException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bouncycastle/pkcs/jcajce/JcaPKCS10CertificationRequest;
1 12 1 keyInfo Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
2 12 2 xspec Ljava/security/spec/X509EncodedKeySpec;
3 4 3 kFact Ljava/security/KeyFactory;
8 9 3 kFact Ljava/security/KeyFactory;
10 12 3 kFact Ljava/security/KeyFactory;
5 10 4 e Ljava/security/NoSuchAlgorithmException;
7 8 5 keyAlgorithm Ljava/lang/String;
17 18 1 e Ljava/security/NoSuchProviderException;
Exception table:
from to target type
2 3 4 Class java.security.NoSuchAlgorithmException
0 11 12 Class java.security.spec.InvalidKeySpecException
0 11 14 Class java.io.IOException
0 11 16 Class java.security.NoSuchProviderException
Exceptions:
throws java.security.InvalidKeyException, java.security.NoSuchAlgorithmException
}
SourceFile: "JcaPKCS10CertificationRequest.java"