public class AttachmentCipherInputStream
extends java.io.FileInputStream
| Constructor and Description |
|---|
AttachmentCipherInputStream(java.io.File file,
byte[] combinedKeyMaterial) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
markSupported() |
int |
read(byte[] buffer) |
int |
read(byte[] buffer,
int offset,
int length) |
long |
skip(long byteCount) |
public AttachmentCipherInputStream(java.io.File file,
byte[] combinedKeyMaterial)
throws java.io.IOException,
org.whispersystems.libsignal.InvalidMessageException
java.io.IOExceptionorg.whispersystems.libsignal.InvalidMessageExceptionpublic int read(byte[] buffer)
throws java.io.IOException
read in class java.io.FileInputStreamjava.io.IOExceptionpublic int read(byte[] buffer,
int offset,
int length)
throws java.io.IOException
read in class java.io.FileInputStreamjava.io.IOExceptionpublic boolean markSupported()
markSupported in class java.io.InputStreampublic long skip(long byteCount)
throws java.io.IOException
skip in class java.io.FileInputStreamjava.io.IOException