Interface KeypairGeneratorFactoryRegister

    • Method Detail

      • getSupportedGeneratorTypes

        Set<String> getSupportedGeneratorTypes()
        Retrieves the types of supported keypair generators.
        Returns:
        lower-case types of supported generators, never null.
      • newKeypairGenerator

        KeypairGenerator newKeypairGenerator​(SecurityFactory securityFactory,
                                             String type,
                                             String conf)
                                      throws org.xipki.util.exception.ObjectCreationException
        Creates a new KeypairGenerator.
        Parameters:
        securityFactory - Security factory. Must not be null.
        type - Type of the keypair generator. Must not be null.
        conf - Configuration. Must not be null.
        Returns:
        new keypair generator.
        Throws:
        org.xipki.util.exception.ObjectCreationException - If generator could not be created.