public class org.bouncycastle.eac.EACCertificateBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.eac.EACCertificateBuilder
super_class: java.lang.Object
{
private static final byte[] ZeroArray;
descriptor: [B
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private org.bouncycastle.asn1.eac.PublicKeyDataObject publicKey;
descriptor: Lorg/bouncycastle/asn1/eac/PublicKeyDataObject;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.eac.CertificateHolderAuthorization certificateHolderAuthorization;
descriptor: Lorg/bouncycastle/asn1/eac/CertificateHolderAuthorization;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.eac.PackedDate certificateEffectiveDate;
descriptor: Lorg/bouncycastle/asn1/eac/PackedDate;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.eac.PackedDate certificateExpirationDate;
descriptor: Lorg/bouncycastle/asn1/eac/PackedDate;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.eac.CertificateHolderReference certificateHolderReference;
descriptor: Lorg/bouncycastle/asn1/eac/CertificateHolderReference;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.eac.CertificationAuthorityReference certificationAuthorityReference;
descriptor: Lorg/bouncycastle/asn1/eac/CertificationAuthorityReference;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_1
newarray 8
putstatic org.bouncycastle.eac.EACCertificateBuilder.ZeroArray:[B
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.bouncycastle.asn1.eac.CertificationAuthorityReference, org.bouncycastle.asn1.eac.PublicKeyDataObject, org.bouncycastle.asn1.eac.CertificateHolderReference, org.bouncycastle.asn1.eac.CertificateHolderAuthorization, org.bouncycastle.asn1.eac.PackedDate, org.bouncycastle.asn1.eac.PackedDate);
descriptor: (Lorg/bouncycastle/asn1/eac/CertificationAuthorityReference;Lorg/bouncycastle/asn1/eac/PublicKeyDataObject;Lorg/bouncycastle/asn1/eac/CertificateHolderReference;Lorg/bouncycastle/asn1/eac/CertificateHolderAuthorization;Lorg/bouncycastle/asn1/eac/PackedDate;Lorg/bouncycastle/asn1/eac/PackedDate;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.eac.EACCertificateBuilder.certificationAuthorityReference:Lorg/bouncycastle/asn1/eac/CertificationAuthorityReference;
2: aload 0
aload 2
putfield org.bouncycastle.eac.EACCertificateBuilder.publicKey:Lorg/bouncycastle/asn1/eac/PublicKeyDataObject;
3: aload 0
aload 3
putfield org.bouncycastle.eac.EACCertificateBuilder.certificateHolderReference:Lorg/bouncycastle/asn1/eac/CertificateHolderReference;
4: aload 0
aload 4
putfield org.bouncycastle.eac.EACCertificateBuilder.certificateHolderAuthorization:Lorg/bouncycastle/asn1/eac/CertificateHolderAuthorization;
5: aload 0
aload 5
putfield org.bouncycastle.eac.EACCertificateBuilder.certificateEffectiveDate:Lorg/bouncycastle/asn1/eac/PackedDate;
6: aload 0
aload 6
putfield org.bouncycastle.eac.EACCertificateBuilder.certificateExpirationDate:Lorg/bouncycastle/asn1/eac/PackedDate;
7: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/eac/EACCertificateBuilder;
0 8 1 certificationAuthorityReference Lorg/bouncycastle/asn1/eac/CertificationAuthorityReference;
0 8 2 publicKey Lorg/bouncycastle/asn1/eac/PublicKeyDataObject;
0 8 3 certificateHolderReference Lorg/bouncycastle/asn1/eac/CertificateHolderReference;
0 8 4 certificateHolderAuthorization Lorg/bouncycastle/asn1/eac/CertificateHolderAuthorization;
0 8 5 certificateEffectiveDate Lorg/bouncycastle/asn1/eac/PackedDate;
0 8 6 certificateExpirationDate Lorg/bouncycastle/asn1/eac/PackedDate;
MethodParameters:
Name Flags
certificationAuthorityReference
publicKey
certificateHolderReference
certificateHolderAuthorization
certificateEffectiveDate
certificateExpirationDate
private org.bouncycastle.asn1.eac.CertificateBody buildBody();
descriptor: ()Lorg/bouncycastle/asn1/eac/CertificateBody;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=3, args_size=1
start local 0 0: new org.bouncycastle.asn1.DERApplicationSpecific
dup
1: bipush 41
getstatic org.bouncycastle.eac.EACCertificateBuilder.ZeroArray:[B
2: invokespecial org.bouncycastle.asn1.DERApplicationSpecific.<init>:(I[B)V
astore 1
start local 1 3: new org.bouncycastle.asn1.eac.CertificateBody
dup
4: aload 1
5: aload 0
getfield org.bouncycastle.eac.EACCertificateBuilder.certificationAuthorityReference:Lorg/bouncycastle/asn1/eac/CertificationAuthorityReference;
6: aload 0
getfield org.bouncycastle.eac.EACCertificateBuilder.publicKey:Lorg/bouncycastle/asn1/eac/PublicKeyDataObject;
7: aload 0
getfield org.bouncycastle.eac.EACCertificateBuilder.certificateHolderReference:Lorg/bouncycastle/asn1/eac/CertificateHolderReference;
8: aload 0
getfield org.bouncycastle.eac.EACCertificateBuilder.certificateHolderAuthorization:Lorg/bouncycastle/asn1/eac/CertificateHolderAuthorization;
9: aload 0
getfield org.bouncycastle.eac.EACCertificateBuilder.certificateEffectiveDate:Lorg/bouncycastle/asn1/eac/PackedDate;
10: aload 0
getfield org.bouncycastle.eac.EACCertificateBuilder.certificateExpirationDate:Lorg/bouncycastle/asn1/eac/PackedDate;
11: invokespecial org.bouncycastle.asn1.eac.CertificateBody.<init>:(Lorg/bouncycastle/asn1/ASN1ApplicationSpecific;Lorg/bouncycastle/asn1/eac/CertificationAuthorityReference;Lorg/bouncycastle/asn1/eac/PublicKeyDataObject;Lorg/bouncycastle/asn1/eac/CertificateHolderReference;Lorg/bouncycastle/asn1/eac/CertificateHolderAuthorization;Lorg/bouncycastle/asn1/eac/PackedDate;Lorg/bouncycastle/asn1/eac/PackedDate;)V
astore 2
start local 2 12: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/eac/EACCertificateBuilder;
3 13 1 certificateProfileIdentifier Lorg/bouncycastle/asn1/DERApplicationSpecific;
12 13 2 body Lorg/bouncycastle/asn1/eac/CertificateBody;
public org.bouncycastle.eac.EACCertificateHolder build(org.bouncycastle.eac.operator.EACSigner);
descriptor: (Lorg/bouncycastle/eac/operator/EACSigner;)Lorg/bouncycastle/eac/EACCertificateHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.bouncycastle.eac.EACCertificateBuilder.buildBody:()Lorg/bouncycastle/asn1/eac/CertificateBody;
astore 2
start local 2 1: aload 1
invokeinterface org.bouncycastle.eac.operator.EACSigner.getOutputStream:()Ljava/io/OutputStream;
astore 3
start local 3 2: aload 3
aload 2
ldc "DER"
invokevirtual org.bouncycastle.asn1.eac.CertificateBody.getEncoded:(Ljava/lang/String;)[B
invokevirtual java.io.OutputStream.write:([B)V
3: aload 3
invokevirtual java.io.OutputStream.close:()V
4: new org.bouncycastle.eac.EACCertificateHolder
dup
new org.bouncycastle.asn1.eac.CVCertificate
dup
aload 2
aload 1
invokeinterface org.bouncycastle.eac.operator.EACSigner.getSignature:()[B
invokespecial org.bouncycastle.asn1.eac.CVCertificate.<init>:(Lorg/bouncycastle/asn1/eac/CertificateBody;[B)V
invokespecial org.bouncycastle.eac.EACCertificateHolder.<init>:(Lorg/bouncycastle/asn1/eac/CVCertificate;)V
5: areturn
end local 3 end local 2 6: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 7: new org.bouncycastle.eac.EACException
dup
new java.lang.StringBuilder
dup
ldc "unable to process signature: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Exception.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
invokespecial org.bouncycastle.eac.EACException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/eac/EACCertificateBuilder;
0 8 1 signer Lorg/bouncycastle/eac/operator/EACSigner;
1 6 2 body Lorg/bouncycastle/asn1/eac/CertificateBody;
2 6 3 vOut Ljava/io/OutputStream;
7 8 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 5 6 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.eac.EACException
MethodParameters:
Name Flags
signer
}
SourceFile: "EACCertificateBuilder.java"