Re: OCTET_STRING_t -> NSString?
Re: OCTET_STRING_t -> NSString?
- Subject: Re: OCTET_STRING_t -> NSString?
- From: Todd Heberlein <email@hidden>
- Date: Tue, 29 Mar 2011 13:03:57 -0700
On Mar 29, 2011, at 12:54 PM, Wim Lewis wrote:
> If the security data is in DER, then lber's restricted subset of BER might still suffice. (I haven't looked.)
>
> But yes, linking openssl and using d2i_ASN1_type_bytes() and either ASN1_STRING_to_UTF8() or mapping the ASN.1 string types to (Core)Foundation string encodings seems like an easy(ish) way to get correct behavior.
I thought my Mac Cocoa program was pretty much done, and that all I needed to do was check off a box in Xcode's packaging or Apple's iTunes Connect web site saying "I want copy protection".
I didn't realize this was going to be a 2.5 day excursion.
Todd
_______________________________________________
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