| Modifier and Type | Field and Description |
|---|---|
| public int | |
| private boolean | |
| private int | |
| private McElieceKeyParameters | |
| public int | |
| private int | |
| public static final String | OID
The OID of the algorithm. |
| private SecureRandom | |
| private int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private byte[] | |
| private GF2Vector | |
| public int | Returns: the keysize of the given key objectthe McElieceKeyParameters 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[] | Returns: the plain textthe cipher text input)Implements org. Decrypt a cipher text. |
| public byte[] | Returns: the cipher textthe plain text input)Implements org. Encrypt a plain text. |
| cipherTextSize | back to summary |
|---|---|
| public int cipherTextSize | |
| forEncryption | back to summary |
|---|---|
| private boolean forEncryption | |
| k | back to summary |
|---|---|
| private int k | |
| key | back to summary |
|---|---|
| private McElieceKeyParameters key | |
| maxPlainTextSize | back to summary |
|---|---|
| public int maxPlainTextSize | |
| n | back to summary |
|---|---|
| private int n | |
| OID | back to summary |
|---|---|
| public static final String OID The OID of the algorithm. | |
| sr | back to summary |
|---|---|
| private SecureRandom sr | |
| t | back to summary |
|---|---|
| private int t | |
| McElieceCipher | back to summary |
|---|---|
| public McElieceCipher() | |
| computeMessage | back to summary |
|---|---|
| private byte[] computeMessage(GF2Vector mr) throws InvalidCipherTextException | |
| computeMessageRepresentative | back to summary |
|---|---|
| private GF2Vector computeMessageRepresentative(byte[] input) | |
| getKeySize | back to summary |
|---|---|
| public int getKeySize(McElieceKeyParameters 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(McEliecePrivateKeyParameters privKey) | |
| initCipherEncrypt | back to summary |
|---|---|
| private void initCipherEncrypt(McEliecePublicKeyParameters pubKey) | |
| messageDecrypt | back to summary |
|---|---|
| public byte[] messageDecrypt(byte[] input) throws InvalidCipherTextException Implements org. Decrypt a cipher text.
| |
| messageEncrypt | back to summary |
|---|---|
| public byte[] messageEncrypt(byte[] input) Implements org. Encrypt a plain text.
| |