com.sshtools.j2ssh.transport.publickey
Interface SshPublicKeyFormat
- All Known Implementing Classes:
- OpenSSHPublicKeyFormat, SECSHPublicKeyFormat
public interface SshPublicKeyFormat
- Version:
- $Revision: 1.17 $
- Author:
- $author$
setComment
void setComment(java.lang.String comment)
- Parameters:
comment
-
getComment
java.lang.String getComment()
- Returns:
supportsAlgorithm
boolean supportsAlgorithm(java.lang.String algorithm)
- Parameters:
algorithm
-
- Returns:
formatKey
byte[] formatKey(byte[] keyblob)
- Parameters:
keyblob
-
- Returns:
getKeyBlob
byte[] getKeyBlob(byte[] formattedKey)
throws InvalidSshKeyException
- Parameters:
formattedKey
-
- Returns:
-
- Throws:
InvalidSshKeyException
getFormatType
java.lang.String getFormatType()
- Returns:
isFormatted
boolean isFormatted(byte[] formattedKey)
- Parameters:
formattedKey
-
- Returns:
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.