Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: SHA1 hash for public cert in keyachain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SHA1 hash for public cert in keyachain

On Nov 9, 2009, at 2:48 PM, Keith Moores wrote:

Is there an CDSA/Apple API to retrieve the fingerprint (SHA-1 hash) of a certificate from the keychain?

You call CSSM_CSP_PassThrough using the CSSM_APPLECSP_KEYDIGEST operation.
You can find code for it here:
Look at the -_keyDigest method.

—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

 >SHA1 hash for public cert in keyachain (From: Keith Moores <email@hidden>)

Visit the Apple Store online or at retail locations.

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.