Documentation Contents

# Description of Figure The KeyFactory Class

Description of figure The KeyFactory Class

This figure consists of boxes labeled as follows:

- Key Spec
- Key Factory (RSA): Two boxes are labeled this
- Private Key
- Public Key
- Key Spec

Labeled arrows connect these boxes:

- `generatePrivate()`: From Key Factory (RSA) #1 to Private Key
- `generatePublic()`: From Key Factory (RSA) #1 to Public Key
- `getKeySpec()`: From Key Factory (RSA) #2 to Key Spec

Unlabeled arrows connect these boxes:

- From Key Spec to Key Factory (RSA) #1
- From Key to Key Factory (RSA) #2

Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved.
Contact Us