|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--net.rim.device.api.crypto.CryptoInputStream
|
+--net.rim.device.api.crypto.DecryptorInputStream
|
+--net.rim.device.api.crypto.NullDecryptor
The NullDecryptor class provides no security.
NullEncryptor,
NullDigest| Field Summary |
| Fields inherited from class net.rim.device.api.crypto.CryptoInputStream |
_inputStream |
| Constructor Summary | ||
|
NullDecryptor(InputStream input)
Creates a NullDecryptor object that takes an underlying input stream. |
|
| Method Summary | ||
|
String |
getAlgorithm()
Returns the name of the signing algorithm used, ie "Null". |
|
int |
read(byte[] data,
int offset,
int length)
Reads from the underlying input stream without performing any additional processing. |
| Methods inherited from class net.rim.device.api.crypto.CryptoInputStream |
available, close, getInputStream, markSupported, read, read |
| Methods inherited from class java.io.InputStream |
mark, reset, skip |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NullDecryptor(InputStream input)
NullDecryptor object that takes an underlying input stream.
input - The input stream to use.| Method Detail |
public String getAlgorithm()
getAlgorithm in class CryptoInputStream
CryptoInputStream
public int read(byte[] data,
int offset,
int length)
throws IOException
read in class CryptoInputStreamdata - A byte array containing the data to be decrypted.offset - The offset, or initial position, of the data within the
array.length - The amount of data to be read in.IOException - Thrown if an I/O error occurs.CryptoInputStream.read()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2009 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.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.