Interface KeypairGeneratorFactory

    • Method Detail

      • getSupportedKeypairTypes

        Set<String> getSupportedKeypairTypes()
        Retrieves the types of supported signers.
        Returns:
        lower-case types of supported signers, never null.
      • canCreateKeypairGenerator

        boolean canCreateKeypairGenerator​(String type)
        Indicates whether a signer of the given type can be created or not.
        Parameters:
        type - Type of the signer. Must not be null.
        Returns:
        true if signer of the given type can be created, false otherwise.
      • newKeypairGenerator

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