doDecode



PKCS1 decoding of an ASN.1 private key, optionally supporting attributes for later PKCS#8 encoding