RSAPrivateKey

  • RSAPrivateKey is an interface defining the structure of an RSA private key in Java security.

  • It provides methods to retrieve the private exponent and modulus of the key.

  • RSAPrivateKey extends PrivateKey and RSAKey interfaces, inheriting functionalities related to key management and RSA specifics.

  • It also includes a serialVersionUID constant for compatibility across different versions.

  • Two known subclasses, RSAMultiPrimePrivateCrtKey and RSAPrivateCrtKey, offer implementations based on the Chinese Remainder Theorem.

public interface RSAPrivateKey implements PrivateKey RSAKey
Known Indirect Subclasses

The interface to an RSA private key.

See Also

Constant Summary

long serialVersionUID The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Inherited Constant Summary

Public Method Summary

abstract BigInteger
getPrivateExponent()
Returns the private exponent.

Inherited Method Summary

Constants

public static final long serialVersionUID

The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Constant Value: 5187144804936595022

Public Methods

public abstract BigInteger getPrivateExponent ()

Returns the private exponent.

Returns
  • the private exponent