public abstract class BaseCipherPayload extends DelegatingPayload
Constructor and Description |
---|
BaseCipherPayload(Crypto crypto,
Payload delegate,
Key key) |
Modifier and Type | Method and Description |
---|---|
abstract Cipher |
initializeCipher(Key key) |
CipherInputStream |
openStream()
Creates a new InputStream object of the payload.
|
close, equals, getContentMetadata, getDelegate, getInput, getRawContent, hashCode, isRepeatable, isSensitive, release, setContentMetadata, setSensitive
protected final Crypto crypto
public CipherInputStream openStream() throws IOException
DelegatingPayload
openStream
in interface Payload
openStream
in class DelegatingPayload
IOException
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.