Interface SshPublicKeyFormat

All Known Implementing Classes:
OpenSSHPublicKeyFormat, SECSHPublicKeyFormat

public interface SshPublicKeyFormat
Version:
$Revision: 1.17 $
Author:
$author$
  • Method Details

    • setComment

      void setComment(String comment)
      Parameters:
      comment -
    • getComment

      String getComment()
      Returns:
    • supportsAlgorithm

      boolean supportsAlgorithm(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

      String getFormatType()
      Returns:
    • isFormatted

      boolean isFormatted(byte[] formattedKey)
      Parameters:
      formattedKey -
      Returns: