Class SECSHPublicKeyFormat
java.lang.Object
com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
com.sshtools.j2ssh.transport.publickey.SECSHPublicKeyFormat
- All Implemented Interfaces:
SshKeyFormatConversion
,SshPublicKeyFormat
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
Field Summary
Fields inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
begin, end
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SECSHPublicKeyFormat object.SECSHPublicKeyFormat
(String subject, String comment) Creates a new SECSHPublicKeyFormat object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setComment
(String comment) boolean
supportsAlgorithm
(String algorithm) Methods inherited from class com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
formatKey, getHeaderValue, getKeyBlob, isFormatted, setHeaderValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sshtools.j2ssh.transport.publickey.SshPublicKeyFormat
formatKey, getKeyBlob, isFormatted
-
Constructor Details
-
SECSHPublicKeyFormat
Creates a new SECSHPublicKeyFormat object.- Parameters:
subject
-comment
-
-
SECSHPublicKeyFormat
public SECSHPublicKeyFormat()Creates a new SECSHPublicKeyFormat object.
-
-
Method Details
-
setComment
- Specified by:
setComment
in interfaceSshPublicKeyFormat
- Parameters:
comment
-
-
getComment
- Specified by:
getComment
in interfaceSshPublicKeyFormat
- Returns:
-
getFormatType
- Specified by:
getFormatType
in interfaceSshKeyFormatConversion
- Specified by:
getFormatType
in interfaceSshPublicKeyFormat
- Overrides:
getFormatType
in classBase64EncodedFileFormat
- Returns:
-
supportsAlgorithm
- Specified by:
supportsAlgorithm
in interfaceSshPublicKeyFormat
- Parameters:
algorithm
-- Returns:
-