O'Reilly logo

Java Security by Scott Oaks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

Class java.security.spec.RSAPrivateKeySpec

Synopsis

This class represents a key specification for an RSA private key; this specification uses a modulus and a private exponent. Instances of this class may be used with an appropriate key factory to generate private keys. Use of this class requires a third-party security provider.

Class Definition

public java.security.spec.RSAPrivateKeySpec
	extends java.lang.Object
	implements java.security.spec.KeySpec {

	// Constructors
	public RSAPrivateKeySpec(BigInteger, BigInteger);

	// Instance Methods
	public BigInteger getModulus();
	public BigInteger getPrivateExponent();
}

See also:

KeyFactory, KeySpec, PrivateKey

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required