# RSAPublicKey

public interface **RSAPublicKey** implements [PublicKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PublicKey.html) [RSAKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAKey.html) The interface to an RSA public key.

### Constant Summary

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPublicKey.html#serialVersionUID) | The type fingerprint that is set to indicate serialization compatibility with a previous version of the type. |

### Inherited Constant Summary

From interface [java.security.PublicKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PublicKey.html)

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PublicKey.html#serialVersionUID) | The class fingerprint that is set to indicate serialization compatibility with a previous version of the class. |

From interface [java.security.Key](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html)

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#serialVersionUID) | The class fingerprint that is set to indicate serialization compatibility with a previous version of the class. |

### Public Method Summary

|---|---|
| abstract BigInteger | [getPublicExponent](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPublicKey.html#getPublicExponent())() Returns the public exponent. |

### Inherited Method Summary

From interface [java.security.interfaces.RSAKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAKey.html)

|---|---|
| abstract BigInteger | [getModulus](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAKey.html#getModulus())() Returns the modulus. |

From interface [java.security.Key](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html)

|---|---|
| abstract [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getAlgorithm](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#getAlgorithm())() Returns the standard algorithm name for this key. |
| abstract byte\[\] | [getEncoded](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#getEncoded())() Returns the key in its primary encoding format, or null if this key does not support encoding. |
| abstract [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#getFormat())() Returns the name of the primary encoding format of this key, or null if this key does not support encoding. |

## 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: -8727434096241101194

## Public Methods

#### public abstract BigInteger
**getPublicExponent**
()

Returns the public exponent.

##### Returns

- the public exponent