Name

Interface javax.crypto.interfaces.RSAPrivateKey

Description

RSAPrivateKey represents a private key, suitable for use with an RSA asymmetric cipher. Although the JCE does not support RSA, you can buy third-party implementations of RSA that plug in to the provider architecture. This interface is the traditional representation of an RSA private key, which consists of a modulus and a private exponent.

Interface Definition

public abstract interface javax.crypto.interfaces.RSAPrivateKey
  implements java.security.PrivateKey {

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

See Also

PrivateKey, RSAPublicKey

Get Java Cryptography 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.