Name

Interface javax.crypto.interfaces.RSAPublicKey

Description

RSAPublicKey represents a public key, suitable for use with an RSA asymmetric cipher. This interface is the traditional representation of an RSA public key, which consists of a modulus and a public exponent.

Interface Definition

public abstract interface javax.crypto.interfaces.RSAPublicKey
  implements java.security.PublicKey {

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

See Also

PublicKey, RSAPrivateKey

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.