SecExports.exp-in   [plain text]


//  SecExports.exp-in
//  sec
//

//
// CFError to OSStatus conversion
//

_SecErrorGetOSStatus

//
// Password
//

_kSecPasswordMinLengthKey
_kSecPasswordMaxLengthKey
_kSecPasswordAllowedCharactersKey
_kSecPasswordRequiredCharactersKey
_kSecPasswordDefaultForType
_kSecPasswordDisallowedCharacters
_kSecPasswordCantStartWithChars
_kSecPasswordCantEndWithChars
_kSecPasswordContainsNoMoreThanNSpecificCharacters
_kSecPasswordContainsAtLeastNSpecificCharacters
_kSecPasswordContainsNoMoreThanNConsecutiveIdenticalCharacters
_kSecPasswordGroupSize
_kSecPasswordNumberOfGroups
_kSecPasswordSeparator
_kSecPasswordCharacterCount
_kSecPasswordCharacters
_SecPasswordIsPasswordWeak
_SecPasswordIsPasswordWeak2
_SecPasswordGenerate
_SecPasswordCopyDefaultPasswordLength
_SecPasswordCreateWithRandomDigits
_SecPasswordValidatePasswordFormat

//
// Base64
//

_SecBase64Encode
#if TARGET_OS_IPHONE
_SecBase64Encode2
#endif

//
// Trust
//
_SecIsInternalRelease

// Policies

_kSecPolicyAppleAST2DiagnosticsServerAuth
_kSecPolicyAppleATVVPNProfileSigning
_kSecPolicyAppleCodeSigning
_kSecPolicyAppleEAP
_kSecPolicyAppleEscrowProxyCompatibilityServerAuth
_kSecPolicyAppleEscrowProxyServerAuth
_kSecPolicyAppleEscrowService
_kSecPolicyAppleExternalDeveloper
_kSecPolicyAppleFactoryDeviceCertificate
_kSecPolicyAppleFMiPServerAuth
_kSecPolicyAppleGenericApplePinned
_kSecPolicyAppleGenericAppleSSLPinned
_kSecPolicyAppleGSService
_kSecPolicyAppleHomeKitServerAuth
_kSecPolicyAppleiAP
_kSecPolicyAppleiCloudSetupServerAuth
_kSecPolicyAppleiCloudSetupCompatibilityServerAuth
_kSecPolicyAppleIDAuthority
_kSecPolicyAppleIDSService
_kSecPolicyAppleIDSServiceContext
_kSecPolicyAppleIDValidation
_kSecPolicyAppleIDValidationRecordSigning
_kSecPolicyAppleIDValidationRecordSigningPolicy
_kSecPolicyAppleiPhoneActivation
_kSecPolicyAppleiPhoneApplicationSigning
_kSecPolicyAppleiPhoneDeviceCertificate
_kSecPolicyAppleiPhoneProfileApplicationSigning
_kSecPolicyAppleiPhoneProvisioningProfileSigning
_kSecPolicyAppleIPsec
_kSecPolicyAppleiTunesStoreURLBag
_kSecPolicyAppleLegacyPushService
_kSecPolicyAppleLockdownPairing
_kSecPolicyAppleMMCSCompatibilityServerAuth
_kSecPolicyAppleMMCSService
_kSecPolicyAppleMobileAsset
_kSecPolicyAppleMobileStore
_kSecPolicyAppleOCSPSigner
_kSecPolicyAppleOSXProvisioningProfileSigning
_kSecPolicyAppleOTAPKISigner
_kSecPolicyAppleOTATasking
_kSecPolicyApplePackageSigning
_kSecPolicyApplePassbookSigning
_kSecPolicyApplePayIssuerEncryption
_kSecPolicyApplePCSEscrowService
_kSecPolicyApplePKINITClient
_kSecPolicyApplePKINITServer
_kSecPolicyApplePPQService
_kSecPolicyApplePPQSigning
_kSecPolicyAppleProfileSigner
_kSecPolicyApplePushService
_kSecPolicyAppleQAProfileSigner
_kSecPolicyAppleRevocation
_kSecPolicyAppleSecureIOStaticAsset
_kSecPolicyAppleServerAuthentication
_kSecPolicyAppleSMIME
_kSecPolicyAppleSMPEncryption
_kSecPolicyAppleSoftwareSigning
_kSecPolicyAppleSSL
_kSecPolicyAppleSWUpdateSigning
_kSecPolicyAppleTestMobileStore
_kSecPolicyAppleTestOTAPKISigner
_kSecPolicyAppleTestPPQSigning
_kSecPolicyAppleTestSMPEncryption
_kSecPolicyAppleTimeStamping
_kSecPolicyAppleTVOSApplicationSigning
_kSecPolicyAppleUniqueDeviceIdentifierCertificate
_kSecPolicyAppleURLBag
_kSecPolicyAppleWarsaw
_kSecPolicyAppleX509Basic
_kSecPolicyMacAppStoreReceipt

// Policy Checks
_kSecPolicyAppleAnchorIncludeTestRoots
_kSecPolicyCheckAnchorSHA1
_kSecPolicyCheckAnchorSHA256
_kSecPolicyCheckAnchorApple
_kSecPolicyCheckAnchorTrusted
_kSecPolicyCheckBasicCertificateProcessing
_kSecPolicyCheckBasicConstraints
_kSecPolicyCheckBlackListedKey
_kSecPolicyCheckBlackListedLeaf
_kSecPolicyCheckCertificatePolicy
_kSecPolicyCheckCertificateTransparency
_kSecPolicyCheckChainLength
_kSecPolicyCheckCriticalExtensions
_kSecPolicyCheckEAPTrustedServerNames
_kSecPolicyCheckEmail
_kSecPolicyCheckExtendedKeyUsage
_kSecPolicyCheckExtendedValidation
_kSecPolicyCheckGrayListedKey
_kSecPolicyCheckGrayListedLeaf
_kSecPolicyCheckIdLinkage
_kSecPolicyCheckIntermediateCountry
_kSecPolicyCheckIntermediateEKU
_kSecPolicyCheckIntermediateMarkerOid
_kSecPolicyCheckIntermediateOrganization
_kSecPolicyCheckIntermediateSPKISHA256
_kSecPolicyCheckIssuerCommonName
_kSecPolicyCheckKeySize
_kSecPolicyCheckKeyUsage
_kSecPolicyCheckLeafMarkerOid
_kSecPolicyCheckLeafMarkerOidWithoutValueCheck
_kSecPolicyCheckLeafMarkersProdAndQA
_kSecPolicyCheckNoNetworkAccess
_kSecPolicyCheckNonEmptySubject
_kSecPolicyCheckNotValidBefore
_kSecPolicyCheckQualifiedCertStatements
_kSecPolicyCheckRevocation
_kSecPolicyCheckRevocationAny
_kSecPolicyCheckRevocationCRL
_kSecPolicyCheckRevocationOCSP
_kSecPolicyCheckRevocationOnline
_kSecPolicyCheckRevocationResponseRequired
_kSecPolicyCheckSignatureHashAlgorithms
_kSecPolicyCheckSSLHostname
_kSecPolicyCheckSubjectCommonName
_kSecPolicyCheckSubjectCommonNamePrefix
_kSecPolicyCheckSubjectCommonNameTEST
_kSecPolicyCheckSubjectOrganization
_kSecPolicyCheckSubjectOrganizationalUnit
_kSecPolicyCheckSystemTrustedWeakHash
_kSecPolicyCheckUsageConstraints
_kSecPolicyCheckValidIntermediates
_kSecPolicyCheckValidLeaf
_kSecPolicyCheckValidRoot
_kSecPolicyCheckWeakIntermediates
_kSecPolicyCheckWeakLeaf
_kSecPolicyCheckWeakRoot
_kSecPolicyLeafMarkerProd
_kSecPolicyLeafMarkerQA

// Policy Properties
_kSecPolicyClient
_kSecPolicyContext
_kSecPolicyIntermediateMarkerOid
_kSecPolicyLeafMarkerOid
_kSecPolicyName
_kSecPolicyOid
_kSecPolicyPolicyName
_kSecPolicyRevocationFlags
_kSecPolicyTeamIdentifier

#if TARGET_OS_OSX
_kSecPolicyKU_CRLSign
_kSecPolicyKU_DataEncipherment
_kSecPolicyKU_DecipherOnly
_kSecPolicyKU_DigitalSignature
_kSecPolicyKU_EncipherOnly
_kSecPolicyKU_KeyAgreement
_kSecPolicyKU_KeyCertSign
_kSecPolicyKU_KeyEncipherment
_kSecPolicyKU_NonRepudiation
#endif

_SecPolicyCheckCertEAPTrustedServerNames
_SecPolicyCheckCertEmail
_SecPolicyCheckCertExtendedKeyUsage
_SecPolicyCheckCertLeafMarkerOid
_SecPolicyCheckCertLeafMarkerOidWithoutValueCheck
_SecPolicyCheckCertKeyUsage
_SecPolicyCheckCertNotValidBefore
_SecPolicyCheckCertSignatureHashAlgorithms
_SecPolicyCheckCertSSLHostname
_SecPolicyCheckCertSubjectCommonName
_SecPolicyCheckCertSubjectCommonNamePrefix
_SecPolicyCheckCertSubjectCommonNameTEST
_SecPolicyCheckCertSubjectCountry
_SecPolicyCheckCertSubjectOrganization
_SecPolicyCheckCertSubjectOrganizationalUnit
_SecPolicyCopyProperties
_SecPolicyCreate
_SecPolicyCreateAppleAST2Service
_SecPolicyCreateAppleATVVPNProfileSigning
_SecPolicyCreateAppleCompatibilityEscrowProxyService
_SecPolicyCreateAppleCompatibilityMMCSService
_SecPolicyCreateAppleCompatibilityiCloudSetupService
_SecPolicyCreateAppleEscrowProxyService
_SecPolicyCreateAppleExternalDeveloper
_SecPolicyCreateAppleFMiPService
_SecPolicyCreateAppleGSService
_SecPolicyCreateAppleHomeKitServerAuth
_SecPolicyCreateAppleiCloudSetupService
_SecPolicyCreateAppleIDAuthorityPolicy
_SecPolicyCreateAppleIDSService
_SecPolicyCreateAppleIDSServiceContext
_SecPolicyCreateAppleIDValidationRecordSigningPolicy
_SecPolicyCreateAppleMMCSService
_SecPolicyCreateApplePackageSigning
_SecPolicyCreateApplePayIssuerEncryption
_SecPolicyCreateApplePinned
_SecPolicyCreateApplePPQService
_SecPolicyCreateApplePPQSigning
_SecPolicyCreateApplePushService
_SecPolicyCreateApplePushServiceLegacy
_SecPolicyCreateAppleSecureIOStaticAsset
_SecPolicyCreateAppleSMPEncryption
_SecPolicyCreateAppleSoftwareSigning
_SecPolicyCreateAppleSSLPinned
_SecPolicyCreateAppleSSLService
_SecPolicyCreateAppleTimeStamping
_SecPolicyCreateAppleTVOSApplicationSigning
_SecPolicyCreateAppleWarsaw
_SecPolicyCreateBasicX509
_SecPolicyCreateCodeSigning
_SecPolicyCreateConfigurationProfileSigner
_SecPolicyCreateEAP
_SecPolicyCreateEscrowServiceSigner
_SecPolicyCreateFactoryDeviceCertificate
_SecPolicyCreateiAP
_SecPolicyCreateiPhoneActivation
_SecPolicyCreateiPhoneApplicationSigning
_SecPolicyCreateiPhoneDeviceCertificate
_SecPolicyCreateiPhoneProfileApplicationSigning
_SecPolicyCreateiPhoneProvisioningProfileSigning
_SecPolicyCreateIPSec
_SecPolicyCreateiTunesStoreURLBag
_SecPolicyCreateLockdownPairing
_SecPolicyCreateMacAppStoreReceipt
_SecPolicyCreateMobileAsset
_SecPolicyCreateMobileStoreSigner
_SecPolicyCreateOCSPSigner
_SecPolicyCreateOSXProvisioningProfileSigning
_SecPolicyCreateOTAPKISigner
_SecPolicyCreateOTATasking
_SecPolicyCreatePassbookCardSigner
_SecPolicyCreatePCSEscrowServiceSigner
_SecPolicyCreateQAConfigurationProfileSigner
_SecPolicyCreateRevocation
_SecPolicyCreateSSL
_SecPolicyCreateSMIME
_SecPolicyCreateTestApplePPQSigning
_SecPolicyCreateTestAppleSMPEncryption
_SecPolicyCreateTestMobileStoreSigner
_SecPolicyCreateTestOTAPKISigner
_SecPolicyCreateAppleUniqueDeviceCertificate
_SecPolicyCreateURLBag
_SecPolicyCreateWithProperties
_SecPolicyGetName
_SecPolicyGetOidString
_SecPolicyGetTypeID
#if TARGET_OS_OSX
_SecPolicyCopy
_SecPolicyCopyAll
_SecPolicyCreateAppleTimeStampingAndRevocationPolicies
_SecPolicyCreateItemImplInstance
_SecPolicyCreateWithOID
_SecPolicyGetOID
_SecPolicyGetStringForOID
_SecPolicyGetTPHandle
_SecPolicyGetValue
_SecPolicySearchCopyNext
_SecPolicySearchCreate
_SecPolicySearchGetTypeID
_SecPolicySetProperties
_SecPolicySetValue
#endif


_kSecPropertyKeyLabel
_kSecPropertyKeyLocalizedLabel
_kSecPropertyKeyType
_kSecPropertyKeyValue
_kSecPropertyTypeData
_kSecPropertyTypeDate
_kSecPropertyTypeError
_kSecPropertyTypeSection
_kSecPropertyTypeString
_kSecPropertyTypeSuccess
_kSecPropertyTypeTitle
_kSecPropertyTypeURL
_kSecPropertyTypeWarning

_kSecSignatureDigestAlgorithmUnknown
_kSecSignatureDigestAlgorithmMD2
_kSecSignatureDigestAlgorithmMD4
_kSecSignatureDigestAlgorithmMD5
_kSecSignatureDigestAlgorithmSHA1
_kSecSignatureDigestAlgorithmSHA224
_kSecSignatureDigestAlgorithmSHA256
_kSecSignatureDigestAlgorithmSHA384
_kSecSignatureDigestAlgorithmSHA512

_kSecTrustCertificateTransparency
_kSecTrustCertificateTransparencyWhiteList
_kSecTrustEvaluationDate
_kSecTrustExtendedValidation
_kSecTrustInfoCertificateTransparencyKey
_kSecTrustInfoCertificateTransparencyWhiteListKey
_kSecTrustInfoCompanyNameKey
_kSecTrustInfoExtendedValidationKey
_kSecTrustInfoRevocationKey
_kSecTrustInfoRevocationValidUntilKey
_kSecTrustOrganizationName
_kSecTrustResultDetails
_kSecTrustResultValue
_kSecTrustRevocationChecked
_kSecTrustRevocationReason
_kSecTrustRevocationValidUntilDate

_SecTrustAddToInputCertificates
_SecTrustCopyCustomAnchorCertificates
_SecTrustCopyDetailedPropertiesAtIndex
_SecTrustCopyExceptions
_SecTrustCopyFailureDescription
_SecTrustCopyFilteredDetails
_SecTrustCopyInfo
_SecTrustCopyInputCertificates
_SecTrustCopyPolicies
_SecTrustCopyProperties
_SecTrustCopyPublicKey
_SecTrustCopyResult
_SecTrustCopySummaryPropertiesAtIndex
_SecTrustCreateWithCertificates
_SecTrustDeserialize
_SecTrustEvaluate
_SecTrustEvaluateAsync
_SecTrustEvaluateLeafOnly
_SecTrustGetCertificateAtIndex
_SecTrustGetCertificateCount
_SecTrustGetDetails
_SecTrustGetKeychainsAllowed
_SecTrustGetNetworkFetchAllowed
_SecTrustGetOTAPKIAssetVersionNumber
_SecTrustGetTrustResult
_SecTrustGetTypeID
_SecTrustGetVerifyTime
_SecTrustOTAPKIGetUpdatedAsset
_SecTrustSerialize
_SecTrustSetAnchorCertificates
_SecTrustSetAnchorCertificatesOnly
_SecTrustSetExceptions
_SecTrustSetKeychainsAllowed
_SecTrustSetNetworkFetchAllowed
_SecTrustSetOCSPResponse
_SecTrustSetPolicies
_SecTrustSetSignedCertificateTimestamps
_SecTrustSetTrustedLogs
_SecTrustSetVerifyDate
#if TARGET_OS_OSX
_SecTrustCopyAnchorCertificates
_SecTrustCopyExtendedResult
_SecTrustCopyProperties_ios
_SecTrustGetCSSMAnchorCertificates
_SecTrustGetCssmResult
_SecTrustGetCssmResultCode
_SecTrustGetResult
_SecTrustGetTPHandle
_SecTrustGetUserTrust
_SecTrustLegacySourcesEventRunloopCreate
_SecTrustLegacyCRLFetch
_SecTrustLegacyCRLStatus
_SecTrustSetKeychains
_SecTrustSetOptions
_SecTrustSetParameters
_SecTrustSetUserTrust
_SecTrustSetUserTrustLegacy

_SecTrustSettingsCopyCertificates                                                                                                        
_SecTrustSettingsCopyCertificatesForUserAdminDomains                                                                                     
_SecTrustSettingsCopyModificationDate                                                                                                    
_SecTrustSettingsCopyQualifiedCerts                                                                                                      
_SecTrustSettingsCopyTrustSettings                                                                                                       
_SecTrustSettingsCopyUnrestrictedRoots                                                                                                   
_SecTrustSettingsCreateExternalRepresentation                                                                                            
_SecTrustSettingsEvaluateCert                                                                                                            
_SecTrustSettingsImportExternalRepresentation                                                                                            
_SecTrustSettingsRemoveTrustSettings                                                                                                     
_SecTrustSettingsSetTrustSettings                                                                                                        
_SecTrustSettingsSetTrustSettingsExternal                                                                                                
_SecTrustedApplicationCopyData                                                                                                           
_SecTrustedApplicationCopyExternalRepresentation                                                                                         
_SecTrustedApplicationCopyRequirement                                                                                                    
_SecTrustedApplicationCreateApplicationGroup                                                                                             
_SecTrustedApplicationCreateFromPath                                                                                                     
_SecTrustedApplicationCreateFromRequirement                                                                                              
_SecTrustedApplicationCreateWithExternalRepresentation                                                                                   
_SecTrustedApplicationGetTypeID                                                                                                          
_SecTrustedApplicationIsUpdateCandidate                                                                                                  
_SecTrustedApplicationMakeEquivalent                                                                                                     
_SecTrustedApplicationRemoveEquivalence                                                                                                  
_SecTrustedApplicationSetData                                                                                                            
_SecTrustedApplicationUseAlternateSystem                                                                                                 
_SecTrustedApplicationValidateWithPath 
#endif

#if TARGET_OS_IPHONE
_SecTrustStoreContains
_SecTrustStoreCopyAll
_SecTrustStoreCopyUsageConstraints
_SecTrustStoreForDomain
_SecTrustStoreGetSettingsVersionNumber
_SecTrustStoreRemoveCertificate
_SecTrustStoreSetTrustSettings
#endif

//
// Identity
//

_SecIdentityCopyCertificate
_SecIdentityCopyPrivateKey
_SecIdentityCreate
_SecIdentityGetTypeID


//
// Certificate
//

_kSecCertificateEscrowFileName
_kSecCertificateProductionEscrowKey
_kSecCertificateProductionPCSEscrowKey
_SecCertificateCopyAttributeDictionary
_SecCertificateCopyCommonName
_SecCertificateCopyCommonNames
_SecCertificateCopyCompanyName
_SecCertificateCopyCountry
_SecCertificateCopyDNSNames
_SecCertificateCopyData
_SecCertificateCopyEmailAddresses
_SecCertificateCopyEscrowRoots
_SecCertificateCopyExtendedKeyUsage
_SecCertificateCopyiAPAuthCapabilities
_SecCertificateCopyIPAddresses
_SecCertificateCopyIssuerSHA1Digest
_SecCertificateCopyIssuerSequence
_SecCertificateCopyIssuerSummary
_SecCertificateCopyKeychainItem
_SecCertificateCopyNormalizedIssuerSequence
_SecCertificateCopyNormalizedSubjectSequence
_SecCertificateCopyNTPrincipalNames
_SecCertificateCopyOrganization
_SecCertificateCopyOrganizationalUnit
_SecCertificateCopyPrecertTBS
_SecCertificateCopyProperties
_SecCertificateCopyPublicKey
_SecCertificateCopyPublicKeySHA1Digest
_SecCertificateCopyRFC822Names
_SecCertificateCopySerialNumber
_SecCertificateCopySHA256Digest
_SecCertificateCopySignedCertificateTimestamps
_SecCertificateCopySubjectPublicKeyInfoSHA1Digest
_SecCertificateCopySubjectPublicKeyInfoSHA256Digest
_SecCertificateCopySubjectSequence
_SecCertificateCopySubjectString
_SecCertificateCopySubjectSummary
_SecCertificateCopySummaryProperties
_SecCertificateCreateFromAttributeDictionary
_SecCertificateCreateOidDataFromString
_SecCertificateCreateWithBytes
_SecCertificateCreateWithData
_SecCertificateCreateWithKeychainItem
_SecCertificateCreateWithPEM
_SecCertificateGetAuthorityKeyID
_SecCertificateGetBasicConstraints
_SecCertificateGetBytePtr
_SecCertificateGetCAIssuers
_SecCertificateGetCertificatePolicies
_SecCertificateGetCRLDistributionPoints
_SecCertificateGetExcludedSubtrees
_SecCertificateGetExtensionValue
_SecCertificateGetiAuthVersion
_SecCertificateGetInhibitAnyPolicySkipCerts
_SecCertificateGetKeyUsage
_SecCertificateGetLength
_SecCertificateGetNormalizedIssuerContent
_SecCertificateGetNormalizedSubjectContent
_SecCertificateGetOCSPResponders
_SecCertificateGetPermittedSubtrees
_SecCertificateGetPolicyConstraints
_SecCertificateGetPolicyMappings
_SecCertificateGetPublicKeyAlgorithm
_SecCertificateGetPublicKeyData
_SecCertificateGetSHA1Digest
_SecCertificateGetSignatureHashAlgorithm
_SecCertificateGetSubjectAltName
_SecCertificateGetSubjectKeyID
_SecCertificateGetTypeID
_SecCertificateHasCriticalSubjectAltName
_SecCertificateHasMarkerExtension
_SecCertificateHasSubject
_SecCertificateHasUnknownCriticalExtension
_SecCertificateIsAtLeastMinKeySize
_SecCertificateIsCA
_SecCertificateIsOidString
_SecCertificateIsSelfSigned
_SecCertificateIsSelfSignedCA
_SecCertificateIsSignedBy
_SecCertificateIsValid
_SecCertificateIsWeakHash
_SecCertificateIsWeakKey
_SecCertificateNotValidAfter
_SecCertificateNotValidBefore
_SecCertificateParseGeneralNameContentProperty
_SecCertificateParseGeneralNames
_SecCertificateSetKeychainItem
_SecCertificateShow
_SecCertificateVersion
_SecDistinguishedNameCopyNormalizedContent
#if TARGET_OS_OSX
_SecCertificateAddToKeychain
_SecCertificateCopyFieldValues
_SecCertificateCopyFirstFieldValue
_SecCertificateCopyLongDescription
_SecCertificateCopyNormalizedIssuerContent
_SecCertificateCopyNormalizedSubjectContent
_SecCertificateCopyPreference
_SecCertificateCopyPreferred
_SecCertificateCopyPublicKey_ios
_SecCertificateCopyPublicKeyP
_SecCertificateCopyPublicKeySHA1DigestFromCertificateData
_SecCertificateCopyShortDescription
_SecCertificateCopySubjectComponent
_SecCertificateCopyValues
_SecCertificateCreateFromData
_SecCertificateCreateItemImplInstance
_SecCertificateCreateWithDataP
_SecCertificateFindByEmail
_SecCertificateFindByIssuerAndSN
_SecCertificateFindBySubjectKeyID
_SecCertificateGetAlgorithmID
_SecCertificateGetCLHandle
_SecCertificateGetCLHandle_legacy
_SecCertificateGetCommonName
_SecCertificateGetData
_SecCertificateGetEmailAddress
_SecCertificateGetIssuer
_SecCertificateGetSubject
_SecCertificateGetType
_SecCertificateInferLabel
_SecCertificateIsValidX
_SecCertificateReleaseFieldValues
_SecCertificateReleaseFirstFieldValue
_SecCertificateSetPreference
_SecCertificateSetPreferred
#endif

//
// CertificateBundle
//

#if TARGET_OS_OSX
_SecCertifcateBundleExport
_SecCertificateBundleExport
_SecCertificateBundleImport
#endif /* TARGET_OS_OSX */

//
// CertificatePath
//
_SecCertificatePathCopyAddingLeaf
_SecCertificatePathCopyCertificates
_SecCertificatePathCopyFromParent
_SecCertificatePathCopyPublicKeyAtIndex
_SecCertificatePathCreate
_SecCertificatePathCreateSerialized
_SecCertificatePathGetCertificateAtIndex
_SecCertificatePathGetCount
_SecCertificatePathGetIndexOfCertificate
_SecCertificatePathGetNextSourceIndex
_SecCertificatePathGetRoot
_SecCertificatePathGetUsageConstraintsAtIndex
_SecCertificatePathHasWeakHash
_SecCertificatePathHasWeakKeySize
_SecCertificatePathIsAnchored
_SecCertificatePathIsValid
_SecCertificatePathScore
_SecCertificatePathSelfSignedIndex
_SecCertificatePathSetIsAnchored
_SecCertificatePathSetNextSourceIndex
_SecCertificatePathSetSelfIssued
_SecCertificatePathVerify

#if TARGET_OS_IPHONE
//
// SCEP
//
_SecSCEPCreateTemporaryIdentity
_SecSCEPCertifyRequest
_SecSCEPGenerateCertificateRequest
_SecSCEPVerifyReply
_SecSCEPValidateCACertMessage
_SecSCEPGetCertInitial
#endif

//
// CSR
//
_kSecCertificateKeyUsage
_kSecCertificateExtensions
_kSecCertificateExtensionsEncoded
_kSecCSRBasicContraintsPathLen
_kSecCSRChallengePassword
_kSecOidCommonName
_kSecOidCountryName
_kSecOidLocalityName
_kSecOidOrganization
_kSecOidOrganizationalUnit
_kSecOidStateProvinceName
_kSecSubjectAltName
_SecASN1PrintableString
_SecASN1UTF8String
_SecGenerateCertificateRequest
_SecGenerateCertificateRequestWithParameters
_SecGenerateSelfSignedCertificate
_SecIdentitySignCertificate
_SecVerifyCertificateRequest
#if TARGET_OS_OSX
_SecCertificateFindRequest
_SecCertificateRequestCreate
_SecCertificateRequestGetData
_SecCertificateRequestGetResult
_SecCertificateRequestGetType
_SecCertificateRequestGetTypeID
_SecCertificateRequestSubmit
#endif

//
// OTR
//

#if TARGET_OS_IPHONE
_SecFDHKAppendCompactPublicSerialization
_SecFDHKAppendPublicSerialization

_SecOTRCopyIncomingBytes
_SecOTRDHKGenerateOTRKeys
_SecOTRFIAppendSerialization
_SecOTRFIPurgeAllFromKeychain
_SecOTRFIPurgeFromKeychain
_SecOTRFullDHKCreate
_SecOTRFullIdentityCreate
_SecOTRFullIdentityCreateFromData
_SecOTRPIAppendSerialization
_SecOTRPacketTypeString
_SecOTRPublicDHKCreateFromCompactSerialization
_SecOTRPublicDHKCreateFromFullKey
_SecOTRPublicDHKCreateFromSerialization
_SecOTRPublicIdentityCopyFromPrivate
_SecOTRPublicIdentityCreateFromData
_SecOTRSEndSession
_SecOTRSGetKeyID
_SecOTRSGetTheirKeyID
_SecOTRSKickTimeToRoll
_SecOTRSPrecalculateKeys
_SecOTRSessionCreateRemote
_SecOTRSessionProcessPacketRemote
#endif

_SecOTRFullIdentityCreateFromSecKeyRef
_SecOTRSIsForKeys
_SecOTRPublicIdentityCreateFromSecKeyRef
_SecOTRSAppendRestartPacket
_SecOTRSAppendSerialization
_SecOTRSAppendStartPacket
_SecOTRSGetIsIdle
_SecOTRSGetIsReadyForMessages
_SecOTRSGetMessageKind
_SecOTRSProcessPacket
_SecOTRSSignAndProtectMessage
_SecOTRSVerifyAndExposeMessage
_SecOTRSessionCreateFromData
_SecOTRSessionCreateFromID
_SecOTRSessionCreateFromIDAndFlags
_SecOTRSessionReset


//
// DH
//

_SecDHComputeKey
_SecDHCreate
#if TARGET_OS_IPHONE
_SecDHCreateFromAlgorithmId
#endif
_SecDHCreateFromParameters
_SecDHDecodeParams
_SecDHDestroy
_SecDHEncodeParams
_SecDHGenerateKeypair
_SecDHGetMaxKeyLength

#if TARGET_OS_IPHONE
//
// Securityd client
//

_gSecurityd
#endif

#if TARGET_OS_IPHONE
//
// XPC
//

_kSecXPCKeyPeerInfoArray
_kSecXPCKeyPeerInfo
_kSecXPCKeyOperation
_kSecXPCKeyResult
_kSecXPCKeyError
_kSecXPCKeyClientToken
_kSecXPCKeyUserLabel
_kSecXPCKeyDSID
_kSecXPCKeyUserPassword
_sSecXPCErrorDomain
_kSecXPCKeyOTAFileDirectory
_kSecXPCKeyEscrowLabel
_kSecXPCKeyTriesLabel
#endif


//
// Logging
//

_SecGetCurrentServerLoggingInfo
_SecSetLoggingInfoForXPCScope
_SecSetLoggingInfoForCircleScope

//
// CMS
//

#if TARGET_OS_IPHONE

_SecCMSCertificatesOnlyMessageCopyCertificates
_SecCMSCreateCertificatesOnlyMessage
_SecCMSCreateCertificatesOnlyMessageIAP
_SecCMSCreateEnvelopedData
_SecCMSDecryptEnvelopedData
_SecCMSSignDataAndAttributes
_SecCMSSignDigestAndAttributes
_SecCmsContentInfoGetBulkKey
_SecCmsContentInfoGetBulkKeySize
_SecCmsContentInfoGetChildContentInfo
_SecCmsContentInfoGetContent
_SecCmsContentInfoGetContentEncAlg
_SecCmsContentInfoGetContentEncAlgTag
_SecCmsContentInfoGetContentTypeOID
_SecCmsContentInfoGetContentTypeTag
_SecCmsContentInfoGetInnerContent
_SecCmsContentInfoSetBulkKey
_SecCmsContentInfoSetContentData
_SecCmsContentInfoSetContentDigestedData
_SecCmsContentInfoSetContentEncAlg
_SecCmsContentInfoSetContentEncAlgID
_SecCmsContentInfoSetContentEncryptedData
_SecCmsContentInfoSetContentEnvelopedData
_SecCmsContentInfoSetContentSignedData
_SecCmsDecoderCreate
_SecCmsDecoderDestroy
_SecCmsDecoderFinish
_SecCmsDecoderUpdate
_SecCmsDigestContextCancel
_SecCmsDigestContextDestroy
_SecCmsDigestContextFinishMultiple
_SecCmsDigestContextStartMultiple
_SecCmsDigestContextUpdate
_SecCmsDigestedDataCreate
_SecCmsDigestedDataDestroy
_SecCmsDigestedDataGetContentInfo
_SecCmsEncoderCreate
_SecCmsEncoderDestroy
_SecCmsEncoderFinish
_SecCmsEncoderUpdate
_SecCmsEncryptedDataCreate
_SecCmsEncryptedDataDestroy
_SecCmsEncryptedDataGetContentInfo
_SecCmsEnvelopedDataCreate
_SecCmsEnvelopedDataDestroy
_SecCmsEnvelopedDataGetContentInfo
_SecCmsMessageContainsCertsOrCrls
_SecCmsMessageContentLevel
_SecCmsMessageContentLevelCount
_SecCmsMessageCopy
_SecCmsMessageCreate
_SecCmsMessageDecode
_SecCmsMessageDestroy
_SecCmsMessageEncode
_SecCmsMessageGetContent
_SecCmsMessageGetContentInfo
_SecCmsMessageIsContentEmpty
_SecCmsMessageIsEncrypted
_SecCmsMessageIsSigned
_SecCmsRecipientInfoCreate
_SecCmsRecipientInfoCreateWithSubjKeyID
_SecCmsSignedDataAddCertChain
_SecCmsSignedDataAddCertList
_SecCmsSignedDataAddCertificate
_SecCmsSignedDataContainsCertsOrCrls
_SecCmsSignedDataCreate
_SecCmsSignedDataCreateCertsOnly
_SecCmsSignedDataDestroy
_SecCmsSignedDataGetCertificateList
_SecCmsSignedDataGetContentInfo
_SecCmsSignedDataGetDigestAlgs
_SecCmsSignedDataGetSignerInfo
_SecCmsSignedDataGetSignerInfos
_SecCmsSignedDataHasDigests
_SecCmsSignedDataImportCerts
_SecCmsSignedDataSetDigestContext
_SecCmsSignedDataSignerInfoCount
_SecCmsSignedDataVerifyCertsOnly
_SecCmsSignedDataVerifySignerInfo
_SecCmsSignerInfoAddAppleCodesigningHashAgility
_SecCmsSignerInfoAddCounterSignature
_SecCmsSignerInfoAddMSSMIMEEncKeyPrefs
_SecCmsSignerInfoAddSMIMECaps
_SecCmsSignerInfoAddSMIMEEncKeyPrefs
_SecCmsSignerInfoAddSigningTime
_SecCmsSignerInfoCreate
_SecCmsSignerInfoCreateWithSubjKeyID
_SecCmsSignerInfoGetAppleCodesigningHashAgility
_SecCmsSignerInfoGetCertList
_SecCmsSignerInfoGetDigestAlg
_SecCmsSignerInfoGetDigestAlgTag
_SecCmsSignerInfoGetSignerCommonName
_SecCmsSignerInfoGetSignerEmailAddress
_SecCmsSignerInfoGetSigningCertificate
_SecCmsSignerInfoGetSigningTime
_SecCmsSignerInfoGetVerificationStatus
_SecCmsSignerInfoIncludeCerts
_SecCmsSignerInfoSaveSMIMEProfile
_SecCmsUtilVerificationStatusToString
_kSecCMSAdditionalCerts
_kSecCMSAllCerts
_kSecCMSBulkEncryptionAlgorithm
_kSecCMSCertChainMode
_kSecCMSCertChainModeNone
_kSecCMSEncryptionAlgorithmAESCBC
_kSecCMSEncryptionAlgorithmDESCBC
_kSecCMSHashingAlgorithmMD5
_kSecCMSHashingAlgorithmSHA1
_kSecCMSHashingAlgorithmSHA256
_kSecCMSHashingAlgorithmSHA384
_kSecCMSHashingAlgorithmSHA512
_kSecCMSSignDate
_kSecCMSSignDetached
_kSecCMSSignDigest
_kSecCMSSignHashAlgorithm
_kSecCMSSignedAttributes

#elif TARGET_OS_OSX
//
// libsecurity_smime
//
_SecArenaPoolCreate
_SecArenaPoolFree
_SecCMSCertificatesOnlyMessageCopyCertificates
_SecCMSCreateCertificatesOnlyMessage
_SecCMSCreateCertificatesOnlyMessageIAP
_SecCMSCreateEnvelopedData
_SecCMSDecryptEnvelopedData
_SecCmsContentInfoGetBulkKey
_SecCmsContentInfoGetBulkKeySize
_SecCmsContentInfoGetChildContentInfo
_SecCmsContentInfoGetContent
_SecCmsContentInfoGetContentEncAlg
_SecCmsContentInfoGetContentEncAlgTag
_SecCmsContentInfoGetContentTypeOID
_SecCmsContentInfoGetContentTypeTag
_SecCmsContentInfoGetInnerContent
_SecCmsContentInfoSetBulkKey
_SecCmsContentInfoSetContentData
_SecCmsContentInfoSetContentDigestedData
_SecCmsContentInfoSetContentEncAlg
_SecCmsContentInfoSetContentEncAlgID
_SecCmsContentInfoSetContentEncryptedData
_SecCmsContentInfoSetContentEnvelopedData
_SecCmsContentInfoSetContentOther
_SecCmsContentInfoSetContentSignedData
_SecCmsDecoderCreate
_SecCmsDecoderDestroy
_SecCmsDecoderFinish
_SecCmsDecoderUpdate
_SecCmsDigestContextCancel
_SecCmsDigestContextFinishMultiple
_SecCmsDigestContextStartMultiple
_SecCmsDigestContextUpdate
_SecCmsDigestedDataCreate
_SecCmsDigestedDataDestroy
_SecCmsDigestedDataGetContentInfo
_SecCmsEncoderCreate
_SecCmsEncoderDestroy
_SecCmsEncoderFinish
_SecCmsEncoderUpdate
_SecCmsEncryptedDataCreate
_SecCmsEncryptedDataDestroy
_SecCmsEncryptedDataGetContentInfo
_SecCmsEnvelopedDataAddRecipient
_SecCmsEnvelopedDataCreate
_SecCmsEnvelopedDataDestroy
_SecCmsEnvelopedDataGetContentInfo
_SecCmsMessageContainsCertsOrCrls
_SecCmsMessageContainsTSTInfo
_SecCmsMessageContentLevel
_SecCmsMessageContentLevelCount
_SecCmsMessageCopy
_SecCmsMessageCreate
_SecCmsMessageDecode
_SecCmsMessageDestroy
_SecCmsMessageEncode
_SecCmsMessageGetArena
_SecCmsMessageGetContent
_SecCmsMessageGetContentInfo
_SecCmsMessageIsContentEmpty
_SecCmsMessageIsEncrypted
_SecCmsMessageIsSigned
_SecCmsMessageSetTSACallback
_SecCmsMessageSetTSAContext
_SecCmsRecipientInfoCreate
_SecCmsRecipientInfoCreateWithSubjKeyID
_SecCmsRecipientInfoCreateWithSubjKeyIDFromCert
_SecCmsRecipientInfoDestroy
_SecCmsSignedDataAddCertChain
_SecCmsSignedDataAddCertList
_SecCmsSignedDataAddCertificate
_SecCmsSignedDataAddSignerInfo
_SecCmsSignedDataContainsCertsOrCrls
_SecCmsSignedDataCreate
_SecCmsSignedDataCreateCertsOnly
_SecCmsSignedDataDestroy
_SecCmsSignedDataGetCertificateList
_SecCmsSignedDataGetContentInfo
_SecCmsSignedDataGetDigestAlgs
_SecCmsSignedDataGetSignerInfo
_SecCmsSignedDataGetSignerInfos
_SecCmsSignedDataHasDigests
_SecCmsSignedDataImportCerts
_SecCmsSignedDataSetDigests
_SecCmsSignedDataSignerInfoCount
_SecCmsSignedDataVerifyCertsOnly
_SecCmsSignedDataVerifySignerInfo
_SecCmsSignerInfoAddAppleCodesigningHashAgility
_SecCmsSignerInfoAddCounterSignature
_SecCmsSignerInfoAddMSSMIMEEncKeyPrefs
_SecCmsSignerInfoAddSMIMECaps
_SecCmsSignerInfoAddSMIMEEncKeyPrefs
_SecCmsSignerInfoAddSigningTime
_SecCmsSignerInfoCreate
_SecCmsSignerInfoCreateWithSubjKeyID
_SecCmsSignerInfoDestroy
_SecCmsSignerInfoGetAppleCodesigningHashAgility
_SecCmsSignerInfoGetCertList
_SecCmsSignerInfoGetDigestAlg
_SecCmsSignerInfoGetDigestAlgTag
_SecCmsSignerInfoGetEncDigest
_SecCmsSignerInfoGetSignerCommonName
_SecCmsSignerInfoGetSignerEmailAddress
_SecCmsSignerInfoGetSigningCertificate
_SecCmsSignerInfoGetSigningTime
_SecCmsSignerInfoGetTimestampTime
_SecCmsSignerInfoGetVerificationStatus
_SecCmsSignerInfoIncludeCerts
_SecCmsSignerInfoSaveSMIMEProfile
_SecCmsTSADefaultCallback
_SecCmsTSAGetDefaultContext
_SecCmsUtilVerificationStatusToString
_SecTSAResponseCopyDEREncoding
_kSecCMSAdditionalCerts
_kSecCMSAllCerts
_kSecCMSBulkEncryptionAlgorithm
_kSecCMSCertChainMode
_kSecCMSEncryptionAlgorithmAESCBC
_kSecCMSEncryptionAlgorithmDESCBC
_kSecCMSHashingAlgorithmSHA1
_kSecCMSHashingAlgorithmSHA256
_kSecCMSHashingAlgorithmSHA384
_kSecCMSHashingAlgorithmSHA512
_kSecCMSSignDate
_kSecCMSSignDetached
_kSecCMSSignDigest
_kSecCMSSignHashAlgorithm
_kSecCMSSignedAttributes
_kTSAContextKeyNoCerts
_kTSAContextKeyURL
_kTSADebugContextKeyBadNonce
_kTSADebugContextKeyBadReq
#endif // TARGET_OS_OSX

_SecCMSVerify
_SecCMSVerifyCopyDataAndAttributes
_SecCMSVerifySignedData
_SecCMSCreateSignedData


#if TARGET_OS_IPHONE
//
// pbkdf2
//

_pbkdf2
_pbkdf2_hmac_sha1
_pbkdf2_hmac_sha256
_hmac_sha1_PRF
_hmac_sha256_PRF
_SecKeyFromPassphraseDataHMACSHA1
_SecKeyFromPassphraseDataHMACSHA256
#endif

//
// Key
//
_CreatePrivateKeyMatchingQuery
#if TARGET_OS_IPHONE
_SecECDoWithFullKey
_SecECDoWithPubKey
#endif
_SecECKeyCopyPublicBits
_SecECKeyGetNamedCurve


_SecKeyCopyAttestationKey
#if TARGET_OS_IPHONE
_SecKeyCopyAttributeDictionary
#endif /* TARGET_OS_IPHONE */
_SecKeyCopyAttributes
_SecKeyCopyExponent
_SecKeyCopyExternalRepresentation
_SecKeyCopyKeyExchangeResult
_SecKeyCopyMatchingPrivateKey
_SecKeyCopyModulus
_SecKeyCopyPersistentRef
_SecKeyCopyPublicBytes
_SecKeyCopyPublicKey
_SecKeyCreate
_SecKeyCreateAttestation
_SecKeyCreateDecryptedData
_SecKeyCreateDuplicate
#if TARGET_OS_IPHONE
_SecKeyCreateECPrivateKey
_SecKeyCreateECPublicKey
#endif /* TARGET_OS_IPHONE */
_SecKeyCreateEncryptedData
_SecKeyCreateFromAttributeDictionary

#if TARGET_OS_OSX
_SecKeyCreateFromData
#endif /* TARGET_OS_OSX */

_SecKeyCreateFromPublicBytes
_SecKeyCreateFromPublicData
_SecKeyCreateFromSubjectPublicKeyInfoData
#if TARGET_OS_OSX
_SecKeyCreatePair
#endif /* TARGET_OS_OSX */
_SecKeyCreatePersistentRefToMatchingPrivateKey
_SecKeyCreatePublicFromPrivate
#if TARGET_OS_IPHONE
_SecKeyCreateRSAPrivateKey
#endif /* TARGET_OS_IPHONE */
_SecKeyCreateRSAPublicKey
#if TARGET_OS_IPHONE
_SecKeyCreateRSAPublicKey_ios
#endif /* TARGET_OS_IPHONE */
_SecKeyCreateRandomKey
_SecKeyCreateSignature
#if TARGET_OS_OSX
_SecKeyCreateWithCSSMKey
#endif /* TARGET_OS_OSX */
_SecKeyCreateWithData
_SecKeyDecrypt
#if TARGET_OS_OSX
_SecKeyDeriveFromPassword
#endif
#if TARGET_OS_IPHONE
_SecKeyDigestAndSign
#endif /* TARGET_OS_IPHONE */
_SecKeyDigestAndVerify
_SecKeyEncrypt
#if TARGET_OS_OSX
_SecKeyGenerate
#endif
#if TARGET_OS_IPHONE
_SecKeyFindWithPersistentRef
#endif /* TARGET_OS_IPHONE */
_SecKeyGeneratePair
#if TARGET_OS_OSX
_SecKeyGeneratePairAsync
_SecKeyGenerateSymmetric
#endif /* TARGET_OS_OSX */
_SecKeyGetAlgorithmID
_SecKeyGetAlgorithmId
#if TARGET_OS_IPHONE
_SecKeyGetAlgorithmIdentifier
#endif /* TARGET_OS_IPHONE */
_SecKeyGetBlockSize
#if TARGET_OS_OSX
_SecKeyGetCSPHandle
_SecKeyGetCSSMKey
_SecKeyGetCredentials
#endif /* TARGET_OS_OSX */
_SecKeyGetMatchingPrivateKeyStatus
_SecKeyGetSize
#if TARGET_OS_OSX
_SecKeyGetStrengthInBits
#endif /* TARGET_OS_OSX */
_SecKeyGetTypeID
#if TARGET_OS_OSX
_SecKeyImportPair
#endif /* TARGET_OS_OSX */
_SecKeyIsAlgorithmSupported
_SecKeyRawSign
_SecKeyRawVerify
#if TARGET_OS_OSX
_SecKeyRawVerifyOSX
#endif /* TARGET_OS_OSX */
_SecKeySetParameter
_SecKeySignDigest
#if TARGET_OS_OSX
_SecKeyUnwrapSymmetric
#endif /* TARGET_OS_OSX */
_SecKeyVerifyDigest
_SecKeyVerifySignature

#if TARGET_OS_OSX
_SecKeyWrapSymmetric
#endif
#if TARGET_OS_IPHONE
__SecKeyCopyUnwrapKey
__SecKeyCopyWrapKey
__kSecKeyWrapPGPFingerprint
__kSecKeyWrapPGPSymAlg
__kSecKeyWrapPGPWrapAlg
__kSecKeyWrapRFC6637Flags
__kSecKeyWrapRFC6637WrapDigestSHA256KekAES128
__kSecKeyWrapRFC6637WrapDigestSHA512KekAES256
#endif /* TARGET_OS_IPHONE */
_kSecKeyAlgorithmECDHKeyExchangeCofactor
_kSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA1
_kSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA224
_kSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA256
_kSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA384
_kSecKeyAlgorithmECDHKeyExchangeCofactorX963SHA512
_kSecKeyAlgorithmECDHKeyExchangeStandard
_kSecKeyAlgorithmECDHKeyExchangeStandardX963SHA1
_kSecKeyAlgorithmECDHKeyExchangeStandardX963SHA224
_kSecKeyAlgorithmECDHKeyExchangeStandardX963SHA256
_kSecKeyAlgorithmECDHKeyExchangeStandardX963SHA384
_kSecKeyAlgorithmECDHKeyExchangeStandardX963SHA512
_kSecKeyAlgorithmECDSASignatureDigestX962
_kSecKeyAlgorithmECDSASignatureDigestX962SHA1
_kSecKeyAlgorithmECDSASignatureDigestX962SHA224
_kSecKeyAlgorithmECDSASignatureDigestX962SHA256
_kSecKeyAlgorithmECDSASignatureDigestX962SHA384
_kSecKeyAlgorithmECDSASignatureDigestX962SHA512
_kSecKeyAlgorithmECDSASignatureMessageX962SHA1
_kSecKeyAlgorithmECDSASignatureMessageX962SHA224
_kSecKeyAlgorithmECDSASignatureMessageX962SHA256
_kSecKeyAlgorithmECDSASignatureMessageX962SHA384
_kSecKeyAlgorithmECDSASignatureMessageX962SHA512
_kSecKeyAlgorithmECDSASignatureRFC4754
_kSecKeyAlgorithmECIESEncryptionCofactorX963SHA1AESGCM
_kSecKeyAlgorithmECIESEncryptionCofactorX963SHA224AESGCM
_kSecKeyAlgorithmECIESEncryptionCofactorX963SHA256AESGCM
_kSecKeyAlgorithmECIESEncryptionCofactorX963SHA384AESGCM
_kSecKeyAlgorithmECIESEncryptionCofactorX963SHA512AESGCM
_kSecKeyAlgorithmECIESEncryptionStandardX963SHA1AESGCM
_kSecKeyAlgorithmECIESEncryptionStandardX963SHA224AESGCM
_kSecKeyAlgorithmECIESEncryptionStandardX963SHA256AESGCM
_kSecKeyAlgorithmECIESEncryptionStandardX963SHA384AESGCM
_kSecKeyAlgorithmECIESEncryptionStandardX963SHA512AESGCM
_kSecKeyAlgorithmRSAEncryptionOAEPSHA1
_kSecKeyAlgorithmRSAEncryptionOAEPSHA1AESGCM
_kSecKeyAlgorithmRSAEncryptionOAEPSHA224
_kSecKeyAlgorithmRSAEncryptionOAEPSHA224AESGCM
_kSecKeyAlgorithmRSAEncryptionOAEPSHA256
_kSecKeyAlgorithmRSAEncryptionOAEPSHA256AESGCM
_kSecKeyAlgorithmRSAEncryptionOAEPSHA384
_kSecKeyAlgorithmRSAEncryptionOAEPSHA384AESGCM
_kSecKeyAlgorithmRSAEncryptionOAEPSHA512
_kSecKeyAlgorithmRSAEncryptionOAEPSHA512AESGCM
_kSecKeyAlgorithmRSAEncryptionPKCS1
_kSecKeyAlgorithmRSAEncryptionRaw
_kSecKeyAlgorithmRSAEncryptionRawCCUnit
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15MD5
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15MD5
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15Raw
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15Raw
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA1
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA224
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA256
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA384
_kSecKeyAlgorithmRSASignatureDigestPKCS1v15SHA512
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15MD5
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15MD5
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA1
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA224
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA256
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA384
_kSecKeyAlgorithmRSASignatureMessagePKCS1v15SHA512
_kSecKeyAlgorithmRSASignatureRaw
_kSecKeyAlgorithmRSASignatureRawCCUnit
#if TARGET_OS_OSX
_kSecKeyAttributeName
#endif /* TARGET_OS_OSX */
_kSecKeyKeyExchangeParameterRequestedSize
_kSecKeyKeyExchangeParameterSharedInfo
#if TARGET_OS_IPHONE
_kSecPrivateKeyAttrs
_kSecPublicKeyAttrs
#endif /* TARGET_OS_IPHONE */

//
// Keychain/SecItem
//

#if TARGET_OS_IPHONE

_kSecAttrAFPServerSignature
_kSecAttrAccessGroup
_kSecAttrAccessGroupToken
_kSecAttrAccessible
_kSecAttrAccessibleAfterFirstUnlock
_kSecAttrAccessibleAlways
_kSecAttrAccessibleAlwaysPrivate
_kSecAttrAccessibleWhenUnlocked
_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
_kSecAttrAccessibleAlwaysThisDeviceOnly
_kSecAttrAccessibleAlwaysThisDeviceOnlyPrivate
_kSecAttrAccessibleWhenUnlockedThisDeviceOnly
_kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
_kSecAttrAccount
_kSecAttrAddress
_kSecAttrAlias
_kSecAttrApplicationLabel
_kSecAttrApplicationTag
_kSecAttrAuthenticationType
_kSecAttrAuthenticationTypeDPA
_kSecAttrAuthenticationTypeDefault
_kSecAttrAuthenticationTypeHTMLForm
_kSecAttrAuthenticationTypeHTTPBasic
_kSecAttrAuthenticationTypeHTTPDigest
_kSecAttrAuthenticationTypeMSN
_kSecAttrAuthenticationTypeNTLM
_kSecAttrAuthenticationTypeRPA
_kSecAttrCRLEncoding
_kSecAttrCRLType
_kSecAttrCanDecrypt
_kSecAttrCanDerive
_kSecAttrCanEncrypt
_kSecAttrCanSign
_kSecAttrCanSignRecover
_kSecAttrCanUnwrap
_kSecAttrCanVerify
_kSecAttrCanVerifyRecover
_kSecAttrCanWrap
_kSecAttrCertificateEncoding
_kSecAttrCertificateType
_kSecAttrComment
_kSecAttrCreationDate
_kSecAttrCreator
_kSecAttrDescription
_kSecAttrEffectiveKeySize
_kSecAttrEndDate
_kSecAttrGeneric
_kSecAttrHasCustomIcon
_kSecAttrIsExtractable
_kSecAttrIsInvisible
_kSecAttrIsModifiable
_kSecAttrIsNegative
_kSecAttrIsPermanent
_kSecAttrIsPrivate
_kSecAttrIsSensitive
_kSecAttrIssuer
_kSecAttrKeyClass
_kSecAttrKeyClassPrivate
_kSecAttrKeyClassPublic
_kSecAttrKeyClassSymmetric
_kSecAttrKeyCreator
_kSecAttrKeySizeInBits
_kSecAttrKeyType
_kSecAttrKeyTypeEC
_kSecAttrKeyTypeECSECPrimeRandom
_kSecAttrKeyTypeRSA
_kSecAttrLabel
_kSecAttrModificationDate
_kSecAttrMultiUser
_kSecAttrNoLegacy
_kSecAttrPath
_kSecAttrPort
_kSecAttrProtocol
_kSecAttrProtocolAFP
_kSecAttrProtocolAppleTalk
_kSecAttrProtocolDAAP
_kSecAttrProtocolEPPC
_kSecAttrProtocolFTP
_kSecAttrProtocolFTPAccount
_kSecAttrProtocolFTPProxy
_kSecAttrProtocolFTPS
_kSecAttrProtocolHTTP
_kSecAttrProtocolHTTPProxy
_kSecAttrProtocolHTTPS
_kSecAttrProtocolHTTPSProxy
_kSecAttrProtocolIMAP
_kSecAttrProtocolIMAPS
_kSecAttrProtocolIPP
_kSecAttrProtocolIRC
_kSecAttrProtocolIRCS
_kSecAttrProtocolLDAP
_kSecAttrProtocolLDAPS
_kSecAttrProtocolNNTP
_kSecAttrProtocolNNTPS
_kSecAttrProtocolPOP3
_kSecAttrProtocolPOP3S
_kSecAttrProtocolRTSP
_kSecAttrProtocolRTSPProxy
_kSecAttrProtocolSMB
_kSecAttrProtocolSMTP
_kSecAttrProtocolSOCKS
_kSecAttrProtocolSSH
_kSecAttrProtocolTelnet
_kSecAttrProtocolTelnetS
_kSecAttrPublicKeyHash
_kSecAttrScriptCode
_kSecAttrSecurityDomain
_kSecAttrSerialNumber
_kSecAttrServer
_kSecAttrService
_kSecAttrStartDate
_kSecAttrSubject
_kSecAttrSubjectKeyID
_kSecAttrSynchronizable
_kSecAttrSynchronizableAny
_kSecAttrSyncViewHint
_kSecAttrTokenID
_kSecAttrTokenIDSecureEnclave
_kSecAttrTokenOID
_kSecAttrTombstone
_kSecAttrType
_kSecAttrVolume
_kSecAttrWasAlwaysSensitive
_kSecAttrWasNeverExtractable
#elif TARGET_OS_OSX

_kSecAttrAFPServerSignature
_kSecAttrAccess
_kSecAttrAccessGroup
_kSecAttrAccessGroupToken
_kSecAttrAccessible
_kSecAttrAccessibleAfterFirstUnlock
_kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly
_kSecAttrAccessibleAlways
_kSecAttrAccessibleAlwaysPrivate
_kSecAttrAccessibleAlwaysThisDeviceOnly
_kSecAttrAccessibleAlwaysThisDeviceOnlyPrivate
_kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly
_kSecAttrAccessibleWhenUnlocked
_kSecAttrAccessibleWhenUnlockedThisDeviceOnly
_kSecAttrAccount
_kSecAttrAddress
_kSecAttrAlias
_kSecAttrApplicationLabel
_kSecAttrApplicationTag
_kSecAttrAuthenticationType
_kSecAttrAuthenticationTypeDPA
_kSecAttrAuthenticationTypeDefault
_kSecAttrAuthenticationTypeHTMLForm
_kSecAttrAuthenticationTypeHTTPBasic
_kSecAttrAuthenticationTypeHTTPDigest
_kSecAttrAuthenticationTypeMSN
_kSecAttrAuthenticationTypeNTLM
_kSecAttrAuthenticationTypeRPA
_kSecAttrCRLEncoding
_kSecAttrCRLType
_kSecAttrCanDecrypt
_kSecAttrCanDerive
_kSecAttrCanEncrypt
_kSecAttrCanSign
_kSecAttrCanSignRecover
_kSecAttrCanUnwrap
_kSecAttrCanVerify
_kSecAttrCanVerifyRecover
_kSecAttrCanWrap
_kSecAttrCertificateEncoding
_kSecAttrCertificateType
_kSecAttrComment
_kSecAttrCreationDate
_kSecAttrCreator
_kSecAttrDescription
_kSecAttrEffectiveKeySize
_kSecAttrEndDate
_kSecAttrGeneric
_kSecAttrHasCustomIcon
_kSecAttrIsExtractable
_kSecAttrIsInvisible
_kSecAttrIsModifiable
_kSecAttrIsNegative
_kSecAttrIsPermanent
_kSecAttrIsPrivate
_kSecAttrIsSensitive
_kSecAttrIssuer
_kSecAttrKeyClass
_kSecAttrKeyClassPrivate
_kSecAttrKeyClassPublic
_kSecAttrKeyClassSymmetric
_kSecAttrKeyCreator
_kSecAttrKeySizeInBits
_kSecAttrKeyType
_kSecAttrKeyType3DES
_kSecAttrKeyTypeAES
_kSecAttrKeyTypeCAST
_kSecAttrKeyTypeDES
_kSecAttrKeyTypeDSA
_kSecAttrKeyTypeEC
_kSecAttrKeyTypeECDSA
_kSecAttrKeyTypeECSECPrimeRandom
_kSecAttrKeyTypeRC2
_kSecAttrKeyTypeRC4
_kSecAttrKeyTypeRSA
_kSecAttrLabel
_kSecAttrModificationDate
_kSecAttrMultiUser
_kSecAttrNoLegacy
_kSecAttrPRF
_kSecAttrPRFHmacAlgSHA1
_kSecAttrPRFHmacAlgSHA224
_kSecAttrPRFHmacAlgSHA256
_kSecAttrPRFHmacAlgSHA384
_kSecAttrPRFHmacAlgSHA512
_kSecAttrPath
_kSecAttrPort
_kSecAttrProtocol
_kSecAttrProtocolAFP
_kSecAttrProtocolAppleTalk
_kSecAttrProtocolDAAP
_kSecAttrProtocolEPPC
_kSecAttrProtocolFTP
_kSecAttrProtocolFTPAccount
_kSecAttrProtocolFTPProxy
_kSecAttrProtocolFTPS
_kSecAttrProtocolHTTP
_kSecAttrProtocolHTTPProxy
_kSecAttrProtocolHTTPS
_kSecAttrProtocolHTTPSProxy
_kSecAttrProtocolIMAP
_kSecAttrProtocolIMAPS
_kSecAttrProtocolIPP
_kSecAttrProtocolIRC
_kSecAttrProtocolIRCS
_kSecAttrProtocolLDAP
_kSecAttrProtocolLDAPS
_kSecAttrProtocolNNTP
_kSecAttrProtocolNNTPS
_kSecAttrProtocolPOP3
_kSecAttrProtocolPOP3S
_kSecAttrProtocolRTSP
_kSecAttrProtocolRTSPProxy
_kSecAttrProtocolSMB
_kSecAttrProtocolSMTP
_kSecAttrProtocolSOCKS
_kSecAttrProtocolSSH
_kSecAttrProtocolTelnet
_kSecAttrProtocolTelnetS
_kSecAttrPublicKeyHash
_kSecAttrRounds
_kSecAttrSalt
_kSecAttrScriptCode
_kSecAttrSecurityDomain
_kSecAttrSerialNumber
_kSecAttrServer
_kSecAttrService
_kSecAttrStartDate
_kSecAttrSubject
_kSecAttrSubjectKeyID
_kSecAttrSyncViewHint
_kSecAttrSynchronizable
_kSecAttrSynchronizableAny
_kSecAttrTokenID
_kSecAttrTokenIDSecureEnclave
_kSecAttrTokenOID
_kSecAttrTombstone
_kSecAttrType
_kSecAttrVolume
_kSecAttrWasAlwaysSensitive
_kSecAttrWasNeverExtractable
#endif // TARGET_OS_OSX

#include "Security/SecureObjectSync/SOSViews.exp-in"

_kSecClass
_kSecClassAppleSharePassword
_kSecClassCertificate
_kSecClassGenericPassword
_kSecClassIdentity
_kSecClassInternetPassword
_kSecClassKey
_kSecImportExportPassphrase
_kSecImportItemCertChain
_kSecImportItemIdentity
_kSecImportItemKeyID
_kSecImportItemLabel
_kSecImportItemTrust
_kSecUseItemList
_kSecUseTombstones
_kSecUseSystemKeychain
_kSecValueData
_kSecValuePersistentRef
_kSecValueRef
_kSecMatchCaseInsensitive
_kSecMatchEmailAddressIfPresent
_kSecMatchIssuers
_kSecMatchItemList
_kSecMatchLimit
_kSecMatchLimitAll
_kSecMatchLimitOne
_kSecMatchPolicy
_kSecMatchSearchList
_kSecMatchSubjectContains
_kSecMatchTrustedOnly
_kSecMatchValidOnDate
_kSecReturnAttributes
_kSecReturnData
_kSecReturnPersistentRef
_kSecReturnRef
_SecItemAdd
_SecItemCopyDisplayNames
_SecItemCopyMatching
_SecItemDelete
#if TARGET_OS_IPHONE
_SecItemDeleteAll
#endif
_SecItemUpdate

__SecItemMakePersistentRef
__SecItemParsePersistentRef
__SecKeychainBackupSyncable
__SecKeychainCopyBackup
__SecKeychainCopyOTABackup
__SecKeychainRestoreBackup
__SecKeychainRestoreBackupFromFileDescriptor
__SecKeychainRestoreSyncable
__SecKeychainSyncUpdateMessage
__SecKeychainWriteBackupToFileDescriptor
__SecKeychainCopyKeybagUUIDFromFileDescriptor

_SecItemBackupWithRegisteredBackups
_SecItemBackupSetConfirmedManifest
_SecItemBackupRestore
_SecItemBackupCopyMatching
_SecItemBackupWithChanges
#if TARGET_OS_IPHONE
__SecKeychainRollKeys

_SecAddSharedWebCredential
_SecRequestSharedWebCredential
_SecCreateSharedWebCredentialPassword
_kSecSharedPassword
#endif

__SecSecuritydCopyWhoAmI
__SecSyncBubbleTransfer
__SecSystemKeychainTransfer
__SecSyncDeleteUserViews
_SecItemUpdateTokenItems
_SecItemDeleteAllWithAccessGroups
__SecTokenItemCopyValueData

#if TARGET_OS_IPHONE
_kSecXPCKeyAttributesToUpdate
_kSecXPCKeyBackup
_kSecXPCKeyCertificate
_kSecXPCKeyDigest
_kSecXPCKeyDomain
_kSecXPCKeyKeybag
_kSecXPCKeyQuery
_kSecXPCKeySettings
_kSecXPCPublicPeerId
_kSecXPCOTRSession
_kSecXPCData
_kSecXPCOTRReady
_kSecXPCKeyDeviceID
_kSecXPCKeyIDSMessage
_kSecXPCKeySendIDSMessage
#endif

_SecCertificatePathCopyXPCArray
_SecCertificateXPCArrayCopyArray
_SecPolicyXPCArrayCopyArray
#if TARGET_OS_IPHONE
_SecServerSetMachServiceName
#endif

//
// ServerEncryption
//

_SecCopyEncryptedToServer
_SecCopyEncryptedToServerKey
_SecCopyDecryptedForServer

//
// Utilities
//

_sSecDERErrorDomain
_der_sizeof_plist
_der_encode_plist
_der_decode_plist
_CFPropertyListCreateDERData
_CFPropertyListCreateWithDERData

#if TARGET_OS_IPHONE
//
// DER
//
_DERDecodeItem
#endif

//
// EMCS
//

#if TARGET_OS_IPHONE
_SecEMCSCreateDerivedEMCSKey
_SecEMCSCreateNewiDMSKey
#endif

//
// Custom CFAllocators
//
_SecCFAllocatorZeroize