AsnLen BEncUniversalString(GenBuf *b, UniversalString *v) { AsnLen l; l = BEncUniversalStringContent (b, v); l += BEncDefLen (b, l); l += BEncTag1 (b, UNIV, PRIM, UNIVERSALSTRING_TAG_CODE); return l; } /* end of BEncUniversalString() */
AsnLen AsnBool::BEnc (BUF_TYPE b) { AsnLen l; l = BEncContent (b); BEncDefLenTo127 (b, l); l++; l += BEncTag1 (b, UNIV, PRIM, BOOLEAN_TAG_CODE); return l; }
AsnLen AsnNull::BEnc (AsnBuf &b) const { AsnLen l; l = BEncContent (b); BEncDefLenTo127 (b, l); l++; l += BEncTag1 (b, UNIV, PRIM, NULLTYPE_TAG_CODE); return l; }
AsnLen BEncBMPString(GenBuf *b, BMPString *v) { AsnLen l; l = BEncBMPStringContent (b, v); l += BEncDefLen (b, l); l += BEncTag1 (b, UNIV, PRIM, BMPSTRING_TAG_CODE); return l; } /* end of BEncBMPString() */
AsnLen BEncNumericString(GenBuf *b, NumericString *v) { AsnLen l; l = BEncNumericStringContent (b, v); l += BEncDefLen (b, l); l += BEncTag1 (b, UNIV, PRIM, NUMERICSTRING_TAG_CODE); return l; } /* end of BEncNumericString() */