Certificate, Key, and Trust Services Reference
PDF
Overview
Functions by Task
Getting Type Identifiers
Managing Certificates
Managing Identities
Cryptography and Digital Signatures
Managing Policies
Managing Trust
Managing Trust Settings
Reporting Errors
Functions
SecCertificateAddToKeychain
SecCertificateCopyCommonName
SecCertificateCopyEmailAddresses
SecCertificateCopyPreference
SecCertificateCopyPublicKey
SecCertificateCreateFromData
SecCertificateGetAlgorithmID
SecCertificateGetCLHandle
SecCertificateGetData
SecCertificateGetIssuer
SecCertificateGetItem
SecCertificateGetSubject
SecCertificateGetType
SecCertificateGetTypeID
SecCertificateSetPreference
SecCopyErrorMessageString
SecIdentityCopyCertificate
SecIdentityCopyPreference
SecIdentityCopyPrivateKey
SecIdentityCopySystemIdentity
SecIdentityCreateWithCertificate
SecIdentityGetTypeID
SecIdentitySearchCopyNext
SecIdentitySearchCreate
SecIdentitySearchGetTypeID
SecIdentitySetPreference
SecIdentitySetSystemIdentity
SecKeyCreatePair
SecKeyGenerate
SecKeyGetCredentials
SecKeyGetCSPHandle
SecKeyGetCSSMKey
SecKeyGetTypeID
SecPolicyGetOID
SecPolicyGetTPHandle
SecPolicyGetTypeID
SecPolicyGetValue
SecPolicySearchCopyNext
SecPolicySearchCreate
SecPolicySearchGetTypeID
SecPolicySetValue
SecTrustCopyAnchorCertificates
SecTrustCopyCustomAnchorCertificates
SecTrustCopyPolicies
SecTrustCreateWithCertificates
SecTrustEvaluate
SecTrustGetCssmResult
SecTrustGetCssmResultCode
SecTrustGetResult
SecTrustGetTPHandle
SecTrustGetTypeID
SecTrustSetAnchorCertificates
SecTrustSetKeychains
SecTrustSetParameters
SecTrustSetPolicies
SecTrustSettingsCopyCertificates
SecTrustSettingsCopyModificationDate
SecTrustSettingsCopyTrustSettings
SecTrustSettingsCreateExternalRepresentation
SecTrustSettingsImportExternalRepresentation
SecTrustSettingsRemoveTrustSettings
SecTrustSettingsSetTrustSettings
SecTrustSetVerifyDate
Data Types
CSSM_TP_APPLE_EVIDENCE_INFO
SecCertificateRef
SecIdentityRef
SecIdentitySearchRef
SecKeyRef
SecPolicyRef
SecPolicySearchRef
SecPublicKeyHash
SecTrustRef
SecTrustUserSetting
Constants
Certificate Item Attribute Constants
Certificate Status Constants
Trust Result Type Constants
Action Data Flags
System Identity Domains
Key Credential Type Constants
Trust Settings Domain Constants
Trust Settings Key Use Constants
Trust Settings Usage Constraints Dictionary Keys
Trust Settings Result Constants
Default Root Certificate Trust Settings
Result Codes
Appendix A: Deprecated Certificate, Key, and Trust Services Functions
Deprecated in Mac OS X v10.5
SecTrustGetCSSMAnchorCertificates
SecTrustGetUserTrust
SecTrustSetUserTrust
Appendix B: AppleX509TP Trust Policies
CRL Policy Options
Evaluating Multiple Policies
Revision History
Index