|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlockEncryptorEngineExt
The BlockEncryptorEngineExt interface describes the functionality of using a block cipher
for encryption.
| Method Summary | ||
|---|---|---|
|
void |
encrypt(byte[] plaintext,
int plaintextOffset,
byte[] ciphertext,
int ciphertextOffset,
int numBlocks)
Encrypts a series of blocks of the given plaintext into a series of blocks of ciphertext. |
| Methods inherited from interface net.rim.device.api.crypto.BlockEncryptorEngine |
|---|
encrypt, getAlgorithm, getBlockLength |
| Method Detail |
|---|
void encrypt(byte[] plaintext,
int plaintextOffset,
byte[] ciphertext,
int ciphertextOffset,
int numBlocks)
throws CryptoTokenException
plaintext - A byte array containing the input that is to be encrypted.plaintextOffset - The starting offset, or initial byte position, of
the data within the input array.ciphertext - A byte array to hold the ciphertext output from the method.ciphertextOffset - The starting offset, or initial byte position, of
the data within the output array.numBlocks - The number of blocks to encrypt.
CryptoTokenException - Thrown when an problem occurs with the
crypto token or the crypto token is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal