class SshCredentialVersion extends CredentialVersion {

  @Override
  public boolean matchesGenerationParameters(final GenerationParameters generationParameters) {
    if (generationParameters == null) {
      return true;
    }

    final SshGenerationParameters parameters = (SshGenerationParameters) generationParameters;
    return parameters.getKeyLength() == getKeyLength() && Objects.equals(parameters.getSshComment(), getComment());
  }

  public  SshCredentialVersion(final SshCredentialVersionData delegate);
  public  SshCredentialVersion(final SshCredentialVersionData delegate, final SshPublicKeyParser keyParser);
  public  SshCredentialVersion(final String name);
  public  SshCredentialVersion(final SshCredentialValue sshValue, final String name, final Encryptor encryptor);

}