Does any functions are available to encode and decode the TeletexString/T61String to DER formatEOM

2013-11-26 Thread Sanjay Kumar (sanjaku5)
Thanks, Sanjay

RE: Does any functions are available to encode and decode the TeletexString/T61String to DER formatEOM

2013-11-26 Thread Dave Thompson
Yes, same as for the other ASN.1 primitive types. See DECLARE_ASN1_FUNCTIONS(ASN1_T61STRING) in asn1.h which expands to declare i2d_ d2i_ _new _free routines. (I'm pretty sure) they don't enforce the characterset restrictions for T.61, though, if you care about that you probably have to do