| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormatcom.sshtools.j2ssh.transport.publickey.SECSHPublicKeyFormatField Summary |
Fields inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat | |
begin, end | |
Constructor Summary | |
| |
| |
Method Summary | |
String | |
String | |
void |
|
boolean |
|
Methods inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat | |
formatKey, getFormatType, getHeaderValue, getKeyBlob, isFormatted, setHeaderValue | |
public SECSHPublicKeyFormat()
Creates a new SECSHPublicKeyFormat object.
public SECSHPublicKeyFormat(String subject,
String comment)Creates a new SECSHPublicKeyFormat object.
- Parameters:
subject-comment-
public String getFormatType()
- Specified by:
- getFormatType in interface SshPublicKeyFormat
- getFormatType in interface SshKeyFormatConversion
- Overrides:
- getFormatType in interface Base64EncodedFileFormat
- Returns:
public void setComment(String comment)
- Specified by:
- setComment in interface SshPublicKeyFormat
- Parameters:
comment-
public boolean supportsAlgorithm(String algorithm)
- Specified by:
- supportsAlgorithm in interface SshPublicKeyFormat
- Parameters:
algorithm-
- Returns: