Some keychain/truststore helpers.