Package org.jclouds.io.payloads
Class RSAEncryptingPayload
- java.lang.Object
-
- org.jclouds.io.payloads.DelegatingPayload
-
- org.jclouds.io.payloads.BaseCipherPayload
-
- org.jclouds.io.payloads.RSAEncryptingPayload
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Payload
public class RSAEncryptingPayload extends BaseCipherPayload
-
-
Field Summary
-
Fields inherited from class org.jclouds.io.payloads.BaseCipherPayload
crypto
-
-
Constructor Summary
Constructors Constructor Description RSAEncryptingPayload(Crypto crypto, Payload delegate, Key key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Cipher
initializeCipher(Key key)
-
Methods inherited from class org.jclouds.io.payloads.BaseCipherPayload
openStream
-
Methods inherited from class org.jclouds.io.payloads.DelegatingPayload
close, equals, getContentMetadata, getDelegate, getInput, getRawContent, hashCode, isRepeatable, isSensitive, release, setContentMetadata, setSensitive
-
-
-
-
Method Detail
-
initializeCipher
public Cipher initializeCipher(Key key)
- Specified by:
initializeCipher
in classBaseCipherPayload
-
-