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.String
getComment()
java.lang.String
getFormatType()
byte[]
getKeyBlob(byte[] formattedKey)
boolean
isFormatted(byte[] formattedKey)
void
setComment(java.lang.String comment)
boolean
supportsAlgorithm(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:
-
-