com.atlassian.confluence.security.trust
Interface AsymmetricKeyFactory
- All Known Implementing Classes:
- ProviderBasedAsymmetricKeyFactory
public interface AsymmetricKeyFactory
Simple interface for generating public/private key pairs
Method Summary |
java.security.KeyPair |
getNewKeyPair()
Generate a new pair of asymmetric cryptographic keys |
getNewKeyPair
java.security.KeyPair getNewKeyPair()
throws java.security.NoSuchProviderException,
java.security.NoSuchAlgorithmException
- Generate a new pair of asymmetric cryptographic keys
- Returns:
- a freshly generated key pair
- Throws:
java.security.NoSuchProviderException
- if a required cryptographic provider is not available
java.security.NoSuchAlgorithmException
- if a required cryptographic algorithm is not available
Copyright © 2003-2014 Atlassian. All Rights Reserved.