This figure consists of boxes labeled as follows:
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: