Bouncy Castle Cryptography 1.30

org.bouncycastle.bcpg
Class ModDetectionCodePacket

java.lang.Object
  |
  +--org.bouncycastle.bcpg.Packet
        |
        +--org.bouncycastle.bcpg.ContainedPacket
              |
              +--org.bouncycastle.bcpg.ModDetectionCodePacket

public class ModDetectionCodePacket
extends ContainedPacket

basic packet for a mdoification detection code packet.


Constructor Summary
ModDetectionCodePacket(byte[] digest)
           
 
Method Summary
 void encode(BCPGOutputStream out)
           
 byte[] getDigest()
           
 
Methods inherited from class org.bouncycastle.bcpg.ContainedPacket
getEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModDetectionCodePacket

public ModDetectionCodePacket(byte[] digest)
                       throws java.io.IOException
Method Detail

getDigest

public byte[] getDigest()

encode

public void encode(BCPGOutputStream out)
            throws java.io.IOException
Overrides:
encode in class ContainedPacket

Bouncy Castle Cryptography 1.30