Interface SshKeyFormatConversion
- All Known Implementing Classes:
Base64EncodedFileFormat
,SECSHPublicKeyFormat
,SshtoolsPrivateKeyFormat
public interface SshKeyFormatConversion
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
formatKey
(byte[] keyBlob) byte[]
getKeyBlob
(byte[] formattedKey) boolean
isFormatted
(byte[] formattedKey)
-
Method Details
-
getFormatType
String getFormatType()- Returns:
-
getKeyBlob
- Parameters:
formattedKey
-- Returns:
- Throws:
InvalidSshKeyException
-
formatKey
byte[] formatKey(byte[] keyBlob) - Parameters:
keyBlob
-- Returns:
-
isFormatted
boolean isFormatted(byte[] formattedKey) - Parameters:
formattedKey
-- Returns:
-