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