mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 15:49:27 +02:00
r332 | jonas | 2010-12-08 11:18:24 +0100 (Wed, 08 Dec 2010) | 3 lines
* enable parts of Security framwork for iOS because newer iOS SDK versions depend on them git-svn-id: trunk@16520 -
This commit is contained in:
parent
8c4b6c9de2
commit
43e57f3911
@ -186,9 +186,7 @@ uses MacTypes,CFBase;
|
||||
{$endc} {not MACOSALLINCLUDE}
|
||||
|
||||
|
||||
{$ifc TARGET_OS_MAC}
|
||||
|
||||
{$ifc TARGET_CPU_64}
|
||||
{$ifc TARGET_CPU_64 or TARGET_CPU_ARM}
|
||||
{$packrecords C}
|
||||
{$elsec}
|
||||
{$ALIGN POWER}
|
||||
@ -478,8 +476,6 @@ const
|
||||
errSecPkcs12VerifyFailure = -25264; { MAC verification failed during PKCS12 Import. }
|
||||
|
||||
errSecDecode = -26275; { Unable to decode the provided data. }
|
||||
|
||||
{$endc} {TARGET_OS_MAC}
|
||||
{$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
|
||||
|
||||
end.
|
||||
|
@ -186,8 +186,6 @@ uses MacTypes,SecBase,cssmtype,cssmapple,CFBase,CFArray,CFData,CFDate;
|
||||
{$endc} {not MACOSALLINCLUDE}
|
||||
|
||||
|
||||
{$ifc TARGET_OS_MAC}
|
||||
|
||||
{!
|
||||
@header SecTrust
|
||||
The functions and data types in SecTrust implement trust computation and allow the user to apply trust decisions to the trust configuration.
|
||||
@ -261,6 +259,7 @@ function SecTrustCreateWithCertificates( certificates: CFArrayRef; policies: CFT
|
||||
}
|
||||
function SecTrustSetPolicies( trust: SecTrustRef; policies: CFTypeRef ): OSStatus; external name '_SecTrustSetPolicies';
|
||||
|
||||
{$ifc TARGET_OS_MAC}
|
||||
{!
|
||||
@function SecTrustSetParameters
|
||||
@abstract Sets the action and action data for a trust.
|
||||
@ -270,6 +269,7 @@ function SecTrustSetPolicies( trust: SecTrustRef; policies: CFTypeRef ): OSStatu
|
||||
@result A result code. See "Security Error Codes" (SecBase.h).
|
||||
}
|
||||
function SecTrustSetParameters( trustRef: SecTrustRef; action: CSSM_TP_ACTION; actionData: CFDataRef ): OSStatus; external name '_SecTrustSetParameters';
|
||||
{$endc} {TARGET_OS_MAC}
|
||||
|
||||
{!
|
||||
@function SecTrustSetAnchorCertificates
|
||||
@ -328,6 +328,7 @@ function SecTrustGetVerifyTime( trust: SecTrustRef ): CFAbsoluteTime; external n
|
||||
}
|
||||
function SecTrustEvaluate( trust: SecTrustRef; var result: SecTrustResultType ): OSStatus; external name '_SecTrustEvaluate';
|
||||
|
||||
{$ifc TARGET_OS_MAC}
|
||||
{!
|
||||
@function SecTrustGetResult
|
||||
@abstract Returns detail information on the outcome of a call to SecTrustEvaluate.
|
||||
@ -365,6 +366,7 @@ function SecTrustGetCssmResultCode( trust: SecTrustRef; var resultCode: OSStatus
|
||||
@result A result code. See "Security Error Codes" (SecBase.h).
|
||||
}
|
||||
function SecTrustGetTPHandle( trust: SecTrustRef; var handle: CSSM_TP_HANDLE ): OSStatus; external name '_SecTrustGetTPHandle';
|
||||
{$endc} {TARGET_OS_MAC}
|
||||
|
||||
{!
|
||||
@function SecTrustCopyPolicies
|
||||
@ -393,6 +395,7 @@ function SecTrustCopyCustomAnchorCertificates( trust: SecTrustRef; var anchors:
|
||||
}
|
||||
function SecTrustCopyAnchorCertificates( var anchors: CFArrayRef ): OSStatus; external name '_SecTrustCopyAnchorCertificates';
|
||||
|
||||
{$ifc TARGET_OS_MAC}
|
||||
{!
|
||||
@function SecTrustGetCSSMAnchorCertificates
|
||||
@abstract Retrieves the CSSM anchor certificates.
|
||||
@ -429,7 +432,6 @@ function SecTrustGetUserTrust( certificate: SecCertificateRef; policy: SecPolicy
|
||||
}
|
||||
function SecTrustSetUserTrust( certificate: SecCertificateRef; policy: SecPolicyRef; trustSetting: SecTrustUserSetting ): OSStatus; external name '_SecTrustSetUserTrust';
|
||||
(* DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER *)
|
||||
|
||||
{$endc} {TARGET_OS_MAC}
|
||||
{$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user