Re: OCTET_STRING_t -> NSString?
Re: OCTET_STRING_t -> NSString?
- Subject: Re: OCTET_STRING_t -> NSString?
- From: Chris Ridd <email@hidden>
- Date: Tue, 29 Mar 2011 20:26:04 +0100
On 29 Mar 2011, at 19:00, Stephen J. Butler wrote:
> Again, I think using lber is the best way to handle this data :) I
> can't remember why, but once upon a time I wrote an encoder/decoder
> and had to learn all the subtitles.
liblber can only decode the restricted BER defined for use with LDAP. In particular, no indefinite length encoding, strings can't be constructed, etc. The lber-decode man page mentions this at the top.
Given this is all likely to be part of security data, I'd say use the crypto libraries and/or OpenSSL to crack it apart.
Chris
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden