Interface KeyPairProvider


  • public interface KeyPairProvider
    Key pair provider delivers up key pairs.
    Since:
    13.0.0
    • Method Detail

      • getKeyPair

        KeyPair getKeyPair​(String algorithm,
                           int keySize)
        Given the algorithm and key size, provides a key pair instance.
        Parameters:
        algorithm - the algorithm
        keySize - the key size
        Returns:
        key pair instance
        Throws:
        IllegalArgumentException - if the algorithm is invalid