"Fossies" - the Fresh Open Source Software Archive

Member "fpcbuild-3.0.4/fpcsrc/packages/univint/src/SecBase.pas" (1 Nov 2012, 44876 Bytes) of package /linux/misc/fpcbuild-3.0.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) delphi source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "SecBase.pas": 2.6.4_vs_3.0.0.

    1 {
    2  * Copyright (c) 2000-2010 Apple Inc. All Rights Reserved.
    3  * 
    4  * @APPLE_LICENSE_HEADER_START@
    5  * 
    6  * This file contains Original Code and/or Modifications of Original Code
    7  * as defined in and that are subject to the Apple Public Source License
    8  * Version 2.0 (the 'License'). You may not use this file except in
    9  * compliance with the License. Please obtain a copy of the License at
   10  * http://www.opensource.apple.com/apsl/ and read it before using this
   11  * file.
   12  * 
   13  * The Original Code and all software distributed under the License are
   14  * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
   15  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
   16  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
   17  * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
   18  * Please see the License for the specific language governing rights and
   19  * limitations under the License.
   20  * 
   21  * @APPLE_LICENSE_HEADER_END@
   22  }
   23 {  Pascal Translation:  Jonas Maebe, <jonas@freepascal.org>, October 2009 }
   24 {  Pascal Translation Update: Jonas Maebe <jonas@freepascal.org>, October 2012 }
   25 {
   26     Modified for use with Free Pascal
   27     Version 308
   28     Please report any bugs to <gpc@microbizz.nl>
   29 }
   30 
   31 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
   32 {$mode macpas}
   33 {$packenum 1}
   34 {$macro on}
   35 {$inline on}
   36 {$calling mwpascal}
   37 
   38 unit SecBase;
   39 interface
   40 {$setc UNIVERSAL_INTERFACES_VERSION := $0400}
   41 {$setc GAP_INTERFACES_VERSION := $0308}
   42 
   43 {$ifc not defined USE_CFSTR_CONSTANT_MACROS}
   44     {$setc USE_CFSTR_CONSTANT_MACROS := TRUE}
   45 {$endc}
   46 
   47 {$ifc defined CPUPOWERPC and defined CPUI386}
   48     {$error Conflicting initial definitions for CPUPOWERPC and CPUI386}
   49 {$endc}
   50 {$ifc defined FPC_BIG_ENDIAN and defined FPC_LITTLE_ENDIAN}
   51     {$error Conflicting initial definitions for FPC_BIG_ENDIAN and FPC_LITTLE_ENDIAN}
   52 {$endc}
   53 
   54 {$ifc not defined __ppc__ and defined CPUPOWERPC32}
   55     {$setc __ppc__ := 1}
   56 {$elsec}
   57     {$setc __ppc__ := 0}
   58 {$endc}
   59 {$ifc not defined __ppc64__ and defined CPUPOWERPC64}
   60     {$setc __ppc64__ := 1}
   61 {$elsec}
   62     {$setc __ppc64__ := 0}
   63 {$endc}
   64 {$ifc not defined __i386__ and defined CPUI386}
   65     {$setc __i386__ := 1}
   66 {$elsec}
   67     {$setc __i386__ := 0}
   68 {$endc}
   69 {$ifc not defined __x86_64__ and defined CPUX86_64}
   70     {$setc __x86_64__ := 1}
   71 {$elsec}
   72     {$setc __x86_64__ := 0}
   73 {$endc}
   74 {$ifc not defined __arm__ and defined CPUARM}
   75     {$setc __arm__ := 1}
   76 {$elsec}
   77     {$setc __arm__ := 0}
   78 {$endc}
   79 
   80 {$ifc defined cpu64}
   81   {$setc __LP64__ := 1}
   82 {$elsec}
   83   {$setc __LP64__ := 0}
   84 {$endc}
   85 
   86 
   87 {$ifc defined __ppc__ and __ppc__ and defined __i386__ and __i386__}
   88     {$error Conflicting definitions for __ppc__ and __i386__}
   89 {$endc}
   90 
   91 {$ifc defined __ppc__ and __ppc__}
   92     {$setc TARGET_CPU_PPC := TRUE}
   93     {$setc TARGET_CPU_PPC64 := FALSE}
   94     {$setc TARGET_CPU_X86 := FALSE}
   95     {$setc TARGET_CPU_X86_64 := FALSE}
   96     {$setc TARGET_CPU_ARM := FALSE}
   97     {$setc TARGET_OS_MAC := TRUE}
   98     {$setc TARGET_OS_IPHONE := FALSE}
   99     {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  100     {$setc TARGET_OS_EMBEDDED := FALSE}
  101 {$elifc defined __ppc64__ and __ppc64__}
  102     {$setc TARGET_CPU_PPC := FALSE}
  103     {$setc TARGET_CPU_PPC64 := TRUE}
  104     {$setc TARGET_CPU_X86 := FALSE}
  105     {$setc TARGET_CPU_X86_64 := FALSE}
  106     {$setc TARGET_CPU_ARM := FALSE}
  107     {$setc TARGET_OS_MAC := TRUE}
  108     {$setc TARGET_OS_IPHONE := FALSE}
  109     {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  110     {$setc TARGET_OS_EMBEDDED := FALSE}
  111 {$elifc defined __i386__ and __i386__}
  112     {$setc TARGET_CPU_PPC := FALSE}
  113     {$setc TARGET_CPU_PPC64 := FALSE}
  114     {$setc TARGET_CPU_X86 := TRUE}
  115     {$setc TARGET_CPU_X86_64 := FALSE}
  116     {$setc TARGET_CPU_ARM := FALSE}
  117 {$ifc defined(iphonesim)}
  118     {$setc TARGET_OS_MAC := FALSE}
  119     {$setc TARGET_OS_IPHONE := TRUE}
  120     {$setc TARGET_IPHONE_SIMULATOR := TRUE}
  121 {$elsec}
  122     {$setc TARGET_OS_MAC := TRUE}
  123     {$setc TARGET_OS_IPHONE := FALSE}
  124     {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  125 {$endc}
  126     {$setc TARGET_OS_EMBEDDED := FALSE}
  127 {$elifc defined __x86_64__ and __x86_64__}
  128     {$setc TARGET_CPU_PPC := FALSE}
  129     {$setc TARGET_CPU_PPC64 := FALSE}
  130     {$setc TARGET_CPU_X86 := FALSE}
  131     {$setc TARGET_CPU_X86_64 := TRUE}
  132     {$setc TARGET_CPU_ARM := FALSE}
  133     {$setc TARGET_OS_MAC := TRUE}
  134     {$setc TARGET_OS_IPHONE := FALSE}
  135     {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  136     {$setc TARGET_OS_EMBEDDED := FALSE}
  137 {$elifc defined __arm__ and __arm__}
  138     {$setc TARGET_CPU_PPC := FALSE}
  139     {$setc TARGET_CPU_PPC64 := FALSE}
  140     {$setc TARGET_CPU_X86 := FALSE}
  141     {$setc TARGET_CPU_X86_64 := FALSE}
  142     {$setc TARGET_CPU_ARM := TRUE}
  143     { will require compiler define when/if other Apple devices with ARM cpus ship }
  144     {$setc TARGET_OS_MAC := FALSE}
  145     {$setc TARGET_OS_IPHONE := TRUE}
  146     {$setc TARGET_IPHONE_SIMULATOR := FALSE}
  147     {$setc TARGET_OS_EMBEDDED := TRUE}
  148 {$elsec}
  149     {$error __ppc__ nor __ppc64__ nor __i386__ nor __x86_64__ nor __arm__ is defined.}
  150 {$endc}
  151 
  152 {$ifc defined __LP64__ and __LP64__ }
  153   {$setc TARGET_CPU_64 := TRUE}
  154 {$elsec}
  155   {$setc TARGET_CPU_64 := FALSE}
  156 {$endc}
  157 
  158 {$ifc defined FPC_BIG_ENDIAN}
  159     {$setc TARGET_RT_BIG_ENDIAN := TRUE}
  160     {$setc TARGET_RT_LITTLE_ENDIAN := FALSE}
  161 {$elifc defined FPC_LITTLE_ENDIAN}
  162     {$setc TARGET_RT_BIG_ENDIAN := FALSE}
  163     {$setc TARGET_RT_LITTLE_ENDIAN := TRUE}
  164 {$elsec}
  165     {$error Neither FPC_BIG_ENDIAN nor FPC_LITTLE_ENDIAN are defined.}
  166 {$endc}
  167 {$setc ACCESSOR_CALLS_ARE_FUNCTIONS := TRUE}
  168 {$setc CALL_NOT_IN_CARBON := FALSE}
  169 {$setc OLDROUTINENAMES := FALSE}
  170 {$setc OPAQUE_TOOLBOX_STRUCTS := TRUE}
  171 {$setc OPAQUE_UPP_TYPES := TRUE}
  172 {$setc OTCARBONAPPLICATION := TRUE}
  173 {$setc OTKERNEL := FALSE}
  174 {$setc PM_USE_SESSION_APIS := TRUE}
  175 {$setc TARGET_API_MAC_CARBON := TRUE}
  176 {$setc TARGET_API_MAC_OS8 := FALSE}
  177 {$setc TARGET_API_MAC_OSX := TRUE}
  178 {$setc TARGET_CARBON := TRUE}
  179 {$setc TARGET_CPU_68K := FALSE}
  180 {$setc TARGET_CPU_MIPS := FALSE}
  181 {$setc TARGET_CPU_SPARC := FALSE}
  182 {$setc TARGET_OS_UNIX := FALSE}
  183 {$setc TARGET_OS_WIN32 := FALSE}
  184 {$setc TARGET_RT_MAC_68881 := FALSE}
  185 {$setc TARGET_RT_MAC_CFM := FALSE}
  186 {$setc TARGET_RT_MAC_MACHO := TRUE}
  187 {$setc TYPED_FUNCTION_POINTERS := TRUE}
  188 {$setc TYPE_BOOL := FALSE}
  189 {$setc TYPE_EXTENDED := FALSE}
  190 {$setc TYPE_LONGLONG := TRUE}
  191 uses MacTypes,CFBase;
  192 {$endc} {not MACOSALLINCLUDE}
  193 
  194 
  195 {$ifc TARGET_CPU_64 or TARGET_CPU_ARM}
  196 {$packrecords C}
  197 {$elsec}
  198 {$ALIGN POWER}
  199 {$endc} {TARGET_CPU_64}
  200 
  201 {!
  202     @header SecBase
  203     SecBase contains common declarations for the Security functions. 
  204 }
  205 
  206 
  207 {!
  208     @typedef SecKeychainRef
  209     @abstract Contains information about a keychain.
  210 }
  211 type
  212     SecKeychainRef = ^OpaqueSecKeychainRef; { an opaque type }
  213     OpaqueSecKeychainRef = record end;
  214     SecKeychainRefPtr = ^SecKeychainRef;  { when a var xx:SecKeychainRef parameter can be nil, it is changed to xx: SecKeychainRefPtr }
  215 
  216 {!
  217     @typedef SecKeychainItemRef
  218     @abstract Contains information about a keychain item.
  219 }
  220 type
  221     SecKeychainItemRef = ^OpaqueSecKeychainItemRef; { an opaque type }
  222     OpaqueSecKeychainItemRef = record end;
  223     SecKeychainItemRefPtr = ^SecKeychainItemRef;  { when a var xx:SecKeychainItemRef parameter can be nil, it is changed to xx: SecKeychainItemRefPtr }
  224 
  225 {!
  226     @typedef SecKeychainSearchRef
  227     @abstract Contains information about a keychain search.
  228 }
  229 type
  230     SecKeychainSearchRef = ^OpaqueSecKeychainSearchRef; { an opaque type }
  231     OpaqueSecKeychainSearchRef = record end;
  232     SecKeychainSearchRefPtr = ^SecKeychainSearchRef;  { when a var xx:SecKeychainSearchRef parameter can be nil, it is changed to xx: SecKeychainSearchRefPtr }
  233 
  234 {!
  235     @typedef SecKeychainAttrType
  236     @abstract Represents a keychain attribute type.
  237 }
  238 type
  239     SecKeychainAttrType = OSType;
  240 
  241 {!
  242     @struct SecKeychainAttribute
  243     @abstract Contains keychain attributes. 
  244     @field tag A 4-byte attribute tag.
  245     @field length The length of the buffer pointed to by data.
  246     @field data A pointer to the attribute data.
  247 }
  248 type
  249     SecKeychainAttribute = record
  250         tag: SecKeychainAttrType;
  251         length: UInt32;
  252         data: UnivPtr;
  253     end;
  254 
  255 {!
  256     @typedef SecKeychainAttributePtr
  257     @abstract Represents a pointer to a keychain attribute structure.
  258 }
  259     SecKeychainAttributePtr = ^SecKeychainAttribute;
  260 
  261 {!
  262     @typedef SecKeychainAttributeList
  263     @abstract Represents a list of keychain attributes.
  264     @field count An unsigned 32-bit integer that represents the number of keychain attributes in the array.
  265     @field attr A pointer to the first keychain attribute in the array.
  266 }
  267 type
  268     SecKeychainAttributeListPtr = ^SecKeychainAttributeList;
  269     SecKeychainAttributeList = record
  270         count: UInt32;
  271         attr: SecKeychainAttributePtr;
  272     end;
  273 
  274 {!
  275     @typedef SecKeychainStatus
  276     @abstract Represents the status of a keychain.
  277 }
  278 type
  279     SecKeychainStatus = UInt32;
  280 
  281 {!
  282     @typedef SecTrustedApplicationRef
  283     @abstract Contains information about a trusted application.
  284 }
  285 type
  286     SecTrustedApplicationRef = ^OpaqueSecTrustedApplicationRef; { an opaque type }
  287     OpaqueSecTrustedApplicationRef = record end;
  288 
  289 {!
  290     @typedef SecPolicyRef
  291     @abstract Contains information about a policy.
  292 }
  293 type
  294     SecPolicyRef = ^OpaqueSecPolicyRef; { an opaque type }
  295     OpaqueSecPolicyRef = record end;
  296 
  297 {!
  298     @typedef SecCertificateRef
  299     @abstract Contains information about a certificate.
  300 }
  301 type
  302     SecCertificateRef = ^OpaqueSecCertificateRef; { an opaque type }
  303     OpaqueSecCertificateRef = record end;
  304 
  305 {!
  306     @typedef SecAccessRef
  307     @abstract Contains information about an access.
  308 }
  309 type
  310     SecAccessRef = ^OpaqueSecAccessRef; { an opaque type }
  311     OpaqueSecAccessRef = record end;
  312 
  313 {!
  314     @typedef SecIdentityRef
  315     @abstract Contains information about an identity.
  316 }
  317 type
  318     SecIdentityRef = ^OpaqueSecIdentityRef; { an opaque type }
  319     OpaqueSecIdentityRef = record end;
  320 
  321 {!
  322     @typedef SecKeyRef
  323     @abstract Contains information about a key.
  324 }
  325 type
  326     SecKeyRef = ^OpaqueSecKeyRef; { an opaque type }
  327     OpaqueSecKeyRef = record end;
  328 
  329 {!
  330     @typedef SecACLRef
  331     @abstract Contains information about an access control list (ACL) entry.
  332 }
  333 type
  334     SecACLRef = ^OpaqueSecTrustRef; { an opaque type }
  335     OpaqueSecTrustRef = record end;
  336 
  337 {!
  338     @typedef SecPasswordRef
  339     @abstract Contains information about a password.
  340 }
  341 type
  342     SecPasswordRef = ^OpaqueSecPasswordRef; { an opaque type }
  343     OpaqueSecPasswordRef = record end;
  344 
  345 {!
  346     @typedef SecKeychainAttributeInfo
  347     @abstract Represents an attribute. 
  348     @field count The number of tag-format pairs in the respective arrays. 
  349     @field tag A pointer to the first attribute tag in the array.
  350     @field format A pointer to the first CSSM_DB_ATTRIBUTE_FORMAT in the array.
  351     @discussion Each tag and format item form a pair.  
  352 }
  353 type
  354     SecKeychainAttributeInfoPtr = ^SecKeychainAttributeInfo;
  355     SecKeychainAttributeInfo = record
  356         count: UInt32;
  357         tag: UInt32Ptr;
  358         format: UInt32Ptr;
  359     end;
  360 
  361 {!
  362     @function SecCopyErrorMessageString
  363     @abstract Returns a string describing the specified error result code.
  364     @param status An error result code of type OSStatus or CSSM_RETURN, as returned by a Security or CSSM function.
  365     @reserved Reserved for future use. Your code should pass NULL in this parameter.
  366     @result A reference to an error string, or NULL if no error string is available for the specified result code. Your code must release this reference by calling the CFRelease function.
  367 }
  368 function SecCopyErrorMessageString( status: OSStatus; reserved: UnivPtr ): CFStringRef; external name '_SecCopyErrorMessageString';
  369 
  370 {!
  371 @enum Security Error Codes 
  372 @abstract Result codes returned from Security framework functions.
  373 @constant errSecSuccess No error.
  374 @constant errSecUnimplemented Function or operation not implemented.
  375 @constant errSecParam One or more parameters passed to a function were not valid.
  376 @constant errSecAllocate Failed to allocate memory.
  377 @constant errSecNotAvailable No keychain is available.
  378 @constant errSecReadOnly Read only error.
  379 @constant errSecAuthFailed Authorization/Authentication failed.
  380 @constant errSecNoSuchKeychain The keychain does not exist.
  381 @constant errSecInvalidKeychain The keychain is not valid.
  382 @constant errSecDuplicateKeychain A keychain with the same name already exists.
  383 @constant errSecDuplicateCallback The specified callback is already installed.
  384 @constant errSecInvalidCallback The specified callback is not valid.
  385 @constant errSecDuplicateItem The item already exists.
  386 @constant errSecItemNotFound The item cannot be found.
  387 @constant errSecBufferTooSmall The buffer is too small.
  388 @constant errSecDataTooLarge The data is too large.
  389 @constant errSecNoSuchAttr The attribute does not exist.
  390 @constant errSecInvalidItemRef The item reference is invalid.
  391 @constant errSecInvalidSearchRef The search reference is invalid.
  392 @constant errSecNoSuchClass The keychain item class does not exist.
  393 @constant errSecNoDefaultKeychain A default keychain does not exist.
  394 @constant errSecInteractionNotAllowed User interaction is not allowed.
  395 @constant errSecReadOnlyAttr The attribute is read only.
  396 @constant errSecWrongSecVersion The version is incorrect.
  397 @constant errSecKeySizeNotAllowed The key size is not allowed.
  398 @constant errSecNoStorageModule There is no storage module available.
  399 @constant errSecNoCertificateModule There is no certificate module available.
  400 @constant errSecNoPolicyModule There is no policy module available.
  401 @constant errSecInteractionRequired User interaction is required.
  402 @constant errSecDataNotAvailable The data is not available.
  403 @constant errSecDataNotModifiable The data is not modifiable.
  404 @constant errSecCreateChainFailed The attempt to create a certificate chain failed.
  405 @constant errSecACLNotSimple The access control list is not in standard simple form.
  406 @constant errSecPolicyNotFound The policy specified cannot be found.
  407 @constant errSecInvalidTrustSetting The specified trust setting is invalid.
  408 @constant errSecNoAccessForItem The specified item has no access control.
  409 @constant errSecInvalidOwnerEdit Invalid attempt to change the owner of this item.
  410 @constant errSecTrustNotAvailable No trust results are available.
  411 @constant errSecUnsupportedFormat Import/Export format unsupported.
  412 @constant errSecUnknownFormat Unknown format in import.
  413 @constant errSecKeyIsSensitive Key material must be wrapped for export.
  414 @constant errSecMultiplePrivKeys An attempt was made to import multiple private keys.
  415 @constant errSecPassphraseRequired Passphrase is required for import/export.
  416 @constant errSecInvalidPasswordRef The password reference was invalid.
  417 @constant errSecInvalidTrustSettings The Trust Settings Record was corrupted.
  418 @constant errSecNoTrustSettings No Trust Settings were found. 
  419 @constant errSecPkcs12VerifyFailure MAC verification failed during PKCS12 Import.
  420 @constant errSecDecode Unable to decode the provided data.
  421 
  422 @discussion The assigned error space is discontinuous: e.g. -25240..-25279, -25290..-25329, -68608..-67585, and so on.
  423 }
  424 
  425 {
  426     Note: the comments that appear after these errors are used to create SecErrorMessages.strings.
  427     The comments must not be multi-line, and should be in a form meaningful to an end user. If
  428     a different or additional comment is needed, it can be put in the header doc format, or on a
  429     line that does not start with errZZZ.
  430 }
  431 
  432 const
  433     errSecSuccess = 0;       { No error. }
  434     errSecUnimplemented = -4;      { Function or operation not implemented. }
  435     errSecParam = -50;     { One or more parameters passed to a function were not valid. }
  436     errSecAllocate = -108;    { Failed to allocate memory. }
  437 
  438     errSecNotAvailable = -25291;    { No keychain is available. You may need to restart your computer. }
  439     errSecReadOnly = -25292;    { This keychain cannot be modified. }
  440     errSecAuthFailed = -25293;  { The user name or passphrase you entered is not correct. }
  441     errSecNoSuchKeychain = -25294;  { The specified keychain could not be found. }
  442     errSecInvalidKeychain = -25295; { The specified keychain is not a valid keychain file. }
  443     errSecDuplicateKeychain = -25296;   { A keychain with the same name already exists. }
  444     errSecDuplicateCallback = -25297;   { The specified callback function is already installed. }
  445     errSecInvalidCallback = -25298; { The specified callback function is not valid. }
  446     errSecDuplicateItem = -25299;   { The specified item already exists in the keychain. }
  447     errSecItemNotFound = -25300;    { The specified item could not be found in the keychain. }
  448     errSecBufferTooSmall = -25301;  { There is not enough memory available to use the specified item. }
  449     errSecDataTooLarge = -25302;    { This item contains information which is too large or in a format that cannot be displayed. }
  450     errSecNoSuchAttr = -25303;  { The specified attribute does not exist. }
  451     errSecInvalidItemRef = -25304;  { The specified item is no longer valid. It may have been deleted from the keychain. }
  452     errSecInvalidSearchRef = -25305;    { Unable to search the current keychain. }
  453     errSecNoSuchClass = -25306; { The specified item does not appear to be a valid keychain item. }
  454     errSecNoDefaultKeychain = -25307;   { A default keychain could not be found. }
  455     errSecInteractionNotAllowed = -25308;   { User interaction is not allowed. }
  456     errSecReadOnlyAttr = -25309;    { The specified attribute could not be modified. }
  457     errSecWrongSecVersion = -25310; { This keychain was created by a different version of the system software and cannot be opened. }
  458     errSecKeySizeNotAllowed = -25311;   { This item specifies a key size which is too large. }
  459     errSecNoStorageModule = -25312; { A required component (data storage module) could not be loaded. You may need to restart your computer. }
  460     errSecNoCertificateModule = -25313; { A required component (certificate module) could not be loaded. You may need to restart your computer. }
  461     errSecNoPolicyModule = -25314;  { A required component (policy module) could not be loaded. You may need to restart your computer. }
  462     errSecInteractionRequired = -25315; { User interaction is required, but is currently not allowed. }
  463     errSecDataNotAvailable = -25316;    { The contents of this item cannot be retrieved. }
  464     errSecDataNotModifiable = -25317;   { The contents of this item cannot be modified. }
  465     errSecCreateChainFailed = -25318;   { One or more certificates required to validate this certificate cannot be found. }
  466     errSecInvalidPrefsDomain = -25319;  { The specified preferences domain is not valid. }
  467     errSecInDarkWake = -25320;  { In dark wake, no UI possible }
  468     
  469     errSecACLNotSimple = -25240;    { The specified access control list is not in standard (simple) form. }
  470     errSecPolicyNotFound = -25241;  { The specified policy cannot be found. }
  471     errSecInvalidTrustSetting = -25242; { The specified trust setting is invalid. }
  472     errSecNoAccessForItem = -25243; { The specified item has no access control. }
  473     errSecInvalidOwnerEdit = -25244;  { Invalid attempt to change the owner of this item. }
  474     errSecTrustNotAvailable = -25245;   { No trust results are available. }
  475     errSecUnsupportedFormat = -25256;  { Import/Export format unsupported. }
  476     errSecUnknownFormat = -25257;  { Unknown format in import. }
  477     errSecKeyIsSensitive = -25258;  { Key material must be wrapped for export. }
  478     errSecMultiplePrivKeys = -25259;  { An attempt was made to import multiple private keys. }
  479     errSecPassphraseRequired = -25260;  { Passphrase is required for import/export. }
  480     errSecInvalidPasswordRef = -25261;  { The password reference was invalid. }
  481     errSecInvalidTrustSettings = -25262;    { The Trust Settings Record was corrupted. }
  482     errSecNoTrustSettings = -25263; { No Trust Settings were found. }
  483     errSecPkcs12VerifyFailure = -25264; { MAC verification failed during PKCS12 import (wrong password?) }
  484     errSecNotSigner = -26267;   { A certificate was not signed by its proposed parent. }
  485     
  486     errSecDecode = -26275;  { Unable to decode the provided data. }
  487 
  488     errSecServiceNotAvailable = -67585; { The required service is not available. }
  489     errSecInsufficientClientID = -67586;    { The client ID is not correct. }
  490     errSecDeviceReset = -67587; { A device reset has occurred. }
  491     errSecDeviceFailed = -67588;    { A device failure has occurred. }
  492     errSecAppleAddAppACLSubject = -67589;   { Adding an application ACL subject failed. }
  493     errSecApplePublicKeyIncomplete = -67590;    { The public key is incomplete. }
  494     errSecAppleSignatureMismatch = -67591;  { A signature mismatch has occurred. }
  495     errSecAppleInvalidKeyStartDate = -67592;    { The specified key has an invalid start date. }
  496     errSecAppleInvalidKeyEndDate = -67593;  { The specified key has an invalid end date. }
  497     errSecConversionError = -67594; { A conversion error has occurred. }
  498     errSecAppleSSLv2Rollback = -67595;  { A SSLv2 rollback error has occurred. }
  499     errSecDiskFull = -34;       { The disk is full. }
  500     errSecQuotaExceeded = -67596;   { The quota was exceeded. }
  501     errSecFileTooBig = -67597;  { The file is too big. }
  502     errSecInvalidDatabaseBlob = -67598; { The specified database has an invalid blob. }
  503     errSecInvalidKeyBlob = -67599;  { The specified database has an invalid key blob. }
  504     errSecIncompatibleDatabaseBlob = -67600;    { The specified database has an incompatible blob. } 
  505     errSecIncompatibleKeyBlob = -67601; { The specified database has an incompatible key blob. }   
  506     errSecHostNameMismatch = -67602;    { A host name mismatch has occurred. }
  507     errSecUnknownCriticalExtensionFlag = -67603;    { There is an unknown critical extension flag. }
  508     errSecNoBasicConstraints = -67604;  { No basic constraints were found. }
  509     errSecNoBasicConstraintsCA = -67605;    { No basic CA constraints were found. }
  510     errSecInvalidAuthorityKeyID = -67606;   { The authority key ID is not valid. }
  511     errSecInvalidSubjectKeyID = -67607; { The subject key ID is not valid. }
  512     errSecInvalidKeyUsageForPolicy = -67608;    { The key usage is not valid for the specified policy. }
  513     errSecInvalidExtendedKeyUsage = -67609; { The extended key usage is not valid. }
  514     errSecInvalidIDLinkage = -67610;    { The ID linkage is not valid. }
  515     errSecPathLengthConstraintExceeded = -67611;    { The path length constraint was exceeded. }
  516     errSecInvalidRoot = -67612; { The root or anchor certificate is not valid. }
  517     errSecCRLExpired = -67613;  { The CRL has expired. }
  518     errSecCRLNotValidYet = -67614;  { The CRL is not yet valid. }
  519     errSecCRLNotFound = -67615; { The CRL was not found. }
  520     errSecCRLServerDown = -67616;   { The CRL server is down. }
  521     errSecCRLBadURI = -67617;   { The CRL has a bad Uniform Resource Identifier. }
  522     errSecUnknownCertExtension = -67618;    { An unknown certificate extension was encountered. }
  523     errSecUnknownCRLExtension = -67619; { An unknown CRL extension was encountered. }
  524     errSecCRLNotTrusted = -67620;   { The CRL is not trusted. }
  525     errSecCRLPolicyFailed = -67621; { The CRL policy failed. }
  526     errSecIDPFailure = -67622;  { The issuing distribution point was not valid. }
  527     errSecSMIMEEmailAddressesNotFound = -67623; { An email address mismatch was encountered. }
  528     errSecSMIMEBadExtendedKeyUsage = -67624;    { The appropriate extended key usage for SMIME was not found. }
  529     errSecSMIMEBadKeyUsage = -67625;    { The key usage is not compatible with SMIME. }
  530     errSecSMIMEKeyUsageNotCritical = -67626;    { The key usage extension is not marked as critical. }
  531     errSecSMIMENoEmailAddress = -67627; { No email address was found in the certificate. }
  532     errSecSMIMESubjAltNameNotCritical = -67628; { The subject alternative name extension is not marked as critical. }
  533     errSecSSLBadExtendedKeyUsage = -67629;  { The appropriate extended key usage for SSL was not found. }
  534     errSecOCSPBadResponse = -67630; { The OCSP response was incorrect or could not be parsed. }
  535     errSecOCSPBadRequest = -67631;  { The OCSP request was incorrect or could not be parsed. }
  536     errSecOCSPUnavailable = -67632; { OCSP service is unavailable. }
  537     errSecOCSPStatusUnrecognized = -67633;  { The OCSP server did not recognize this certificate. }
  538     errSecEndOfData = -67634;   { An end-of-data was detected. }
  539     errSecIncompleteCertRevocationCheck = -67635;   { An incomplete certificate revocation check occurred. }
  540     errSecNetworkFailure = -67636;  { A network failure occurred. }
  541     errSecOCSPNotTrustedToAnchor = -67637;  { The OCSP response was not trusted to a root or anchor certificate. }
  542     errSecRecordModified = -67638;  { The record was modified. }
  543     errSecOCSPSignatureError = -67639;  { The OCSP response had an invalid signature. }
  544     errSecOCSPNoSigner = -67640;    { The OCSP response had no signer. }
  545     errSecOCSPResponderMalformedReq = -67641;   { The OCSP responder was given a malformed request. }
  546     errSecOCSPResponderInternalError = -67642;  { The OCSP responder encountered an internal error. }
  547     errSecOCSPResponderTryLater = -67643;   { The OCSP responder is busy, try again later. }
  548     errSecOCSPResponderSignatureRequired = -67644;  { The OCSP responder requires a signature. }
  549     errSecOCSPResponderUnauthorized = -67645;   { The OCSP responder rejected this request as unauthorized. }
  550     errSecOCSPResponseNonceMismatch = -67646;   { The OCSP response nonce did not match the request. }
  551     errSecCodeSigningBadCertChainLength = -67647;   { Code signing encountered an incorrect certificate chain length. }
  552     errSecCodeSigningNoBasicConstraints = -67648;   { Code signing found no basic constraints. }
  553     errSecCodeSigningBadPathLengthConstraint = -67649;  { Code signing encountered an incorrect path length constraint. }
  554     errSecCodeSigningNoExtendedKeyUsage = -67650;   { Code signing found no extended key usage. }
  555     errSecCodeSigningDevelopment = -67651;  { Code signing indicated use of a development-only certificate. }
  556     errSecResourceSignBadCertChainLength = -67652;  { Resource signing has encountered an incorrect certificate chain length. }
  557     errSecResourceSignBadExtKeyUsage = -67653;  { Resource signing has encountered an error in the extended key usage. }
  558     errSecTrustSettingDeny = -67654;    { The trust setting for this policy was set to Deny. }
  559     errSecInvalidSubjectName = -67655;  { An invalid certificate subject name was encountered. }
  560     errSecUnknownQualifiedCertStatement = -67656;   { An unknown qualified certificate statement was encountered. }
  561     errSecMobileMeRequestQueued = -67657;   { The MobileMe request will be sent during the next connection. }
  562     errSecMobileMeRequestRedirected = -67658;   { The MobileMe request was redirected. }
  563     errSecMobileMeServerError = -67659; { A MobileMe server error occurred. }
  564     errSecMobileMeServerNotAvailable = -67660;  { The MobileMe server is not available. }
  565     errSecMobileMeServerAlreadyExists = -67661; { The MobileMe server reported that the item already exists. }
  566     errSecMobileMeServerServiceErr = -67662;    { A MobileMe service error has occurred. }
  567     errSecMobileMeRequestAlreadyPending = -67663;   { A MobileMe request is already pending. }
  568     errSecMobileMeNoRequestPending = -67664;    { MobileMe has no request pending. }
  569     errSecMobileMeCSRVerifyFailure = -67665;    { A MobileMe CSR verification failure has occurred. }
  570     errSecMobileMeFailedConsistencyCheck = -67666;  { MobileMe has found a failed consistency check. }
  571     errSecNotInitialized = -67667;  { A function was called without initializing CSSM. }
  572     errSecInvalidHandleUsage = -67668;  { The CSSM handle does not match with the service type. }
  573     errSecPVCReferentNotFound = -67669; { A reference to the calling module was not found in the list of authorized callers. }
  574     errSecFunctionIntegrityFail = -67670;   { A function address was not within the verified module. }  
  575     errSecInternalError = -67671;   { An internal error has occurred. }
  576     errSecMemoryError = -67672; { A memory error has occurred. }
  577     errSecInvalidData = -67673; { Invalid data was encountered. }
  578     errSecMDSError = -67674;    { A Module Directory Service error has occurred. }
  579     errSecInvalidPointer = -67675;  { An invalid pointer was encountered. }
  580     errSecSelfCheckFailed = -67676; { Self-check has failed. }
  581     errSecFunctionFailed = -67677;  { A function has failed. }
  582     errSecModuleManifestVerifyFailed = -67678;  { A module manifest verification failure has occurred. }
  583     errSecInvalidGUID = -67679; { An invalid GUID was encountered. }
  584     errSecInvalidHandle = -67680;   { An invalid handle was encountered. }
  585     errSecInvalidDBList = -67681;   { An invalid DB list was encountered. }
  586     errSecInvalidPassthroughID = -67682;    { An invalid passthrough ID was encountered. }
  587     errSecInvalidNetworkAddress = -67683;   { An invalid network address was encountered. }
  588     errSecCRLAlreadySigned = -67684;    { The certificate revocation list is already signed. }
  589     errSecInvalidNumberOfFields = -67685;   { An invalid number of fields were encountered. }
  590     errSecVerificationFailure = -67686; { A verification failure occurred. }
  591     errSecUnknownTag = -67687;  { An unknown tag was encountered. }
  592     errSecInvalidSignature = -67688;    { An invalid signature was encountered. }
  593     errSecInvalidName = -67689; { An invalid name was encountered. }
  594     errSecInvalidCertificateRef = -67690;   { An invalid certificate reference was encountered. }
  595     errSecInvalidCertificateGroup = -67691; { An invalid certificate group was encountered. }
  596     errSecTagNotFound = -67692; { The specified tag was not found. }
  597     errSecInvalidQuery = -67693;    { The specified query was not valid. }
  598     errSecInvalidValue = -67694;    { An invalid value was detected. }
  599     errSecCallbackFailed = -67695;  { A callback has failed. }
  600     errSecACLDeleteFailed = -67696; { An ACL delete operation has failed. }
  601     errSecACLReplaceFailed = -67697;    { An ACL replace operation has failed. }
  602     errSecACLAddFailed = -67698;    { An ACL add operation has failed. }
  603     errSecACLChangeFailed = -67699; { An ACL change operation has failed. }
  604     errSecInvalidAccessCredentials = -67700;    { Invalid access credentials were encountered. }
  605     errSecInvalidRecord = -67701;   { An invalid record was encountered. }
  606     errSecInvalidACL = -67702;  { An invalid ACL was encountered. }
  607     errSecInvalidSampleValue = -67703;  { An invalid sample value was encountered. }
  608     errSecIncompatibleVersion = -67704; { An incompatible version was encountered. }
  609     errSecPrivilegeNotGranted = -67705; { The privilege was not granted. }
  610     errSecInvalidScope = -67706;    { An invalid scope was encountered. }
  611     errSecPVCAlreadyConfigured = -67707;    { The PVC is already configured. }
  612     errSecInvalidPVC = -67708;  { An invalid PVC was encountered. }
  613     errSecEMMLoadFailed = -67709;   { The EMM load has failed. }
  614     errSecEMMUnloadFailed = -67710; { The EMM unload has failed. }
  615     errSecAddinLoadFailed = -67711; { The add-in load operation has failed. }
  616     errSecInvalidKeyRef = -67712;   { An invalid key was encountered. }
  617     errSecInvalidKeyHierarchy = -67713; { An invalid key hierarchy was encountered. }
  618     errSecAddinUnloadFailed = -67714;   { The add-in unload operation has failed. }
  619     errSecLibraryReferenceNotFound = -67715;    { A library reference was not found. }
  620     errSecInvalidAddinFunctionTable = -67716;   { An invalid add-in function table was encountered. }
  621     errSecInvalidServiceMask = -67717;  { An invalid service mask was encountered. }
  622     errSecModuleNotLoaded = -67718; { A module was not loaded. }
  623     errSecInvalidSubServiceID = -67719; { An invalid subservice ID was encountered. }
  624     errSecAttributeNotInContext = -67720;   { An attribute was not in the context. }
  625     errSecModuleManagerInitializeFailed = -67721;   { A module failed to initialize. }
  626     errSecModuleManagerNotFound = -67722;   { A module was not found. }
  627     errSecEventNotificationCallbackNotFound = -67723;   { An event notification callback was not found. }
  628     errSecInputLengthError = -67724;    { An input length error was encountered. }
  629     errSecOutputLengthError = -67725;   { An output length error was encountered. }
  630     errSecPrivilegeNotSupported = -67726;   { The privilege is not supported. }
  631     errSecDeviceError = -67727; { A device error was encountered. }
  632     errSecAttachHandleBusy = -67728;    { The CSP handle was busy. }
  633     errSecNotLoggedIn = -67729; { You are not logged in. }
  634     errSecAlgorithmMismatch = -67730;   { An algorithm mismatch was encountered. }
  635     errSecKeyUsageIncorrect = -67731;   { The key usage is incorrect. }
  636     errSecKeyBlobTypeIncorrect = -67732;    { The key blob type is incorrect. }
  637     errSecKeyHeaderInconsistent = -67733;   { The key header is inconsistent. }
  638     errSecUnsupportedKeyFormat = -67734;    { The key header format is not supported. }
  639     errSecUnsupportedKeySize = -67735;  { The key size is not supported. }
  640     errSecInvalidKeyUsageMask = -67736; { The key usage mask is not valid. }
  641     errSecUnsupportedKeyUsageMask = -67737; { The key usage mask is not supported. }
  642     errSecInvalidKeyAttributeMask = -67738; { The key attribute mask is not valid. }
  643     errSecUnsupportedKeyAttributeMask = -67739; { The key attribute mask is not supported. }
  644     errSecInvalidKeyLabel = -67740; { The key label is not valid. }
  645     errSecUnsupportedKeyLabel = -67741; { The key label is not supported. }
  646     errSecInvalidKeyFormat = -67742;    { The key format is not valid. }
  647     errSecUnsupportedVectorOfBuffers = -67743;  { The vector of buffers is not supported. }
  648     errSecInvalidInputVector = -67744;  { The input vector is not valid. }
  649     errSecInvalidOutputVector = -67745; { The output vector is not valid. }
  650     errSecInvalidContext = -67746;  { An invalid context was encountered. }
  651     errSecInvalidAlgorithm = -67747;    { An invalid algorithm was encountered. }
  652     errSecInvalidAttributeKey = -67748; { A key attribute was not valid. }
  653     errSecMissingAttributeKey = -67749; { A key attribute was missing. }
  654     errSecInvalidAttributeInitVector = -67750;  { An init vector attribute was not valid. }
  655     errSecMissingAttributeInitVector = -67751;  { An init vector attribute was missing. }
  656     errSecInvalidAttributeSalt = -67752;    { A salt attribute was not valid. }
  657     errSecMissingAttributeSalt = -67753;    { A salt attribute was missing. }
  658     errSecInvalidAttributePadding = -67754; { A padding attribute was not valid. }
  659     errSecMissingAttributePadding = -67755; { A padding attribute was missing. }
  660     errSecInvalidAttributeRandom = -67756;  { A random number attribute was not valid. }
  661     errSecMissingAttributeRandom = -67757;  { A random number attribute was missing. }
  662     errSecInvalidAttributeSeed = -67758;    { A seed attribute was not valid. }
  663     errSecMissingAttributeSeed = -67759;    { A seed attribute was missing. }
  664     errSecInvalidAttributePassphrase = -67760;  { A passphrase attribute was not valid. }
  665     errSecMissingAttributePassphrase = -67761;  { A passphrase attribute was missing. }
  666     errSecInvalidAttributeKeyLength = -67762;   { A key length attribute was not valid. }
  667     errSecMissingAttributeKeyLength = -67763;   { A key length attribute was missing. }
  668     errSecInvalidAttributeBlockSize = -67764;   { A block size attribute was not valid. }
  669     errSecMissingAttributeBlockSize = -67765;   { A block size attribute was missing. }
  670     errSecInvalidAttributeOutputSize = -67766;  { An output size attribute was not valid. }
  671     errSecMissingAttributeOutputSize = -67767;  { An output size attribute was missing. }
  672     errSecInvalidAttributeRounds = -67768;  { The number of rounds attribute was not valid. }
  673     errSecMissingAttributeRounds = -67769;  { The number of rounds attribute was missing. }
  674     errSecInvalidAlgorithmParms = -67770;   { An algorithm parameters attribute was not valid. }
  675     errSecMissingAlgorithmParms = -67771;   { An algorithm parameters attribute was missing. }
  676     errSecInvalidAttributeLabel = -67772;   { A label attribute was not valid. }
  677     errSecMissingAttributeLabel = -67773;   { A label attribute was missing. }
  678     errSecInvalidAttributeKeyType = -67774; { A key type attribute was not valid. }
  679     errSecMissingAttributeKeyType = -67775; { A key type attribute was missing. }
  680     errSecInvalidAttributeMode = -67776;    { A mode attribute was not valid. }
  681     errSecMissingAttributeMode = -67777;    { A mode attribute was missing. }
  682     errSecInvalidAttributeEffectiveBits = -67778;   { An effective bits attribute was not valid. }
  683     errSecMissingAttributeEffectiveBits = -67779;   { An effective bits attribute was missing. }
  684     errSecInvalidAttributeStartDate = -67780;   { A start date attribute was not valid. }
  685     errSecMissingAttributeStartDate = -67781;   { A start date attribute was missing. }
  686     errSecInvalidAttributeEndDate = -67782; { An end date attribute was not valid. }
  687     errSecMissingAttributeEndDate = -67783; { An end date attribute was missing. }
  688     errSecInvalidAttributeVersion = -67784; { A version attribute was not valid. }
  689     errSecMissingAttributeVersion = -67785; { A version attribute was missing. }
  690     errSecInvalidAttributePrime = -67786;   { A prime attribute was not valid. }
  691     errSecMissingAttributePrime = -67787;   { A prime attribute was missing. }
  692     errSecInvalidAttributeBase = -67788;    { A base attribute was not valid. }
  693     errSecMissingAttributeBase = -67789;    { A base attribute was missing. }
  694     errSecInvalidAttributeSubprime = -67790;    { A subprime attribute was not valid. }
  695     errSecMissingAttributeSubprime = -67791;    { A subprime attribute was missing. }
  696     errSecInvalidAttributeIterationCount = -67792;  { An iteration count attribute was not valid. }
  697     errSecMissingAttributeIterationCount = -67793;  { An iteration count attribute was missing. }
  698     errSecInvalidAttributeDLDBHandle = -67794;  { A database handle attribute was not valid. }
  699     errSecMissingAttributeDLDBHandle = -67795;  { A database handle attribute was missing. }
  700     errSecInvalidAttributeAccessCredentials = -67796;   { An access credentials attribute was not valid. }
  701     errSecMissingAttributeAccessCredentials = -67797;   { An access credentials attribute was missing. }
  702     errSecInvalidAttributePublicKeyFormat = -67798; { A public key format attribute was not valid. }
  703     errSecMissingAttributePublicKeyFormat = -67799; { A public key format attribute was missing. }
  704     errSecInvalidAttributePrivateKeyFormat = -67800;    { A private key format attribute was not valid. }
  705     errSecMissingAttributePrivateKeyFormat = -67801;    { A private key format attribute was missing. }
  706     errSecInvalidAttributeSymmetricKeyFormat = -67802;  { A symmetric key format attribute was not valid. }
  707     errSecMissingAttributeSymmetricKeyFormat = -67803;  { A symmetric key format attribute was missing. }
  708     errSecInvalidAttributeWrappedKeyFormat = -67804;    { A wrapped key format attribute was not valid. }
  709     errSecMissingAttributeWrappedKeyFormat = -67805;    { A wrapped key format attribute was missing. }
  710     errSecStagedOperationInProgress = -67806;   { A staged operation is in progress. }
  711     errSecStagedOperationNotStarted = -67807;   { A staged operation was not started. }
  712     errSecVerifyFailed = -67808;    { A cryptographic verification failure has occurred. }
  713     errSecQuerySizeUnknown = -67809;    { The query size is unknown. }
  714     errSecBlockSizeMismatch = -67810;   { A block size mismatch occurred. }
  715     errSecPublicKeyInconsistent = -67811;   { The public key was inconsistent. }
  716     errSecDeviceVerifyFailed = -67812;  { A device verification failure has occurred. }
  717     errSecInvalidLoginName = -67813;    { An invalid login name was detected. }
  718     errSecAlreadyLoggedIn = -67814; { The user is already logged in. }
  719     errSecInvalidDigestAlgorithm = -67815;  { An invalid digest algorithm was detected. }
  720     errSecInvalidCRLGroup = -67816; { An invalid CRL group was detected. }
  721     errSecCertificateCannotOperate = -67817;    { The certificate cannot operate. }
  722     errSecCertificateExpired = -67818;  { An expired certificate was detected. }
  723     errSecCertificateNotValidYet = -67819;  { The certificate is not yet valid. }
  724     errSecCertificateRevoked = -67820;  { The certificate was revoked. }
  725     errSecCertificateSuspended = -67821;    { The certificate was suspended. }
  726     errSecInsufficientCredentials = -67822; { Insufficient credentials were detected. }
  727     errSecInvalidAction = -67823;   { The action was not valid. }
  728     errSecInvalidAuthority = -67824;    { The authority was not valid. }
  729     errSecVerifyActionFailed = -67825;  { A verify action has failed. }
  730     errSecInvalidCertAuthority = -67826;    { The certificate authority was not valid. }
  731     errSecInvaldCRLAuthority = -67827;  { The CRL authority was not valid. }
  732     errSecInvalidCRLEncoding = -67828;  { The CRL encoding was not valid. }
  733     errSecInvalidCRLType = -67829;  { The CRL type was not valid. }
  734     errSecInvalidCRL = -67830;  { The CRL was not valid. }
  735     errSecInvalidFormType = -67831; { The form type was not valid. }
  736     errSecInvalidID = -67832;   { The ID was not valid. }
  737     errSecInvalidIdentifier = -67833;   { The identifier was not valid. }
  738     errSecInvalidIndex = -67834;    { The index was not valid. }
  739     errSecInvalidPolicyIdentifiers = -67835;    { The policy identifiers are not valid. }
  740     errSecInvalidTimeString = -67836;   { The time specified was not valid. }
  741     errSecInvalidReason = -67837;   { The trust policy reason was not valid. }
  742     errSecInvalidRequestInputs = -67838;    { The request inputs are not valid. }
  743     errSecInvalidResponseVector = -67839;   { The response vector was not valid. }
  744     errSecInvalidStopOnPolicy = -67840; { The stop-on policy was not valid. }
  745     errSecInvalidTuple = -67841;    { The tuple was not valid. }
  746     errSecMultipleValuesUnsupported = -67842;   { Multiple values are not supported. }
  747     errSecNotTrusted = -67843;  { The trust policy was not trusted. }
  748     errSecNoDefaultAuthority = -67844;  { No default authority was detected. }
  749     errSecRejectedForm = -67845;    { The trust policy had a rejected form. }
  750     errSecRequestLost = -67846; { The request was lost. }
  751     errSecRequestRejected = -67847; { The request was rejected. }
  752     errSecUnsupportedAddressType = -67848;  { The address type is not supported. }
  753     errSecUnsupportedService = -67849;  { The service is not supported. }
  754     errSecInvalidTupleGroup = -67850;   { The tuple group was not valid. }
  755     errSecInvalidBaseACLs = -67851; { The base ACLs are not valid. }
  756     errSecInvalidTupleCredendtials = -67852;    { The tuple credentials are not valid. }
  757     errSecInvalidEncoding = -67853; { The encoding was not valid. }
  758     errSecInvalidValidityPeriod = -67854;   { The validity period was not valid. }
  759     errSecInvalidRequestor = -67855;    { The requestor was not valid. }
  760     errSecRequestDescriptor = -67856;   { The request descriptor was not valid. }
  761     errSecInvalidBundleInfo = -67857;   { The bundle information was not valid. }
  762     errSecInvalidCRLIndex = -67858; { The CRL index was not valid. }
  763     errSecNoFieldValues = -67859;   { No field values were detected. }
  764     errSecUnsupportedFieldFormat = -67860;  { The field format is not supported. }
  765     errSecUnsupportedIndexInfo = -67861;    { The index information is not supported. }
  766     errSecUnsupportedLocality = -67862; { The locality is not supported. }
  767     errSecUnsupportedNumAttributes = -67863;    { The number of attributes is not supported. }
  768     errSecUnsupportedNumIndexes = -67864;   { The number of indexes is not supported. }
  769     errSecUnsupportedNumRecordTypes = -67865;   { The number of record types is not supported. }
  770     errSecFieldSpecifiedMultiple = -67866;  { Too many fields were specified. }
  771     errSecIncompatibleFieldFormat = -67867; { The field format was incompatible. }
  772     errSecInvalidParsingModule = -67868;    { The parsing module was not valid. }
  773     errSecDatabaseLocked = -67869;  { The database is locked. }
  774     errSecDatastoreIsOpen = -67870; { The data store is open. }
  775     errSecMissingValue = -67871;    { A missing value was detected. }
  776     errSecUnsupportedQueryLimits = -67872;  { The query limits are not supported. }
  777     errSecUnsupportedNumSelectionPreds = -67873;    { The number of selection predicates is not supported. }
  778     errSecUnsupportedOperator = -67874; { The operator is not supported. }
  779     errSecInvalidDBLocation = -67875;   { The database location is not valid. }
  780     errSecInvalidAccessRequest = -67876;    { The access request is not valid. }
  781     errSecInvalidIndexInfo = -67877;    { The index information is not valid. }
  782     errSecInvalidNewOwner = -67878; { The new owner is not valid. }
  783     errSecInvalidModifyMode = -67879;   { The modify mode is not valid. }
  784     errSecMissingRequiredExtension = -67880;    { A required certificate extension is missing. }
  785     errSecExtendedKeyUsageNotCritical = -67881; { The extended key usage extension was not marked critical. }
  786     errSecTimestampMissing = -67882;    { A timestamp was expected but was not found. }
  787     errSecTimestampInvalid = -67883;    { The timestamp was not valid. }
  788     errSecTimestampNotTrusted = -67884; { The timestamp was not trusted. }
  789     errSecTimestampServiceNotAvailable = -67885;    { The timestamp service is not available. }
  790     errSecTimestampBadAlg = -67886; { An unrecognized or unsupported Algorithm Identifier in timestamp. }
  791     errSecTimestampBadRequest = -67887; { The timestamp transaction is not permitted or supported. }
  792     errSecTimestampBadDataFormat = -67888;  { The timestamp data submitted has the wrong format. }
  793     errSecTimestampTimeNotAvailable = -67889;   { The time source for the Timestamp Authority is not available. }
  794     errSecTimestampUnacceptedPolicy = -67890;   { The requested policy is not supported by the Timestamp Authority. }
  795     errSecTimestampUnacceptedExtension = -67891;    { The requested extension is not supported by the Timestamp Authority. }
  796     errSecTimestampAddInfoNotAvailable = -67892;    { The additional information requested is not available. }
  797     errSecTimestampSystemFailure = -67893;  { The timestamp request cannot be handled due to system failure . }
  798     errSecSigningTimeMissing = -67894;  { A signing time was expected but was not found. }
  799     errSecTimestampRejection = -67895;  { A timestamp transaction was rejected. }
  800     errSecTimestampWaiting = -67896;    { A timestamp transaction is waiting. }
  801     errSecTimestampRevocationWarning = -67897;  { A timestamp authority revocation warning was issued. }
  802     errSecTimestampRevocationNotification = -67898; { A timestamp authority revocation notification was issued. }
  803 
  804 {$ifc not defined MACOSALLINCLUDE or not MACOSALLINCLUDE}
  805 
  806 end.
  807 {$endc} {not MACOSALLINCLUDE}