public class org.bouncycastle.dvcs.MessageImprintBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.dvcs.MessageImprintBuilder
super_class: java.lang.Object
{
private final org.bouncycastle.operator.DigestCalculator digestCalculator;
descriptor: Lorg/bouncycastle/operator/DigestCalculator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.bouncycastle.operator.DigestCalculator);
descriptor: (Lorg/bouncycastle/operator/DigestCalculator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.dvcs.MessageImprintBuilder this
start local 1 // org.bouncycastle.operator.DigestCalculator digestCalculator
0: .line 12
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 14
aload 0 /* this */
aload 1 /* digestCalculator */
putfield org.bouncycastle.dvcs.MessageImprintBuilder.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
2: .line 15
return
end local 1 // org.bouncycastle.operator.DigestCalculator digestCalculator
end local 0 // org.bouncycastle.dvcs.MessageImprintBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/dvcs/MessageImprintBuilder;
0 3 1 digestCalculator Lorg/bouncycastle/operator/DigestCalculator;
MethodParameters:
Name Flags
digestCalculator
public org.bouncycastle.dvcs.MessageImprint build(byte[]);
descriptor: ([B)Lorg/bouncycastle/dvcs/MessageImprint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 // org.bouncycastle.dvcs.MessageImprintBuilder this
start local 1 // byte[] message
0: .line 22
aload 0 /* this */
getfield org.bouncycastle.dvcs.MessageImprintBuilder.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
astore 2 /* dOut */
start local 2 // java.io.OutputStream dOut
1: .line 24
aload 2 /* dOut */
aload 1 /* message */
invokevirtual java.io.OutputStream.write:([B)V
2: .line 26
aload 2 /* dOut */
invokevirtual java.io.OutputStream.close:()V
3: .line 28
new org.bouncycastle.dvcs.MessageImprint
dup
new org.bouncycastle.asn1.x509.DigestInfo
dup
aload 0 /* this */
getfield org.bouncycastle.dvcs.MessageImprintBuilder.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
aload 0 /* this */
getfield org.bouncycastle.dvcs.MessageImprintBuilder.digestCalculator:Lorg/bouncycastle/operator/DigestCalculator;
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
invokespecial org.bouncycastle.asn1.x509.DigestInfo.<init>:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;[B)V
invokespecial org.bouncycastle.dvcs.MessageImprint.<init>:(Lorg/bouncycastle/asn1/x509/DigestInfo;)V
4: areturn
end local 2 // java.io.OutputStream dOut
5: .line 30
StackMap locals:
StackMap stack: java.lang.Exception
astore 2 /* e */
start local 2 // java.lang.Exception e
6: .line 32
new org.bouncycastle.dvcs.DVCSException
dup
new java.lang.StringBuilder
dup
ldc "unable to build MessageImprint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2 /* e */
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 /* e */
invokespecial org.bouncycastle.dvcs.DVCSException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 // java.lang.Exception e
end local 1 // byte[] message
end local 0 // org.bouncycastle.dvcs.MessageImprintBuilder this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/dvcs/MessageImprintBuilder;
0 7 1 message [B
1 5 2 dOut Ljava/io/OutputStream;
6 7 2 e Ljava/lang/Exception;
Exception table:
from to target type
0 4 5 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.dvcs.DVCSException
MethodParameters:
Name Flags
message
}
SourceFile: "MessageImprintBuilder.java"