Completely rewritten PKCS12 support.
Completely rewritte PKCS12 handling