public class org.bouncycastle.dvcs.SignedDVCSMessageGenerator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.dvcs.SignedDVCSMessageGenerator
super_class: java.lang.Object
{
private final org.bouncycastle.cms.CMSSignedDataGenerator signedDataGen;
descriptor: Lorg/bouncycastle/cms/CMSSignedDataGenerator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.bouncycastle.cms.CMSSignedDataGenerator);
descriptor: (Lorg/bouncycastle/cms/CMSSignedDataGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.dvcs.SignedDVCSMessageGenerator this
start local 1 // org.bouncycastle.cms.CMSSignedDataGenerator signedDataGen
0: .line 15
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 17
aload 0 /* this */
aload 1 /* signedDataGen */
putfield org.bouncycastle.dvcs.SignedDVCSMessageGenerator.signedDataGen:Lorg/bouncycastle/cms/CMSSignedDataGenerator;
2: .line 18
return
end local 1 // org.bouncycastle.cms.CMSSignedDataGenerator signedDataGen
end local 0 // org.bouncycastle.dvcs.SignedDVCSMessageGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/dvcs/SignedDVCSMessageGenerator;
0 3 1 signedDataGen Lorg/bouncycastle/cms/CMSSignedDataGenerator;
MethodParameters:
Name Flags
signedDataGen
public org.bouncycastle.cms.CMSSignedData build(org.bouncycastle.dvcs.DVCSMessage);
descriptor: (Lorg/bouncycastle/dvcs/DVCSMessage;)Lorg/bouncycastle/cms/CMSSignedData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 // org.bouncycastle.dvcs.SignedDVCSMessageGenerator this
start local 1 // org.bouncycastle.dvcs.DVCSMessage message
0: .line 32
aload 1 /* message */
invokevirtual org.bouncycastle.dvcs.DVCSMessage.getContent:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokeinterface org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
ldc "DER"
invokevirtual org.bouncycastle.asn1.ASN1Primitive.getEncoded:(Ljava/lang/String;)[B
astore 2 /* encapsulatedData */
start local 2 // byte[] encapsulatedData
1: .line 34
aload 0 /* this */
getfield org.bouncycastle.dvcs.SignedDVCSMessageGenerator.signedDataGen:Lorg/bouncycastle/cms/CMSSignedDataGenerator;
new org.bouncycastle.cms.CMSProcessableByteArray
dup
aload 1 /* message */
invokevirtual org.bouncycastle.dvcs.DVCSMessage.getContentType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 2 /* encapsulatedData */
invokespecial org.bouncycastle.cms.CMSProcessableByteArray.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[B)V
iconst_1
invokevirtual org.bouncycastle.cms.CMSSignedDataGenerator.generate:(Lorg/bouncycastle/cms/CMSTypedData;Z)Lorg/bouncycastle/cms/CMSSignedData;
2: areturn
end local 2 // byte[] encapsulatedData
3: .line 36
StackMap locals:
StackMap stack: org.bouncycastle.cms.CMSException
astore 2 /* e */
start local 2 // org.bouncycastle.cms.CMSException e
4: .line 38
new org.bouncycastle.dvcs.DVCSException
dup
ldc "Could not sign DVCS request"
aload 2 /* e */
invokespecial org.bouncycastle.dvcs.DVCSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 // org.bouncycastle.cms.CMSException e
5: .line 40
StackMap locals:
StackMap stack: java.io.IOException
astore 2 /* e */
start local 2 // java.io.IOException e
6: .line 42
new org.bouncycastle.dvcs.DVCSException
dup
ldc "Could not encode DVCS request"
aload 2 /* e */
invokespecial org.bouncycastle.dvcs.DVCSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 // java.io.IOException e
end local 1 // org.bouncycastle.dvcs.DVCSMessage message
end local 0 // org.bouncycastle.dvcs.SignedDVCSMessageGenerator this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/dvcs/SignedDVCSMessageGenerator;
0 7 1 message Lorg/bouncycastle/dvcs/DVCSMessage;
1 3 2 encapsulatedData [B
4 5 2 e Lorg/bouncycastle/cms/CMSException;
6 7 2 e Ljava/io/IOException;
Exception table:
from to target type
0 2 3 Class org.bouncycastle.cms.CMSException
0 2 5 Class java.io.IOException
Exceptions:
throws org.bouncycastle.dvcs.DVCSException
MethodParameters:
Name Flags
message
}
SourceFile: "SignedDVCSMessageGenerator.java"