Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DER decoding



Your best bet is to fetch the decoded subject name using CSSMOID_X509V1SubjectNameCStruct. The returned field is a (decoded) CSSM_X509_NAME.

--dpm

On Sep 24, 2006, at 9:58 PM, Martin Redington wrote:

I have a DER encoded string that I got from the
CSSMOID_X509V1SubjectName field of a SecIdentityRef.

What is the recommended way of decoding it?

I've managed to hack the string out, and it seems to work fine in all
cases so far, but what is the correct way?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Apple-cdsa mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden
References: 
 >DER decoding (From: "Martin Redington" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.