PHP solution to convert base 64 encoded string to ASN.1 DER format binary file.