| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
BigInteger modBI = …;
BigInteger expBI = …;
RSAPublicKeySpec ks = new RSAPublicKeySpec(modBI, expBI);
Based on 21 examples
public class RSAPublicKeySpec extends Object implements KeySpec
This class specifies an RSA public key.
Constructor Summary | |
---|---|
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) Creates a new RSAPublicKeySpec. |
Method Summary | |
---|---|
BigInteger |
Returns the modulus. |
BigInteger |
Returns the public exponent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
modulus
- the moduluspublicExponent
- the public exponentMethod Detail |
---|
public BigInteger getModulus()
public BigInteger getPublicExponent()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |