[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Extra '0D' inside buffer



Hi All,

 

When I try to encode DEncX520OrganizationNameContent with Organization name oid as id_at_organizationName.

 

AsnOid id_at_organizationName = { 3, "\125\4\12" };

 

This is getting encoded as 06 03 55 04 0D 0A.

 

Extra ‘OD’ is getting inserted between 04 and 0A.

 

Could any of you suggest me how to resolve this problem.

And how do we have to store space in printable string ASN type.

 

Waiting for your suggestions.

 

Regards,
Aruna

 


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com