I've got a ASN.1 representation of an EncryptedPrivateKeyInfo. I would like to decrypt this object to a PrivateKeyInfo. I have all required parameters inside the ASN.1 string to setup the PBE algorithm but I don't know how to extract parameters from this string.
It seems that the AlgorithmIdentifier(oid,asn1value) constructor is waiting an ASN1Value with algorithm parameters inside ... How to provide this asn1value (with algo parameters inside) from the asn1 (the EncryptdPrivateKeyInfo) string I have ? Any idea ?
