public static interface CryptoStreamUtils.BaseErrorHandler
extends java.io.Closeable
This should be removed once CRYPTO-141 is fixed (and Spark upgrades its commons-crypto dependency).
| Modifier and Type | Method and Description | 
|---|---|
java.io.Closeable | 
cipherStream()
The encrypted stream that may get into an unhealthy state. 
 | 
void | 
close()  | 
java.io.Closeable | 
original()
The underlying stream that is being wrapped by the encrypted stream, so that it can be
 closed even if there's an error in the crypto layer. 
 | 
<T> T | 
safeCall(scala.Function0<T> fn)  | 
java.io.Closeable cipherStream()
void close()
close in interface AutoCloseableclose in interface java.io.Closeablejava.io.Closeable original()
<T> T safeCall(scala.Function0<T> fn)