|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.spec.RSAPrivateKeySpec
public class RSAPrivateKeySpec
This class specifies an RSA private key.
Key
,
KeyFactory
,
KeySpec
,
PKCS8EncodedKeySpec
,
RSAPublicKeySpec
,
RSAPrivateCrtKeySpec
Constructor Summary | |
---|---|
RSAPrivateKeySpec(BigInteger modulus,
BigInteger privateExponent)
Creates a new RSAPrivateKeySpec. |
Method Summary | |
---|---|
BigInteger |
getModulus()
Returns the modulus. |
BigInteger |
getPrivateExponent()
Returns the private exponent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
modulus
- the modulusprivateExponent
- the private exponentMethod Detail |
---|
public BigInteger getModulus()
public BigInteger getPrivateExponent()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.