You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
/*
|
|
* Copyright (c) 2013 - present Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
package javax.crypto;
|
|
|
|
import com.facebook.infer.builtins.InferUndefined;
|
|
|
|
import java.io.FilterInputStream;
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
|
|
public class CipherInputStream extends FilterInputStream {
|
|
|
|
|
|
public CipherInputStream(InputStream is, Cipher c) {
|
|
super(is);
|
|
}
|
|
|
|
protected CipherInputStream(InputStream is) {
|
|
super(is);
|
|
}
|
|
|
|
public int available() throws IOException {
|
|
return InferUndefined.can_throw_ioexception_int();
|
|
}
|
|
|
|
public void close() throws IOException {
|
|
super.close();
|
|
}
|
|
|
|
public int read() throws IOException {
|
|
return InferUndefined.can_throw_ioexception_int();
|
|
}
|
|
|
|
public int read(byte b[]) throws IOException {
|
|
return InferUndefined.can_throw_ioexception_int();
|
|
}
|
|
|
|
public int read(byte b[], int off, int len) throws IOException {
|
|
return InferUndefined.can_throw_ioexception_int();
|
|
}
|
|
|
|
public long skip(long n) throws IOException {
|
|
return InferUndefined.can_throw_ioexception_long();
|
|
}
|
|
|
|
}
|