public abstract class BaseCipherPayload extends DelegatingPayload
| Constructor and Description | 
|---|
BaseCipherPayload(Payload delegate,
                 Key key)  | 
| Modifier and Type | Method and Description | 
|---|---|
CipherInputStream | 
getInput()
Creates a new InputStream object of the payload. 
 | 
abstract Cipher | 
initializeCipher(Key key)  | 
void | 
writeTo(OutputStream outstream)
Writes the payload content to the output stream. 
 | 
close, equals, getContentMetadata, getDelegate, getRawContent, hashCode, isRepeatable, release, setContentMetadatapublic CipherInputStream getInput()
DelegatingPayloadgetInput in interface com.google.common.io.InputSupplier<InputStream>getInput in interface PayloadgetInput in class DelegatingPayloadpublic void writeTo(OutputStream outstream) throws IOException
DelegatingPayloadwriteTo in interface WriteTowriteTo in class DelegatingPayloadIOExceptionCopyright © 2009-2013 jclouds. All Rights Reserved.