org.jclouds.io.payloads
Class RSAEncryptingPayload

java.lang.Object
  extended by org.jclouds.io.payloads.DelegatingPayload
      extended by org.jclouds.io.payloads.BaseCipherPayload
          extended by org.jclouds.io.payloads.RSAEncryptingPayload
All Implemented Interfaces:
com.google.common.io.InputSupplier<InputStream>, Closeable, Payload

public class RSAEncryptingPayload
extends BaseCipherPayload


Field Summary
 
Fields inherited from class org.jclouds.io.payloads.BaseCipherPayload
crypto
 
Constructor Summary
RSAEncryptingPayload(Crypto crypto, Payload delegate, Key key)
           
 
Method Summary
 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, release, setContentMetadata
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAEncryptingPayload

public RSAEncryptingPayload(Crypto crypto,
                            Payload delegate,
                            Key key)
Method Detail

initializeCipher

public Cipher initializeCipher(Key key)
Specified by:
initializeCipher in class BaseCipherPayload


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.