Interface SshPublicKeyFormat
- All Known Implementing Classes:
OpenSSHPublicKeyFormat
,SECSHPublicKeyFormat
public interface SshPublicKeyFormat
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
formatKey
(byte[] keyblob) byte[]
getKeyBlob
(byte[] formattedKey) boolean
isFormatted
(byte[] formattedKey) void
setComment
(String comment) boolean
supportsAlgorithm
(String algorithm)
-
Method Details
-
setComment
- Parameters:
comment
-
-
getComment
String getComment()- Returns:
-
supportsAlgorithm
- Parameters:
algorithm
-- Returns:
-
formatKey
byte[] formatKey(byte[] keyblob) - Parameters:
keyblob
-- Returns:
-
getKeyBlob
- Parameters:
formattedKey
-- Returns:
- Throws:
InvalidSshKeyException
-
getFormatType
String getFormatType()- Returns:
-
isFormatted
boolean isFormatted(byte[] formattedKey) - Parameters:
formattedKey
-- Returns:
-