Interface AsymmetricKeyFactory
- All Known Implementing Classes:
ProviderBasedAsymmetricKeyFactory
public interface AsymmetricKeyFactory
Simple interface for generating public/private key pairs
-
Method Summary
Modifier and TypeMethodDescriptionGenerate a new pair of asymmetric cryptographic keys
-
Method Details
-
getNewKeyPair
Generate a new pair of asymmetric cryptographic keys- Returns:
- a freshly generated key pair
- Throws:
NoSuchProviderException
- if a required cryptographic provider is not availableNoSuchAlgorithmException
- if a required cryptographic algorithm is not available
-