Interface KeyPairGenerator


  • @Role
    public interface KeyPairGenerator
    Component role for a key pair generator. Component providing this role is usually tightly coupled with those implementing the AsymmetricKeyFactory for the same hints. So, overriding one of these components usually requires to override both.
    Since:
    5.4M1
    Version:
    $Id: 71f803a57026ccfb06a7e0ddd026794a507e8fbd $
    • Method Detail

      • generate

        AsymmetricKeyPair generate()
        Returns:
        a new key pair based on default parameters.
      • generate

        AsymmetricKeyPair generate​(KeyGenerationParameters params)
        Generate a new key pair based on given parameters.
        Parameters:
        params - the key generation parameters.
        Returns:
        a new key pair based the given parameters.