converting walk types to asn1ber types