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.6.0

java.security.spec
Class RSAKeyGenParameterSpec

java.lang.Object
  extended by java.security.spec.RSAKeyGenParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec

public class RSAKeyGenParameterSpec
extends Object
implements AlgorithmParameterSpec

This class specifies the set of parameters used to generate an RSA key pair.

Since:
1.3
See Also:
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)

Field Summary
static BigInteger F0
          The public-exponent value F0 = 3.
static BigInteger F4
          The public exponent-value F4 = 65537.
 
Constructor Summary
RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
          Constructs a new RSAParameterSpec object from the given keysize and public-exponent value.
 
Method Summary
 int getKeysize()
          Returns the keysize.
 BigInteger getPublicExponent()
          Returns the public-exponent value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

F0

public static final BigInteger F0
The public-exponent value F0 = 3.


F4

public static final BigInteger F4
The public exponent-value F4 = 65537.

Constructor Detail

RSAKeyGenParameterSpec

public RSAKeyGenParameterSpec(int keysize,
                              BigInteger publicExponent)
Constructs a new RSAParameterSpec object from the given keysize and public-exponent value.

Parameters:
keysize - the modulus size (specified in number of bits)
publicExponent - the public exponent
Method Detail

getKeysize

public int getKeysize()
Returns the keysize.

Returns:
the keysize.

getPublicExponent

public BigInteger getPublicExponent()
Returns the public-exponent value.

Returns:
the public-exponent value.

Copyright 2003 Sun Microsystems, Inc. All rights reserved