Pike v8.1 release 6

Method Standards.ASN1.Types.make_combined_tag()


Method make_combined_tag

int(4..) make_combined_tag(int(2bit) cls, int(1..) tag)

Description

Combines tag and class to a single integer, for internal uses.

Parameter cls

ASN1 type class (0..3).

Parameter tag

ASN1 type tag (1..).

Returns

The combined tag.

See also

extract_tag, extract_cls