Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security.spec

Class RSAPublicKeySpec

java.lang.Object
|
+--java.security.spec.RSAPublicKeySpec

All Implemented Interfaces:

KeySpec


public class RSAPublicKeySpec

extends Object

implements KeySpec

RSA Public Key class Specification. Used to maintain the RSA Public Keys.

Since:Author:

Constructor Summary

RSAPublicKeySpec(java.math.BigInteger modulus, java.math.BigInteger publicExponent)

Constructs a new RSAPublicKeySpec with the specified modulus and publicExponent.

Method Summary

java.math.BigIntegergetModulus()

Gets the RSA modulus.
java.math.BigIntegergetPublicExponent()

Gets the RSA public exponent.

Constructor Details

RSAPublicKeySpec

public RSAPublicKeySpec(java.math.BigInteger modulus, java.math.BigInteger publicExponent)

Constructs a new RSAPublicKeySpec with the specified modulus and publicExponent.

Parameters:


Method Details

getModulus

public BigInteger getModulus()

Gets the RSA modulus.

Returns:


getPublicExponent

public BigInteger getPublicExponent()

Gets the RSA public exponent.

Returns: