IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
 
[Sommaire]  [Top 50]  [F.A.Q.]  [ Java SE ]  [ Java EE ]  [Javadoc standard]  [Contact]
[ 1.4.2 ]  [ 5.0 ]  [ 6.0
Rechercher   
Dans
Options   sensible à la casse
étendre la recherche aux descriptions
Préférences
fr en 
 
Moteurs de recherche
JavaTM 2 Platform Std. Ed. v1.5.0

java.security.spec
Class RSAPrivateKeySpec

java.lang.Object
  extended by java.security.spec.RSAPrivateKeySpec
All Implemented Interfaces:
KeySpec
Direct Known Subclasses:
RSAMultiPrimePrivateCrtKeySpec, RSAPrivateCrtKeySpec

public class RSAPrivateKeySpec
extends Object
implements KeySpec

This class specifies an RSA private key.

See Also:
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

RSAPrivateKeySpec

public RSAPrivateKeySpec(BigInteger modulus,
                         BigInteger privateExponent)
Creates a new RSAPrivateKeySpec.

Parameters:
modulus - the modulus
privateExponent - the private exponent
Method Detail

getModulus

public BigInteger getModulus()
Returns the modulus.

Returns:
the modulus

getPrivateExponent

public BigInteger getPrivateExponent()
Returns the private exponent.

Returns:
the private exponent

Copyright 2003 Sun Microsystems, Inc. All rights reserved