|
|||||||||
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-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.