• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OCTET_STRING_t -> NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: OCTET_STRING_t -> NSString?
      • From: Wim Lewis <email@hidden>
References: 
 >OCTET_STRING_t -> NSString? (From: Todd Heberlein <email@hidden>)
 >Re: OCTET_STRING_t -> NSString? (From: Todd Heberlein <email@hidden>)
 >Re: OCTET_STRING_t -> NSString? (From: "Stephen J. Butler" <email@hidden>)

  • Prev by Date: Re: Cocoa alternative for method aliasing?
  • Next by Date: Re: OCTET_STRING_t -> NSString?
  • Previous by thread: Re: OCTET_STRING_t -> NSString?
  • Next by thread: Re: OCTET_STRING_t -> NSString?
  • Index(es):
    • Date
    • Thread