Description of Figure The SecretKeyFactory Class
This figure consists of boxes labeled as follows:
- Key Spec: Two boxes are labeled this
 - Secret Key Factory (AES): This box has a sublabel, generateSecret()
 - Secret Key: Two boxes are labeled this
 - Secret Key Factory (AES): This box has a sublabel, getKeySpec()
 
Unlabeled arrows connect these boxes:
- From Key Spec #1 to Secret Key Factory (AES), generateSecret()
 - From Secret Key Factory (AES), generateSecret() to Secret Key #1
 - From Secret Key #2 to Secret Key Factory (AES), getKeySpec()
 - From Secret Key Factory (AES), getKeySpec() to Key Spec #2