Interface SigningKeyGenerator


public interface SigningKeyGenerator
Port that generates new signing keys.
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates a new key pair, with a unique identifier and its private half already encrypted.
  • Method Details

    • generate

      SigningKey generate(Instant now)
      Generates a new key pair, with a unique identifier and its private half already encrypted.
      Parameters:
      now - instant at which it is generated.
      Returns:
      the key, in the SigningKeyStatus.NEXT state.