public class SshParameters extends KeyParameters
keyLength| Constructor and Description |
|---|
SshParameters(KeyLength keyLength)
Create a
SshParameters using the specified values. |
SshParameters(KeyLength keyLength,
String sshComment)
Create a
SshParameters using the specified values. |
SshParameters(String sshComment)
Create a
SshParameters using the specified values. |
| Modifier and Type | Method and Description |
|---|---|
String |
getSshComment()
Get the value of the ssh comment parameter.
|
getKeyLengthpublic SshParameters(String sshComment)
SshParameters using the specified values.sshComment - comment for the generated SSH key; must not be nullpublic SshParameters(KeyLength keyLength)
SshParameters using the specified values.keyLength - length of generated SSH key; must not be nullpublic SshParameters(KeyLength keyLength, String sshComment)
SshParameters using the specified values.keyLength - length of generated SSH key; must not be nullsshComment - comment for the generated SSH key; must not be nullpublic String getSshComment()