fixed parsing of ASN.1 algorithmIdentifier objects