Creates an ENUMERATED Asn1Primitive from ordinal
Creates an ENUMERATED Asn1Primitive from enum by encoding its ordinal