|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
net.rim.device.api.crypto.CryptoInputStream
net.rim.device.api.crypto.DecryptorInputStream
net.rim.device.api.crypto.NullDecryptor
public final class 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
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: 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