com.sshtools.j2ssh.transport.publickey
Class SECSHPublicKeyFormat
java.lang.Object
com.sshtools.j2ssh.transport.publickey.Base64EncodedFileFormat
com.sshtools.j2ssh.transport.publickey.SECSHPublicKeyFormat
- All Implemented Interfaces:
- SshKeyFormatConversion, SshPublicKeyFormat
public class SECSHPublicKeyFormat
- extends Base64EncodedFileFormat
- implements SshPublicKeyFormat
- Version:
- $Revision: 1.16 $
- Author:
- $author$
|
Constructor Summary |
SECSHPublicKeyFormat()
Creates a new SECSHPublicKeyFormat object. |
SECSHPublicKeyFormat(java.lang.String subject,
java.lang.String comment)
Creates a new SECSHPublicKeyFormat object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SECSHPublicKeyFormat
public SECSHPublicKeyFormat(java.lang.String subject,
java.lang.String comment)
- Creates a new SECSHPublicKeyFormat object.
- Parameters:
subject - comment -
SECSHPublicKeyFormat
public SECSHPublicKeyFormat()
- Creates a new SECSHPublicKeyFormat object.
setComment
public void setComment(java.lang.String comment)
- Specified by:
setComment in interface SshPublicKeyFormat
- Parameters:
comment -
getComment
public java.lang.String getComment()
- Specified by:
getComment in interface SshPublicKeyFormat
- Returns:
getFormatType
public java.lang.String getFormatType()
- Specified by:
getFormatType in interface SshKeyFormatConversion- Specified by:
getFormatType in interface SshPublicKeyFormat- Overrides:
getFormatType in class Base64EncodedFileFormat
- Returns:
supportsAlgorithm
public boolean supportsAlgorithm(java.lang.String algorithm)
- Specified by:
supportsAlgorithm in interface SshPublicKeyFormat
- Parameters:
algorithm -
- Returns:
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.