security: In KeyManager, restore the certificate and associated key pair.

Change-Id: I6fae41634f460e8141dbf76f6eafb941470c8d72