public class org.bouncycastle.pkix.jcajce.JcaPKIXIdentity extends org.bouncycastle.pkix.PKIXIdentity
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkix.jcajce.JcaPKIXIdentity
super_class: org.bouncycastle.pkix.PKIXIdentity
{
private final java.security.PrivateKey privKey;
descriptor: Ljava/security/PrivateKey;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.security.cert.X509Certificate[] certs;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static org.bouncycastle.asn1.pkcs.PrivateKeyInfo getPrivateKeyInfo(java.security.PrivateKey);
descriptor: (Ljava/security/PrivateKey;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.security.PrivateKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.pkcs.PrivateKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 privateKey Ljava/security/PrivateKey;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
privateKey
private static org.bouncycastle.cert.X509CertificateHolder[] getCertificates(java.security.cert.X509Certificate[]);
descriptor: ([Ljava/security/cert/X509Certificate;)[Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
arraylength
anewarray org.bouncycastle.cert.X509CertificateHolder
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: org.bouncycastle.cert.X509CertificateHolder[] int
StackMap stack:
aload 1
iload 2
new org.bouncycastle.cert.jcajce.JcaX509CertificateHolder
dup
aload 0
iload 2
aaload
invokespecial org.bouncycastle.cert.jcajce.JcaX509CertificateHolder.<init>:(Ljava/security/cert/X509Certificate;)V
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmpne 3
end local 2 6: aload 1
7: areturn
8: StackMap locals: java.security.cert.X509Certificate[] org.bouncycastle.cert.X509CertificateHolder[]
StackMap stack: java.security.cert.CertificateEncodingException
astore 2
start local 2 9: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unable to process certificates: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.security.cert.CertificateEncodingException.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.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 certs [Ljava/security/cert/X509Certificate;
1 10 1 certHldrs [Lorg/bouncycastle/cert/X509CertificateHolder;
2 6 2 i I
9 10 2 e Ljava/security/cert/CertificateEncodingException;
Exception table:
from to target type
1 7 8 Class java.security.cert.CertificateEncodingException
MethodParameters:
Name Flags
certs
public void <init>(java.security.PrivateKey, java.security.cert.X509Certificate[]);
descriptor: (Ljava/security/PrivateKey;[Ljava/security/cert/X509Certificate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.getPrivateKeyInfo:(Ljava/security/PrivateKey;)Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;
aload 2
invokestatic org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.getCertificates:([Ljava/security/cert/X509Certificate;)[Lorg/bouncycastle/cert/X509CertificateHolder;
invokespecial org.bouncycastle.pkix.PKIXIdentity.<init>:(Lorg/bouncycastle/asn1/pkcs/PrivateKeyInfo;[Lorg/bouncycastle/cert/X509CertificateHolder;)V
1: aload 0
aload 1
putfield org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.privKey:Ljava/security/PrivateKey;
2: aload 0
aload 2
arraylength
anewarray java.security.cert.X509Certificate
putfield org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.certs:[Ljava/security/cert/X509Certificate;
3: aload 2
iconst_0
aload 0
getfield org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.certs:[Ljava/security/cert/X509Certificate;
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/pkix/jcajce/JcaPKIXIdentity;
0 5 1 privKey Ljava/security/PrivateKey;
0 5 2 certs [Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
privKey
certs
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 org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.privKey:Ljava/security/PrivateKey;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkix/jcajce/JcaPKIXIdentity;
public java.security.cert.X509Certificate getX509Certificate();
descriptor: ()Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkix.jcajce.JcaPKIXIdentity.certs:[Ljava/security/cert/X509Certificate;
iconst_0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkix/jcajce/JcaPKIXIdentity;
}
SourceFile: "JcaPKIXIdentity.java"