org.jclouds.crypto
Class RsaSshKeyPairGenerator

java.lang.Object
  extended by org.jclouds.crypto.RsaSshKeyPairGenerator
All Implemented Interfaces:
com.google.common.base.Supplier<Map<String,String>>, SshKeyPairGenerator

@Singleton
public class RsaSshKeyPairGenerator
extends Object
implements SshKeyPairGenerator


Field Summary
protected  Crypto crypto
           
protected  SecureRandom secureRandom
           
 
Constructor Summary
RsaSshKeyPairGenerator(Crypto crypto, SecureRandom secureRandom)
           
 
Method Summary
 Map<String,String> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

crypto

protected final Crypto crypto

secureRandom

protected final SecureRandom secureRandom
Constructor Detail

RsaSshKeyPairGenerator

@Inject
public RsaSshKeyPairGenerator(Crypto crypto,
                                     SecureRandom secureRandom)
Method Detail

get

public Map<String,String> get()
Specified by:
get in interface com.google.common.base.Supplier<Map<String,String>>


Copyright © 2009-2013 jclouds. All Rights Reserved.