public class RSA
extends java.lang.Object
| Constructor and Description |
|---|
RSA() |
| Modifier and Type | Method and Description |
|---|---|
static java.security.interfaces.RSAPrivateKey |
create(java.security.spec.RSAPrivateKeySpec keyspec) |
static java.security.interfaces.RSAPublicKey |
create(java.security.spec.RSAPublicKeySpec keyspec) |
static java.security.interfaces.RSAPrivateKey |
createPrivate(java.math.BigInteger m,
java.math.BigInteger e) |
static java.security.interfaces.RSAPublicKey |
createPublic(java.math.BigInteger m,
java.math.BigInteger e) |
static Pair<java.security.interfaces.RSAPrivateKey,java.security.interfaces.RSAPublicKey> |
generate() |
public static java.security.interfaces.RSAPrivateKey create(java.security.spec.RSAPrivateKeySpec keyspec)
throws java.security.spec.InvalidKeySpecException
java.security.spec.InvalidKeySpecExceptionpublic static java.security.interfaces.RSAPublicKey create(java.security.spec.RSAPublicKeySpec keyspec)
throws java.security.spec.InvalidKeySpecException
java.security.spec.InvalidKeySpecExceptionpublic static java.security.interfaces.RSAPublicKey createPublic(java.math.BigInteger m,
java.math.BigInteger e)
throws java.security.spec.InvalidKeySpecException
java.security.spec.InvalidKeySpecExceptionpublic static java.security.interfaces.RSAPrivateKey createPrivate(java.math.BigInteger m,
java.math.BigInteger e)
throws java.security.spec.InvalidKeySpecException
java.security.spec.InvalidKeySpecExceptionpublic static Pair<java.security.interfaces.RSAPrivateKey,java.security.interfaces.RSAPublicKey> generate() throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmExceptionCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.