FileDocCategorySizeDatePackage
RSAPublicKeySpec.javaAPI DocJava SE 5 API1242Fri Aug 26 14:57:18 BST 2005java.security.spec

RSAPublicKeySpec

public class RSAPublicKeySpec extends Object implements KeySpec
This class specifies an RSA public key.
author
Jan Luehe
version
1.10 03/12/19
see
java.security.Key
see
java.security.KeyFactory
see
KeySpec
see
X509EncodedKeySpec
see
RSAPrivateKeySpec
see
RSAPrivateCrtKeySpec

Fields Summary
private BigInteger
modulus
private BigInteger
publicExponent
Constructors Summary
public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
Creates a new RSAPublicKeySpec.

param
modulus the modulus
param
publicExponent the public exponent

	this.modulus = modulus;
	this.publicExponent = publicExponent;
    
Methods Summary
public java.math.BigIntegergetModulus()
Returns the modulus.

return
the modulus

	return this.modulus;
    
public java.math.BigIntegergetPublicExponent()
Returns the public exponent.

return
the public exponent

	return this.publicExponent;