| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private boolean | |
| private int | k
The McEliece main parameters |
| pack-priv McElieceCCA2KeyParameters | |
| private Digest | |
| private int | n
The McEliece main parameters |
| public static final String | OID
The OID of the algorithm. |
| public static final byte[] | PUBLIC_CONSTANT
A predetermined public constant. |
| private SecureRandom | |
| private int | t
The McEliece main parameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the key size of the given key objectthe McElieceCCA2KeyParameters object key)Return the key size of the given key object. |
| public void | init(boolean
true if we are encrypting a signature, false
otherwise. forEncryption, CipherParameters key parameters for encryption or decryption. param)Implements org.
|
| private void | |
| private void | |
| public byte[] | messageDecrypt(byte[]
the cipher text of the message input)Implements org.
|
| public byte[] | messageEncrypt(byte[]
the message to be signed. input)Implements org.
|
| DEFAULT_PRNG_NAME | back to summary |
|---|---|
| private static final String DEFAULT_PRNG_NAME | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| k | back to summary |
|---|---|
| private int k The McEliece main parameters | |
| key | back to summary |
|---|---|
| pack-priv McElieceCCA2KeyParameters key | |
| messDigest | back to summary |
|---|---|
| private Digest messDigest | |
| n | back to summary |
|---|---|
| private int n The McEliece main parameters | |
| OID | back to summary |
|---|---|
| public static final String OID The OID of the algorithm. | |
| PUBLIC_CONSTANT | back to summary |
|---|---|
| public static final byte[] PUBLIC_CONSTANT A predetermined public constant. | |
| sr | back to summary |
|---|---|
| private SecureRandom sr | |
| t | back to summary |
|---|---|
| private int t The McEliece main parameters | |
| McElieceKobaraImaiCipher | back to summary |
|---|---|
| public McElieceKobaraImaiCipher() | |
| getKeySize | back to summary |
|---|---|
| public int getKeySize(McElieceCCA2KeyParameters key) Return the key size of the given key object.
| |
| init | back to summary |
|---|---|
| public void init(boolean forEncryption, CipherParameters param) Implements org.
| |
| initCipherDecrypt | back to summary |
|---|---|
| private void initCipherDecrypt(McElieceCCA2PrivateKeyParameters privKey) | |
| initCipherEncrypt | back to summary |
|---|---|
| private void initCipherEncrypt(McElieceCCA2PublicKeyParameters pubKey) | |
| messageDecrypt | back to summary |
|---|---|
| public byte[] messageDecrypt(byte[] input) throws InvalidCipherTextException Implements org.
| |
| messageEncrypt | back to summary |
|---|---|
| public byte[] messageEncrypt(byte[] input) Implements org.
| |