public class SSHFPData extends com.google.common.collect.ForwardingMap<String,Object>
SSHFP (SSH
 Fingerprint) RData
 
 
 SSHFPData rdata = SSHFPData.builder().algorithm(2).fptype(1).fingerprint("123456789abcdef67890123456789abcdef67890")
       .build();
 // or shortcut
 SSHFPData rdata = SSHFPData.createDSA("123456789abcdef67890123456789abcdef67890");
 | Modifier and Type | Class and Description | 
|---|---|
static class  | 
SSHFPData.Builder  | 
| Modifier and Type | Method and Description | 
|---|---|
static SSHFPData.Builder | 
builder()  | 
static SSHFPData | 
createDSA(String fingerprint)  | 
static SSHFPData | 
createRSA(String fingerprint)  | 
protected Map<String,Object> | 
delegate()  | 
int | 
getAlgorithm()
This algorithm number octet describes the algorithm of the public key. 
 | 
String | 
getFingerprint()
The fingerprint calculated over the public key blob. 
 | 
int | 
getType()
The fingerprint fptype octet describes the message-digest algorithm used
 to calculate the fingerprint of the public key. 
 | 
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, standardClear, standardContainsKey, standardContainsValue, standardEquals, standardHashCode, standardIsEmpty, standardPutAll, standardRemove, standardToString, valuespublic static SSHFPData createDSA(String fingerprint)
fingerprint - DSA SHA-1 fingerprintpublic static SSHFPData createRSA(String fingerprint)
fingerprint - RSA SHA-1 fingerprintpublic int getAlgorithm()
1 for RSA or 2 for DSA.public int getType()
1 for SHA-1public String getFingerprint()
public static SSHFPData.Builder builder()
Copyright © 2009-2013 jclouds. All Rights Reserved.