Interface IKeyPairGenerationStrategy<TSpec extends IKeyPairGenerationSpec>


public interface IKeyPairGenerationStrategy<TSpec extends IKeyPairGenerationSpec>
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates a key pair based on the provided specification.
    boolean
    Returns whether the given specification is supported by this strategy.
  • Method Details

    • isSupported

      boolean isSupported(IKeyPairGenerationSpec spec)
      Returns whether the given specification is supported by this strategy.
      Parameters:
      spec - The specification to check.
      Returns:
      true if the specification is supported, false otherwise.
    • generate

      Generates a key pair based on the provided specification.
      Parameters:
      spec - The specification for generating the key pair.
      Returns:
      The generated key pair.
      Throws:
      FcCertificateManagementException - If an error occurs during key pair generation or if the specification is not valid.