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 RSAPublicKeySpec

java.lang.Object
  extended by java.security.spec.RSAPublicKeySpec
All Implemented Interfaces:
KeySpec

public class RSAPublicKeySpec
extends Object
implements KeySpec

This class specifies an RSA public key.

See Also:
Key, KeyFactory, KeySpec, X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateCrtKeySpec

Constructor Summary
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
          Creates a new RSAPublicKeySpec.
 
Method Summary
 BigInteger getModulus()
          Returns the modulus.
 BigInteger getPublicExponent()
          Returns the public exponent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPublicKeySpec

public RSAPublicKeySpec(BigInteger modulus,
                        BigInteger publicExponent)
Creates a new RSAPublicKeySpec.

Parameters:
modulus - the modulus
publicExponent - the public exponent
Method Detail

getModulus

public BigInteger getModulus()
Returns the modulus.

Returns:
the modulus

getPublicExponent

public BigInteger getPublicExponent()
Returns the public exponent.

Returns:
the public exponent

Copyright 2003 Sun Microsystems, Inc. All rights reserved