Module java.base
Package java.security

# Class KeyPair

=
public final class KeyPair
extends java.lang.Object
implements java.io.Serializable

## Constructors

- =
  public KeyPair(java.security.PublicKey arg0, java.security.PrivateKey arg1)

## Methods

- =
  public java.security.PrivateKey getPrivate()
- =
  public java.security.PublicKey getPublic()

## Serialized Form

=

### serialVersionUID

=-7565189502268009837

### Serialized Fields

- =
  java.security.PrivateKey privateKey
- =
  java.security.PublicKey publicKey

## Summary

No differences.