RSAPublicKeySpec

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## java.security.spec
Class RSAPublicKeySpec

    java.lang.Object
      java.security.spec.RSAPublicKeySpec

All Implemented Interfaces:
  KeySpec

    public class RSAPublicKeySpec

extends Object
implements KeySpec

This class specifies an RSA public key.

Version:
  1.6 00/02/02
Author:
  Jan Luehe
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
`equals, 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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD