Package org.jclouds.io.payloads
Class BaseCipherPayload
java.lang.Object
org.jclouds.io.payloads.DelegatingPayload
org.jclouds.io.payloads.BaseCipherPayload
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Payload
- Direct Known Subclasses:
RSADecryptingPayload
,RSAEncryptingPayload
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Cipher
initializeCipher
(Key key) Creates a new InputStream object of the payload.Methods inherited from class org.jclouds.io.payloads.DelegatingPayload
close, equals, getContentMetadata, getDelegate, getInput, getRawContent, hashCode, isRepeatable, isSensitive, release, setContentMetadata, setSensitive
-
Field Details
-
crypto
-
-
Constructor Details
-
BaseCipherPayload
-
-
Method Details
-
initializeCipher
-
openStream
Description copied from class:DelegatingPayload
Creates a new InputStream object of the payload.- Specified by:
openStream
in interfacePayload
- Overrides:
openStream
in classDelegatingPayload
- Throws:
IOException
-