McElieceKobaraImaiDigestCipher (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.pqc.crypto.mceliece

## Class McElieceKobaraImaiDigestCipher

- java.lang.Object
- - org.bouncycastle.pqc.crypto.mceliece.McElieceKobaraImaiDigestCipher

-     public class McElieceKobaraImaiDigestCipher
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `McElieceKobaraImaiDigestCipher(MessageEncryptor mcElieceCCA2Cipher, Digest messDigest)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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

    - #### McElieceKobaraImaiDigestCipher

          public McElieceKobaraImaiDigestCipher(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()