Implemented support for exporting to a pkcs12 stream.