Bouncy Castle Cryptography Library 1.49

org.bouncycastle.pqc.crypto.mceliece
Class McElieceFujisakiDigestCipher

java.lang.Object
  extended by org.bouncycastle.pqc.crypto.mceliece.McElieceFujisakiDigestCipher

public class McElieceFujisakiDigestCipher
extends java.lang.Object


Constructor Summary
McElieceFujisakiDigestCipher(MessageEncryptor mcElieceCCA2Cipher, Digest messDigest)
           
 
Method Summary
 void init(boolean forEncrypting, CipherParameters param)
           
 byte[] messageDecrypt(byte[] ciphertext)
           
 byte[] messageEncrypt()
           
 void reset()
           
 void update(byte b)
           
 void update(byte[] in, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

McElieceFujisakiDigestCipher

public McElieceFujisakiDigestCipher(MessageEncryptor mcElieceCCA2Cipher,
                                    Digest messDigest)
Method Detail

init

public void init(boolean forEncrypting,
                 CipherParameters param)

messageEncrypt

public byte[] messageEncrypt()

messageDecrypt

public byte[] messageDecrypt(byte[] ciphertext)

update

public void update(byte b)

update

public void update(byte[] in,
                   int off,
                   int len)

reset

public void reset()

Bouncy Castle Cryptography Library 1.49