Add PKCS#12 creation test and fix TODOs for generating cert hashes.