Name

Class java.security.spec.RSAPublicKeySpec

Synopsis

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

Class Definition

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

	// Constructors
	public RSAPublicKeySpec(BigInteger, BigInteger);

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

See also:

KeyFactory, KeySpec, PublicKey

Get Java Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.