Interface SshPublicKeyFormat
-
- All Known Implementing Classes:
OpenSSHPublicKeyFormat,SECSHPublicKeyFormat
public interface SshPublicKeyFormat- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]formatKey(byte[] keyblob)java.lang.StringgetComment()java.lang.StringgetFormatType()byte[]getKeyBlob(byte[] formattedKey)booleanisFormatted(byte[] formattedKey)voidsetComment(java.lang.String comment)booleansupportsAlgorithm(java.lang.String algorithm)
-
-
-
Method Detail
-
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:
-
-