8048820: Implement tests for SecretKeyFactory

Reviewed-by: xuelei
2 files changed