|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.ec2.domain.KeyPair
public class KeyPair
Nested Class Summary | |
---|---|
static class |
KeyPair.Builder
|
Constructor Summary | |
---|---|
KeyPair(String region,
String keyName,
String sha1OfPrivateKey,
String keyMaterial,
String fingerprint)
|
Method Summary | |
---|---|
static KeyPair.Builder |
builder()
|
int |
compareTo(KeyPair o)
|
boolean |
equals(Object obj)
|
String |
getFingerprint()
fingerprint per the following spec |
String |
getKeyFingerprint()
Deprecated. |
String |
getKeyMaterial()
An unencrypted PEM encoded RSA private key. |
String |
getKeyName()
The key pair name provided in the original request. |
String |
getRegion()
Key pairs (to connect to instances) are Region-specific. |
String |
getSha1OfPrivateKey()
A SHA-1 digest of the DER encoded private key. |
int |
hashCode()
|
KeyPair.Builder |
toBuilder()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyPair(String region, String keyName, String sha1OfPrivateKey, @Nullable String keyMaterial, @Nullable String fingerprint)
Method Detail |
---|
public String toString()
toString
in class Object
public static KeyPair.Builder builder()
public String getRegion()
public int compareTo(KeyPair o)
compareTo
in interface Comparable<KeyPair>
@Deprecated public String getKeyFingerprint()
getSha1OfPrivateKey()
public String getSha1OfPrivateKey()
SshKeys.sha1(java.security.spec.RSAPrivateCrtKeySpec)
public String getFingerprint()
SshKeys.fingerprint(java.math.BigInteger, java.math.BigInteger)
public String getKeyMaterial()
public String getKeyName()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public KeyPair.Builder toBuilder()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |