public final class RSAPrivateKeyFactory extends Object implements KeyFactory<Key>
| Modifier | Constructor and Description |
|---|---|
protected |
RSAPrivateKeyFactory(BigInteger modulus,
BigInteger exponent)
Creates a new RSA private key factory with given modulus and exponent.
|
protected RSAPrivateKeyFactory(BigInteger modulus, BigInteger exponent)
modulus - modulus of keyexponent - exponent of private keypublic Key getKey() throws EncryptionException
KeyFactorygetKey in interface KeyFactory<Key>EncryptionException - possible exception if key cannot be constructedCopyright © 2015. All rights reserved.