Interface KeyPairProvider
-
public interface KeyPairProviderKey pair provider delivers up key pairs.- Since:
- 13.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyPairgetKeyPair(String algorithm, int keySize)Given the algorithm and key size, provides a key pair instance.
-
-
-
Method Detail
-
getKeyPair
KeyPair getKeyPair(String algorithm, int keySize)
Given the algorithm and key size, provides a key pair instance.- Parameters:
algorithm- the algorithmkeySize- the key size- Returns:
- key pair instance
- Throws:
IllegalArgumentException- if the algorithm is invalid
-
-