class org.bouncycastle.cert.crmf.CRMFUtil
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cert.crmf.CRMFUtil
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/crmf/CRMFUtil;
static void derEncodeToStream(org.bouncycastle.asn1.ASN1Encodable, java.io.OutputStream);
descriptor: (Lorg/bouncycastle/asn1/ASN1Encodable;Ljava/io/OutputStream;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new org.bouncycastle.asn1.DEROutputStream
dup
aload 1
invokespecial org.bouncycastle.asn1.DEROutputStream.<init>:(Ljava/io/OutputStream;)V
astore 2
start local 2 1: aload 2
aload 0
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
2: aload 2
invokevirtual org.bouncycastle.asn1.DEROutputStream.close:()V
3: goto 6
4: StackMap locals: org.bouncycastle.asn1.ASN1Encodable java.io.OutputStream org.bouncycastle.asn1.DEROutputStream
StackMap stack: java.io.IOException
astore 3
start local 3 5: new org.bouncycastle.cert.crmf.CRMFRuntimeException
dup
new java.lang.StringBuilder
dup
ldc "unable to DER encode object: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
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 3
invokespecial org.bouncycastle.cert.crmf.CRMFRuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Lorg/bouncycastle/asn1/ASN1Encodable;
0 7 1 stream Ljava/io/OutputStream;
1 7 2 dOut Lorg/bouncycastle/asn1/DEROutputStream;
5 6 3 e Ljava/io/IOException;
Exception table:
from to target type
1 3 4 Class java.io.IOException
MethodParameters:
Name Flags
obj
stream
static void addExtension(org.bouncycastle.asn1.x509.ExtensionsGenerator, org.bouncycastle.asn1.ASN1ObjectIdentifier, boolean, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ZLorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
aload 3
invokevirtual org.bouncycastle.asn1.x509.ExtensionsGenerator.addExtension:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ZLorg/bouncycastle/asn1/ASN1Encodable;)V
1: goto 4
2: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 3: new org.bouncycastle.cert.CertIOException
dup
new java.lang.StringBuilder
dup
ldc "cannot encode extension: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
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 4
invokespecial org.bouncycastle.cert.CertIOException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 4: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 extGenerator Lorg/bouncycastle/asn1/x509/ExtensionsGenerator;
0 5 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 5 2 isCritical Z
0 5 3 value Lorg/bouncycastle/asn1/ASN1Encodable;
3 4 4 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cert.CertIOException
MethodParameters:
Name Flags
extGenerator
oid
isCritical
value
}
SourceFile: "CRMFUtil.java"