public class SshParameters extends KeyParameters
keyLength| Constructor and Description |
|---|
SshParameters(KeyLength keyLength)
Create a
SshParameters using the specified values. |
SshParameters(KeyLength keyLength,
java.lang.String sshComment)
Create a
SshParameters using the specified values. |
SshParameters(java.lang.String sshComment)
Create a
SshParameters using the specified values. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getSshComment()
Get the value of the ssh comment parameter.
|
getKeyLengthpublic SshParameters(java.lang.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, java.lang.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 null