Migrate to 0.49 BoucyCastle provider

Migrate to 0.49 BoucyCastle provider required replacement of some DER
objects by ASN.1 counterparts