Jump To:
Leopard Sample Code: Cocoa
Mac OS X provides a number of authorization, authentication, and cryptographic services that developers can use to build security into their applications. These interfaces include an Objective-C API that provides authorization services and user interfaces for managing authorization, certificates, and keychains, plus several C APIs that can be called from Cocoa applications to provide lower-level security and secure networking services.

View all Security Sample Code.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Date
GetPrimaryMACAddress (HTML) (DMG) (ZIP)
Demonstrates retrieving the MAC address of the built-in Ethernet controller. Useful for uniquely identifying a Macintosh system.
2005-10-27
CryptoSample (HTML) (DMG) (ZIP)
Contains sample code showing symmetric encryption and message digest calculation.
2003-02-06
GetMACAddressSample (HTML) (DMG) (ZIP)
Demonstrates how to retrieve the MAC address for each Ethernet interface from the Mac OS X I/O Registry.
2003-01-14
SSLSample (HTML) (DMG) (ZIP)
Contains examples showing how to use SecureTransport.
2003-01-14