public class RSA extends Object
| Constructor and Description |
|---|
RSA() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPrivateKey |
create(RSAPrivateKeySpec keyspec) |
static RSAPublicKey |
create(RSAPublicKeySpec keyspec) |
static RSAPrivateKey |
createPrivate(BigInteger m,
BigInteger e) |
static RSAPublicKey |
createPublic(BigInteger m,
BigInteger e) |
static Pair<RSAPrivateKey,RSAPublicKey> |
generate() |
public static RSAPrivateKey create(RSAPrivateKeySpec keyspec) throws InvalidKeySpecException
InvalidKeySpecExceptionpublic static RSAPublicKey create(RSAPublicKeySpec keyspec) throws InvalidKeySpecException
InvalidKeySpecExceptionpublic static RSAPublicKey createPublic(BigInteger m, BigInteger e) throws InvalidKeySpecException
InvalidKeySpecExceptionpublic static RSAPrivateKey createPrivate(BigInteger m, BigInteger e) throws InvalidKeySpecException
InvalidKeySpecExceptionpublic static Pair<RSAPrivateKey,RSAPublicKey> generate() throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionCopyright © 2019 aQute SARL. All rights reserved.