Interface SshKeyFormatConversion
-
- All Known Implementing Classes:
Base64EncodedFileFormat
,SECSHPublicKeyFormat
,SshtoolsPrivateKeyFormat
public interface SshKeyFormatConversion
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
formatKey(byte[] keyBlob)
java.lang.String
getFormatType()
byte[]
getKeyBlob(byte[] formattedKey)
boolean
isFormatted(byte[] formattedKey)
-
-
-
Method Detail
-
getFormatType
java.lang.String getFormatType()
- Returns:
-
getKeyBlob
byte[] getKeyBlob(byte[] formattedKey) throws InvalidSshKeyException
- Parameters:
formattedKey
-- Returns:
- Throws:
InvalidSshKeyException
-
formatKey
byte[] formatKey(byte[] keyBlob)
- Parameters:
keyBlob
-- Returns:
-
isFormatted
boolean isFormatted(byte[] formattedKey)
- Parameters:
formattedKey
-- Returns:
-
-