public class RSAPrivateKeyFactory extends CryptoKeyFactory
| Constructor and Description |
|---|
RSAPrivateKeyFactory(BigInteger modulus,
BigInteger exponent)
Creates a new RSA private key factory with given modulus and exponent.
|
public RSAPrivateKeyFactory(BigInteger modulus, BigInteger exponent)
modulus - modulus of keyexponent - exponent of private keypublic Key getKey() throws EncryptionException
KeyFactoryEncryptionException - possible exception if key cannot be constructedCopyright © 2014. All rights reserved.