class UserCredentialVersion extends CredentialVersion {

  @Override
  public void rotate() {
    final String decryptedPassword = getPassword();
    final StringGenerationParameters decryptedGenerationParameters = getGenerationParameters();

    setPassword(decryptedPassword);
    setGenerationParameters(decryptedGenerationParameters);
  }

  public  UserCredentialVersion(final UserCredentialVersionData delegate);
  public  UserCredentialVersion(final String name);
  public  UserCredentialVersion(
    final UserCredentialValue userValue,
    final String name,
    final StringGenerationParameters generationParameters,
    final Encryptor encryptor
  );

}