| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private ByteArrayOutputStream | buf
buffer to store the input data |
| private McEliecePointchevalCipher | |
| private Digest |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected int | decryptOutputSize(int
the length of the input inLen)Implements abstract org. |
| public byte[] | Returns: the new buffer with the resultthe input buffer input, int the offset in input where the input starts inOff, int the input length inLen)Implements abstract org. |
| protected int | encryptOutputSize(int
the length of the input inLen)Implements abstract org. |
| public int | getKeySize(Key
the key object key)Implements abstract org. |
| public String | |
| protected void | initCipherDecrypt(Key
the key which has to be used to decrypt data key, AlgorithmParameterSpec the algorithm parameters params)Implements abstract org. |
| protected void | initCipherEncrypt(Key
the key which has to be used to encrypt data key, AlgorithmParameterSpec the algorithm parameters params, SecureRandom the source of randomness sr)Implements abstract org. |
| public byte[] | Returns: the processed byte array.byte array containing the next part of the input input, int index in the array where the input starts inOff, int length of the input inLen)Implements abstract org. |
| buf | back to summary |
|---|---|
| private ByteArrayOutputStream buf buffer to store the input data | |
| cipher | back to summary |
|---|---|
| private McEliecePointchevalCipher cipher | |
| digest | back to summary |
|---|---|
| private Digest digest | |
| McEliecePointchevalCipherSpi | back to summary |
|---|---|
| protected McEliecePointchevalCipherSpi(Digest digest, McEliecePointchevalCipher cipher) | |
| decryptOutputSize | back to summary |
|---|---|
| protected int decryptOutputSize(int inLen) Implements abstract org. Doc from org. Compute the output size of an update() or doFinal() operation of a hybrid asymmetric cipher in decryption mode when given input of the specified length.
| |
| doFinal | back to summary |
|---|---|
| public byte[] doFinal(byte[] input, int inOff, int inLen) throws BadPaddingException Implements abstract org. Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation. The data is encrypted or decrypted, depending on how this cipher was initialized.
| |
| encryptOutputSize | back to summary |
|---|---|
| protected int encryptOutputSize(int inLen) Implements abstract org. Doc from org. Compute the output size of an update() or doFinal() operation of a hybrid asymmetric cipher in encryption mode when given input of the specified length.
| |
| getKeySize | back to summary |
|---|---|
| public int getKeySize(Key key) throws InvalidKeyException Implements abstract org. Doc from org. Return the key size of the given key object in bits.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org.
| |
| initCipherDecrypt | back to summary |
|---|---|
| protected void initCipherDecrypt(Key key, AlgorithmParameterSpec params) throws InvalidKeyException, InvalidAlgorithmParameterException Implements abstract org. Doc from org. Initialize the AsymmetricHybridCipher with a certain key for data encryption.
| |
| initCipherEncrypt | back to summary |
|---|---|
| protected void initCipherEncrypt(Key key, AlgorithmParameterSpec params, SecureRandom sr) throws InvalidKeyException, InvalidAlgorithmParameterException Implements abstract org. Doc from org. Initialize the AsymmetricHybridCipher with a certain key for data encryption.
| |
| update | back to summary |
|---|---|
| public byte[] update(byte[] input, int inOff, int inLen) Implements abstract org. Continue a multiple-part encryption or decryption operation.
| |
| Access | Constructor and Description |
|---|---|
| public |
| McEliecePointcheval | back to summary |
|---|---|
| public McEliecePointcheval() | |
| Access | Constructor and Description |
|---|---|
| public |
| McEliecePointcheval224 | back to summary |
|---|---|
| public McEliecePointcheval224() | |
| Access | Constructor and Description |
|---|---|
| public |
| McEliecePointcheval256 | back to summary |
|---|---|
| public McEliecePointcheval256() | |
| Access | Constructor and Description |
|---|---|
| public |
| McEliecePointcheval384 | back to summary |
|---|---|
| public McEliecePointcheval384() | |
| Access | Constructor and Description |
|---|---|
| public |
| McEliecePointcheval512 | back to summary |
|---|---|
| public McEliecePointcheval512() | |