RE: parse a BER encoded string and decode it

2011-05-31 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of cocostaec > Sent: Thursday, 26 May, 2011 15:17 > can anyone tell a way how to parse a BER encoded string an > then decode it to > ASN1?i've tried: > [code] > unsigned char* buffer; > buffer=new unsigned char[strlen("0x3049")]; > > strcpy((char

parse a BER encoded string and decode it

2011-05-27 Thread cocostaec
e: 0:d=0 hl=2 l= 120 cons: SEQUENCE 2:d=1 hl=2 l= 48 cons: PRINTABLESTRING Error in encoding thanks -- View this message in context: http://old.nabble.com/parse-a-BER-encoded-string-and-decode-it-tp31711021p31711021.html Sent fro