McEliecePKCSDigestCipher (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.pqc.crypto.mceliece

## Class McEliecePKCSDigestCipher

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

-     public class McEliecePKCSDigestCipher
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `McEliecePKCSDigestCipher(MessageEncryptor mcElieceCipher, 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

    - #### McEliecePKCSDigestCipher

          public McEliecePKCSDigestCipher(MessageEncryptor mcElieceCipher,
                                  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()