Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class ModDetectionCodePacket

extends ContainedPacket
Class Inheritance
Imports
java.io.IOException

basic packet for a modification detection code packet.

Field Summary

Modifier and TypeField and Description
private byte[]

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv
ModDetectionCodePacket(BCPGInputStream in, boolean newPacketFormat)

public
ModDetectionCodePacket(byte[] digest)

Method Summary

Modifier and TypeMethod and Description
public void
public byte[]
Inherited from org.bouncycastle.bcpg.ContainedPacket:
getEncodedgetEncoded

Field Detail

digestback to summary
private byte[] digest

Constructor Detail

ModDetectionCodePacketback to summary
pack-priv ModDetectionCodePacket(BCPGInputStream in) throws IOException
ModDetectionCodePacketback to summary
pack-priv ModDetectionCodePacket(BCPGInputStream in, boolean newPacketFormat) throws IOException
ModDetectionCodePacketback to summary
public ModDetectionCodePacket(byte[] digest) throws IOException

Method Detail

encodeback to summary
public void encode(BCPGOutputStream out) throws IOException

Implements abstract org.bouncycastle.bcpg.ContainedPacket.encode.

getDigestback to summary
public byte[] getDigest()