diff --git a/pkgs/cupertino_http/CHANGELOG.md b/pkgs/cupertino_http/CHANGELOG.md index f6513b7e23..7d7c1db68d 100644 --- a/pkgs/cupertino_http/CHANGELOG.md +++ b/pkgs/cupertino_http/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.0.3-wip + +* Remove some unnecessary native code. + ## 2.0.2 * Upgrade to `package:objective_c` 4.1. diff --git a/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/native_cupertino_bindings.m b/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/native_cupertino_bindings.m index 811037901c..d978b7321e 100644 --- a/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/native_cupertino_bindings.m +++ b/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/native_cupertino_bindings.m @@ -11,7 +11,6 @@ #import #import #import -#import "utils.h" #if !__has_feature(objc_arc) #error "This file must be compiled with ARC enabled" @@ -1060,31 +1059,3 @@ _ListenerTrampoline36 _NativeCupertinoHttp_wrapBlockingBlock_ovsamd( } }; } - -typedef void (^_ListenerTrampoline37)(id arg0, id arg1, id arg2, id arg3); -__attribute__((visibility("default"))) __attribute__((used)) -_ListenerTrampoline37 _NativeCupertinoHttp_wrapListenerBlock_mlcr8l(_ListenerTrampoline37 block) NS_RETURNS_RETAINED { - return ^void(id arg0, id arg1, id arg2, id arg3) { - objc_retainBlock(block); - block((__bridge id)(__bridge_retained void*)(arg0), (__bridge id)(__bridge_retained void*)(arg1), (__bridge id)(__bridge_retained void*)(arg2), (__bridge id)(__bridge_retained void*)(arg3)); - }; -} - -typedef void (^_BlockingTrampoline37)(void * waiter, id arg0, id arg1, id arg2, id arg3); -__attribute__((visibility("default"))) __attribute__((used)) -_ListenerTrampoline37 _NativeCupertinoHttp_wrapBlockingBlock_mlcr8l( - _BlockingTrampoline37 block, _BlockingTrampoline37 listenerBlock, - void* (*newWaiter)(), void (*awaitWaiter)(void*)) NS_RETURNS_RETAINED { - NSThread *targetThread = [NSThread currentThread]; - return ^void(id arg0, id arg1, id arg2, id arg3) { - if ([NSThread currentThread] == targetThread) { - objc_retainBlock(block); - block(nil, (__bridge id)(__bridge_retained void*)(arg0), (__bridge id)(__bridge_retained void*)(arg1), (__bridge id)(__bridge_retained void*)(arg2), (__bridge id)(__bridge_retained void*)(arg3)); - } else { - void* waiter = newWaiter(); - objc_retainBlock(listenerBlock); - listenerBlock(waiter, (__bridge id)(__bridge_retained void*)(arg0), (__bridge id)(__bridge_retained void*)(arg1), (__bridge id)(__bridge_retained void*)(arg2), (__bridge id)(__bridge_retained void*)(arg3)); - awaitWaiter(waiter); - } - }; -} diff --git a/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.h b/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.h deleted file mode 100644 index 490b1d70b7..0000000000 --- a/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.h +++ /dev/null @@ -1,19 +0,0 @@ -#import -#import -#import -#include - -#if !__has_feature(objc_arc) -#error "This file must be compiled with ARC enabled" -#endif - -typedef void (^_DidFinish)(void *closure, NSURLSession *session, - NSURLSessionDownloadTask *downloadTask, - NSURL *location); -typedef void (^_DidFinishWithLock)(NSCondition *lock, NSURLSession *session, - NSURLSessionDownloadTask *downloadTask, - NSURL *location); -/// Create a block useable as a -/// `URLSession:downloadTask:didFinishDownloadingToURL:` that can be used to -/// make an async Dart callback behave synchronously. -_DidFinish adaptFinishWithLock(_DidFinishWithLock block); diff --git a/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.m b/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.m deleted file mode 100644 index bad263c96c..0000000000 --- a/pkgs/cupertino_http/darwin/cupertino_http/Sources/cupertino_http/utils.m +++ /dev/null @@ -1,12 +0,0 @@ -#import "utils.h" - -_DidFinish adaptFinishWithLock(_DidFinishWithLock block) { - return ^void(void *closure, NSURLSession *session, - NSURLSessionDownloadTask *downloadTask, NSURL *location) { - NSCondition *lock = [[NSCondition alloc] init]; - [lock lock]; - block(lock, session, downloadTask, location); - [lock lock]; - [lock unlock]; - }; -} diff --git a/pkgs/cupertino_http/ffigen.yaml b/pkgs/cupertino_http/ffigen.yaml index a67084acc4..3f01474bec 100644 --- a/pkgs/cupertino_http/ffigen.yaml +++ b/pkgs/cupertino_http/ffigen.yaml @@ -21,7 +21,6 @@ headers: - '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSOperation.h' - '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSError.h' - '/System/Volumes/Data/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Foundation.framework/Versions/C/Headers/NSDictionary.h' - - 'darwin/cupertino_http/Sources/cupertino_http/utils.h' preamble: | // ignore_for_file: always_specify_types // ignore_for_file: camel_case_types diff --git a/pkgs/cupertino_http/lib/src/cupertino_api.dart b/pkgs/cupertino_http/lib/src/cupertino_api.dart index a87fa9c43d..2fced66721 100644 --- a/pkgs/cupertino_http/lib/src/cupertino_api.dart +++ b/pkgs/cupertino_http/lib/src/cupertino_api.dart @@ -919,29 +919,15 @@ class URLSession extends _ObjectHolder { } if (onFinishedDownloading != null) { - final asyncFinishDownloading = - // ignore: lines_longer_than_80_chars - ncb.ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL - .listener((nsCondition, nsSession, nsTask, nsUrl) { - try { - onFinishedDownloading( - URLSession._(nsSession, - isBackground: isBackground, hasDelegate: true), - URLSessionDownloadTask._(nsTask), - nsurlToUri(nsUrl)); - } finally { - nsCondition.unlock(); - } + ncb.NSURLSessionDownloadDelegate + .URLSession_downloadTask_didFinishDownloadingToURL_ + .implementAsBlocking(protoBuilder, (nsSession, nsTask, nsUrl) { + onFinishedDownloading( + URLSession._(nsSession, + isBackground: isBackground, hasDelegate: true), + URLSessionDownloadTask._(nsTask), + nsurlToUri(nsUrl)); }); - - final downloadDelegate = objc.getProtocol('NSURLSessionDownloadDelegate'); - final didFinishDownloadingToURL = objc - .registerName('URLSession:downloadTask:didFinishDownloadingToURL:'); - final signature = objc.getProtocolMethodSignature( - downloadDelegate, didFinishDownloadingToURL, - isRequired: true, isInstanceMethod: true)!; - protoBuilder.implementMethod(didFinishDownloadingToURL, signature, - linkedLibs.adaptFinishWithLock(asyncFinishDownloading)); } if (onWebSocketTaskOpened != null) { diff --git a/pkgs/cupertino_http/lib/src/native_cupertino_bindings.dart b/pkgs/cupertino_http/lib/src/native_cupertino_bindings.dart index cc01adeb41..264574264a 100644 --- a/pkgs/cupertino_http/lib/src/native_cupertino_bindings.dart +++ b/pkgs/cupertino_http/lib/src/native_cupertino_bindings.dart @@ -40660,27 +40660,6 @@ class NativeCupertinoHttp { .release(); _NSFilePathErrorKey.value = value.ref.retainAndReturnPointer(); } - - /// Create a block useable as a - /// `URLSession:downloadTask:didFinishDownloadingToURL:` that can be used to - /// make an async Dart callback behave synchronously. - Dart_DidFinish adaptFinishWithLock( - Dart_DidFinishWithLock block, - ) { - return ObjCBlock_ffiVoid_ffiVoid_NSURLSession_NSURLSessionDownloadTask_NSURL - .castFromPointer( - _adaptFinishWithLock( - block.ref.pointer, - ), - retain: true, - release: true); - } - - late final _adaptFinishWithLockPtr = - _lookup>( - 'adaptFinishWithLock'); - late final _adaptFinishWithLock = _adaptFinishWithLockPtr - .asFunction<_DidFinish Function(_DidFinishWithLock)>(); } @ffi.Native< @@ -41608,31 +41587,6 @@ external ffi.Pointer awaitWaiter, ); -@ffi.Native< - ffi.Pointer Function( - ffi.Pointer)>(isLeaf: true) -external ffi.Pointer - _NativeCupertinoHttp_wrapListenerBlock_mlcr8l( - ffi.Pointer block, -); - -@ffi.Native< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer Function()>>, - ffi.Pointer< - ffi.NativeFunction)>>)>( - isLeaf: true) -external ffi.Pointer - _NativeCupertinoHttp_wrapBlockingBlock_mlcr8l( - ffi.Pointer block, - ffi.Pointer listnerBlock, - ffi.Pointer Function()>> newWaiter, - ffi.Pointer)>> - awaitWaiter, -); - typedef __int8_t = ffi.SignedChar; typedef Dart__int8_t = int; typedef __uint8_t = ffi.UnsignedChar; @@ -85174,354 +85128,6 @@ extension NSErrorRecoveryAttempting on objc.NSObject { } } -typedef NSURLResourceKey1 = ffi.Pointer; -typedef DartNSURLResourceKey1 = objc.NSString; -typedef NSURLFileResourceType1 = ffi.Pointer; -typedef DartNSURLFileResourceType1 = objc.NSString; -typedef NSURLThumbnailDictionaryItem1 = ffi.Pointer; -typedef DartNSURLThumbnailDictionaryItem1 = objc.NSString; -typedef NSURLFileProtectionType1 = ffi.Pointer; -typedef DartNSURLFileProtectionType1 = objc.NSString; -typedef NSURLUbiquitousItemDownloadingStatus1 = ffi.Pointer; -typedef DartNSURLUbiquitousItemDownloadingStatus1 = objc.NSString; -typedef NSURLUbiquitousSharedItemRole1 = ffi.Pointer; -typedef DartNSURLUbiquitousSharedItemRole1 = objc.NSString; -typedef NSURLUbiquitousSharedItemPermissions1 = ffi.Pointer; -typedef DartNSURLUbiquitousSharedItemPermissions1 = objc.NSString; -typedef NSURLBookmarkFileCreationOptions1 = NSUInteger; -typedef _DidFinish = ffi.Pointer; -typedef Dart_DidFinish = objc.ObjCBlock< - ffi.Void Function(ffi.Pointer, NSURLSession, - NSURLSessionDownloadTask, objc.NSURL)>; -void - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_fnPtrTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3)>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2, arg3); -ffi.Pointer - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_fnPtrCallable = - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_fnPtrTrampoline) - .cast(); -void - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_closureTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) => - (objc.getBlockClosure(block) as void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer))(arg0, arg1, arg2, arg3); -ffi.Pointer - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_closureCallable = - ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_closureTrampoline) - .cast(); -void - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_listenerTrampoline( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) { - (objc.getBlockClosure(block) as void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer))(arg0, arg1, arg2, arg3); - objc.objectRelease(block.cast()); -} - -ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)> - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_listenerCallable = - ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_listenerTrampoline) - ..keepIsolateAlive = false; -void - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingTrampoline( - ffi.Pointer block, - ffi.Pointer waiter, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) { - try { - (objc.getBlockClosure(block) as void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer))(arg0, arg1, arg2, arg3); - } catch (e) { - } finally { - objc.signalWaiter(waiter); - objc.objectRelease(block.cast()); - } -} - -ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)> - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingCallable = - ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.isolateLocal( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingTrampoline) - ..keepIsolateAlive = false; -ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)> - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingListenerCallable = - ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingTrampoline) - ..keepIsolateAlive = false; - -/// Construction methods for `objc.ObjCBlock`. -abstract final class ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL { - /// Returns a block that wraps the given raw block pointer. - static objc.ObjCBlock< - ffi.Void Function( - NSCondition, NSURLSession, NSURLSessionDownloadTask, objc.NSURL)> - castFromPointer(ffi.Pointer pointer, - {bool retain = false, bool release = false}) => - objc.ObjCBlock< - ffi.Void Function( - NSCondition, - NSURLSession, - NSURLSessionDownloadTask, - objc.NSURL)>(pointer, retain: retain, release: release); - - /// Creates a block from a C function pointer. - /// - /// This block must be invoked by native code running on the same thread as - /// the isolate that registered it. Invoking the block on the wrong thread - /// will result in a crash. - static objc.ObjCBlock - fromFunctionPointer(ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2, ffi.Pointer arg3)>> ptr) => - objc.ObjCBlock< - ffi.Void Function(NSCondition, NSURLSession, - NSURLSessionDownloadTask, objc.NSURL)>( - objc.newPointerBlock( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_fnPtrCallable, - ptr.cast()), - retain: false, - release: true); - - /// Creates a block from a Dart function. - /// - /// This block must be invoked by native code running on the same thread as - /// the isolate that registered it. Invoking the block on the wrong thread - /// will result in a crash. - static objc.ObjCBlock fromFunction(void Function(NSCondition, NSURLSession, NSURLSessionDownloadTask, objc.NSURL) fn) => - objc.ObjCBlock( - objc.newClosureBlock( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_closureCallable, - (ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) => - fn( - NSCondition.castFromPointer(arg0, retain: true, release: true), - NSURLSession.castFromPointer(arg1, retain: true, release: true), - NSURLSessionDownloadTask.castFromPointer(arg2, retain: true, release: true), - objc.NSURL.castFromPointer(arg3, retain: true, release: true))), - retain: false, - release: true); - - /// Creates a listener block from a Dart function. - /// - /// This is based on FFI's NativeCallable.listener, and has the same - /// capabilities and limitations. This block can be invoked from any thread, - /// but only supports void functions, and is not run synchronously. See - /// NativeCallable.listener for more details. - /// - /// Note that unlike the default behavior of NativeCallable.listener, listener - /// blocks do not keep the isolate alive. - static objc.ObjCBlock< - ffi.Void Function(NSCondition, NSURLSession, NSURLSessionDownloadTask, - objc.NSURL)> listener( - void Function( - NSCondition, NSURLSession, NSURLSessionDownloadTask, objc.NSURL) - fn) { - final raw = objc.newClosureBlock( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_listenerCallable - .nativeFunction - .cast(), - (ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) => - fn( - NSCondition.castFromPointer(arg0, retain: false, release: true), - NSURLSession.castFromPointer(arg1, - retain: false, release: true), - NSURLSessionDownloadTask.castFromPointer(arg2, - retain: false, release: true), - objc.NSURL - .castFromPointer(arg3, retain: false, release: true))); - final wrapper = _NativeCupertinoHttp_wrapListenerBlock_mlcr8l(raw); - objc.objectRelease(raw.cast()); - return objc.ObjCBlock< - ffi.Void Function(NSCondition, NSURLSession, NSURLSessionDownloadTask, - objc.NSURL)>(wrapper, retain: false, release: true); - } - - /// Creates a blocking block from a Dart function. - /// - /// This callback can be invoked from any native thread, and will block the - /// caller until the callback is handled by the Dart isolate that created - /// the block. Async functions are not supported. - /// - /// This block does not keep the owner isolate alive. If the owner isolate has - /// shut down, and the block is invoked by native code, it may block - /// indefinitely, or have other undefined behavior. - static objc.ObjCBlock< - ffi.Void Function(NSCondition, NSURLSession, NSURLSessionDownloadTask, - objc.NSURL)> blocking( - void Function( - NSCondition, NSURLSession, NSURLSessionDownloadTask, objc.NSURL) - fn) { - final raw = objc.newClosureBlock( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingCallable - .nativeFunction - .cast(), - (ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) => - fn( - NSCondition.castFromPointer(arg0, retain: false, release: true), - NSURLSession.castFromPointer(arg1, - retain: false, release: true), - NSURLSessionDownloadTask.castFromPointer(arg2, - retain: false, release: true), - objc.NSURL - .castFromPointer(arg3, retain: false, release: true))); - final rawListener = objc.newClosureBlock( - _ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_blockingListenerCallable - .nativeFunction - .cast(), - (ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3) => - fn( - NSCondition.castFromPointer(arg0, retain: false, release: true), - NSURLSession.castFromPointer(arg1, - retain: false, release: true), - NSURLSessionDownloadTask.castFromPointer(arg2, - retain: false, release: true), - objc.NSURL - .castFromPointer(arg3, retain: false, release: true))); - final wrapper = objc.wrapBlockingBlock( - _NativeCupertinoHttp_wrapBlockingBlock_mlcr8l, raw, rawListener); - objc.objectRelease(raw.cast()); - objc.objectRelease(rawListener.cast()); - return objc.ObjCBlock< - ffi.Void Function(NSCondition, NSURLSession, NSURLSessionDownloadTask, - objc.NSURL)>(wrapper, retain: false, release: true); - } -} - -/// Call operator for `objc.ObjCBlock`. -extension ObjCBlock_ffiVoid_NSCondition_NSURLSession_NSURLSessionDownloadTask_NSURL_CallExtension - on objc.ObjCBlock< - ffi.Void Function( - NSCondition, NSURLSession, NSURLSessionDownloadTask, objc.NSURL)> { - void call(NSCondition arg0, NSURLSession arg1, NSURLSessionDownloadTask arg2, - objc.NSURL arg3) => - ref.pointer.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2, - ffi.Pointer arg3)>>() - .asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()( - ref.pointer, - arg0.ref.pointer, - arg1.ref.pointer, - arg2.ref.pointer, - arg3.ref.pointer); -} - -typedef _DidFinishWithLock = ffi.Pointer; -typedef Dart_DidFinishWithLock = objc.ObjCBlock< - ffi.Void Function( - NSCondition, NSURLSession, NSURLSessionDownloadTask, objc.NSURL)>; - const int noErr = 0; const int kNilOptions = 0; @@ -90638,4712 +90244,6 @@ const int NSScannedOption10 = 1; const int NSCollectorDisabledOption10 = 2; -const int noErr11 = 0; - -const int kNilOptions11 = 0; - -const int kVariableLengthArray11 = 1; - -const int kUnknownType11 = 1061109567; - -const int normal11 = 0; - -const int bold11 = 1; - -const int italic11 = 2; - -const int underline11 = 4; - -const int outline11 = 8; - -const int shadow11 = 16; - -const int condense11 = 32; - -const int extend11 = 64; - -const int developStage11 = 32; - -const int alphaStage11 = 64; - -const int betaStage11 = 96; - -const int finalStage11 = 128; - -const int NSScannedOption11 = 1; - -const int NSCollectorDisabledOption11 = 2; - -const int NSASCIIStringEncoding2 = 1; - -const int NSNEXTSTEPStringEncoding2 = 2; - -const int NSJapaneseEUCStringEncoding2 = 3; - -const int NSUTF8StringEncoding2 = 4; - -const int NSISOLatin1StringEncoding2 = 5; - -const int NSSymbolStringEncoding2 = 6; - -const int NSNonLossyASCIIStringEncoding2 = 7; - -const int NSShiftJISStringEncoding2 = 8; - -const int NSISOLatin2StringEncoding2 = 9; - -const int NSUnicodeStringEncoding2 = 10; - -const int NSWindowsCP1251StringEncoding2 = 11; - -const int NSWindowsCP1252StringEncoding2 = 12; - -const int NSWindowsCP1253StringEncoding2 = 13; - -const int NSWindowsCP1254StringEncoding2 = 14; - -const int NSWindowsCP1250StringEncoding2 = 15; - -const int NSISO2022JPStringEncoding2 = 21; - -const int NSMacOSRomanStringEncoding2 = 30; - -const int NSUTF16StringEncoding2 = 10; - -const int NSUTF16BigEndianStringEncoding2 = 2415919360; - -const int NSUTF16LittleEndianStringEncoding2 = 2483028224; - -const int NSUTF32StringEncoding2 = 2348810496; - -const int NSUTF32BigEndianStringEncoding2 = 2550137088; - -const int NSUTF32LittleEndianStringEncoding2 = 2617245952; - -const int NSProprietaryStringEncoding2 = 65536; - -const int NSOpenStepUnicodeReservedBase1 = 62464; - -const int errSecSuccess1 = 0; - -const int errSecUnimplemented1 = -4; - -const int errSecDiskFull1 = -34; - -const int errSecDskFull1 = -34; - -const int errSecIO1 = -36; - -const int errSecOpWr1 = -49; - -const int errSecParam1 = -50; - -const int errSecWrPerm1 = -61; - -const int errSecAllocate1 = -108; - -const int errSecUserCanceled1 = -128; - -const int errSecBadReq1 = -909; - -const int errSecInternalComponent1 = -2070; - -const int errSecCoreFoundationUnknown1 = -4960; - -const int errSecMissingEntitlement1 = -34018; - -const int errSecRestrictedAPI1 = -34020; - -const int errSecNotAvailable1 = -25291; - -const int errSecReadOnly1 = -25292; - -const int errSecAuthFailed1 = -25293; - -const int errSecNoSuchKeychain1 = -25294; - -const int errSecInvalidKeychain1 = -25295; - -const int errSecDuplicateKeychain1 = -25296; - -const int errSecDuplicateCallback1 = -25297; - -const int errSecInvalidCallback1 = -25298; - -const int errSecDuplicateItem1 = -25299; - -const int errSecItemNotFound1 = -25300; - -const int errSecBufferTooSmall1 = -25301; - -const int errSecDataTooLarge1 = -25302; - -const int errSecNoSuchAttr1 = -25303; - -const int errSecInvalidItemRef1 = -25304; - -const int errSecInvalidSearchRef1 = -25305; - -const int errSecNoSuchClass1 = -25306; - -const int errSecNoDefaultKeychain1 = -25307; - -const int errSecInteractionNotAllowed1 = -25308; - -const int errSecReadOnlyAttr1 = -25309; - -const int errSecWrongSecVersion1 = -25310; - -const int errSecKeySizeNotAllowed1 = -25311; - -const int errSecNoStorageModule1 = -25312; - -const int errSecNoCertificateModule1 = -25313; - -const int errSecNoPolicyModule1 = -25314; - -const int errSecInteractionRequired1 = -25315; - -const int errSecDataNotAvailable1 = -25316; - -const int errSecDataNotModifiable1 = -25317; - -const int errSecCreateChainFailed1 = -25318; - -const int errSecInvalidPrefsDomain1 = -25319; - -const int errSecInDarkWake1 = -25320; - -const int errSecACLNotSimple1 = -25240; - -const int errSecPolicyNotFound1 = -25241; - -const int errSecInvalidTrustSetting1 = -25242; - -const int errSecNoAccessForItem1 = -25243; - -const int errSecInvalidOwnerEdit1 = -25244; - -const int errSecTrustNotAvailable1 = -25245; - -const int errSecUnsupportedFormat1 = -25256; - -const int errSecUnknownFormat1 = -25257; - -const int errSecKeyIsSensitive1 = -25258; - -const int errSecMultiplePrivKeys1 = -25259; - -const int errSecPassphraseRequired1 = -25260; - -const int errSecInvalidPasswordRef1 = -25261; - -const int errSecInvalidTrustSettings1 = -25262; - -const int errSecNoTrustSettings1 = -25263; - -const int errSecPkcs12VerifyFailure1 = -25264; - -const int errSecNotSigner1 = -26267; - -const int errSecDecode1 = -26275; - -const int errSecServiceNotAvailable1 = -67585; - -const int errSecInsufficientClientID1 = -67586; - -const int errSecDeviceReset1 = -67587; - -const int errSecDeviceFailed1 = -67588; - -const int errSecAppleAddAppACLSubject1 = -67589; - -const int errSecApplePublicKeyIncomplete1 = -67590; - -const int errSecAppleSignatureMismatch1 = -67591; - -const int errSecAppleInvalidKeyStartDate1 = -67592; - -const int errSecAppleInvalidKeyEndDate1 = -67593; - -const int errSecConversionError1 = -67594; - -const int errSecAppleSSLv2Rollback1 = -67595; - -const int errSecQuotaExceeded1 = -67596; - -const int errSecFileTooBig1 = -67597; - -const int errSecInvalidDatabaseBlob1 = -67598; - -const int errSecInvalidKeyBlob1 = -67599; - -const int errSecIncompatibleDatabaseBlob1 = -67600; - -const int errSecIncompatibleKeyBlob1 = -67601; - -const int errSecHostNameMismatch1 = -67602; - -const int errSecUnknownCriticalExtensionFlag1 = -67603; - -const int errSecNoBasicConstraints1 = -67604; - -const int errSecNoBasicConstraintsCA1 = -67605; - -const int errSecInvalidAuthorityKeyID1 = -67606; - -const int errSecInvalidSubjectKeyID1 = -67607; - -const int errSecInvalidKeyUsageForPolicy1 = -67608; - -const int errSecInvalidExtendedKeyUsage1 = -67609; - -const int errSecInvalidIDLinkage1 = -67610; - -const int errSecPathLengthConstraintExceeded1 = -67611; - -const int errSecInvalidRoot1 = -67612; - -const int errSecCRLExpired1 = -67613; - -const int errSecCRLNotValidYet1 = -67614; - -const int errSecCRLNotFound1 = -67615; - -const int errSecCRLServerDown1 = -67616; - -const int errSecCRLBadURI1 = -67617; - -const int errSecUnknownCertExtension1 = -67618; - -const int errSecUnknownCRLExtension1 = -67619; - -const int errSecCRLNotTrusted1 = -67620; - -const int errSecCRLPolicyFailed1 = -67621; - -const int errSecIDPFailure1 = -67622; - -const int errSecSMIMEEmailAddressesNotFound1 = -67623; - -const int errSecSMIMEBadExtendedKeyUsage1 = -67624; - -const int errSecSMIMEBadKeyUsage1 = -67625; - -const int errSecSMIMEKeyUsageNotCritical1 = -67626; - -const int errSecSMIMENoEmailAddress1 = -67627; - -const int errSecSMIMESubjAltNameNotCritical1 = -67628; - -const int errSecSSLBadExtendedKeyUsage1 = -67629; - -const int errSecOCSPBadResponse1 = -67630; - -const int errSecOCSPBadRequest1 = -67631; - -const int errSecOCSPUnavailable1 = -67632; - -const int errSecOCSPStatusUnrecognized1 = -67633; - -const int errSecEndOfData1 = -67634; - -const int errSecIncompleteCertRevocationCheck1 = -67635; - -const int errSecNetworkFailure1 = -67636; - -const int errSecOCSPNotTrustedToAnchor1 = -67637; - -const int errSecRecordModified1 = -67638; - -const int errSecOCSPSignatureError1 = -67639; - -const int errSecOCSPNoSigner1 = -67640; - -const int errSecOCSPResponderMalformedReq1 = -67641; - -const int errSecOCSPResponderInternalError1 = -67642; - -const int errSecOCSPResponderTryLater1 = -67643; - -const int errSecOCSPResponderSignatureRequired1 = -67644; - -const int errSecOCSPResponderUnauthorized1 = -67645; - -const int errSecOCSPResponseNonceMismatch1 = -67646; - -const int errSecCodeSigningBadCertChainLength1 = -67647; - -const int errSecCodeSigningNoBasicConstraints1 = -67648; - -const int errSecCodeSigningBadPathLengthConstraint1 = -67649; - -const int errSecCodeSigningNoExtendedKeyUsage1 = -67650; - -const int errSecCodeSigningDevelopment1 = -67651; - -const int errSecResourceSignBadCertChainLength1 = -67652; - -const int errSecResourceSignBadExtKeyUsage1 = -67653; - -const int errSecTrustSettingDeny1 = -67654; - -const int errSecInvalidSubjectName1 = -67655; - -const int errSecUnknownQualifiedCertStatement1 = -67656; - -const int errSecMobileMeRequestQueued1 = -67657; - -const int errSecMobileMeRequestRedirected1 = -67658; - -const int errSecMobileMeServerError1 = -67659; - -const int errSecMobileMeServerNotAvailable1 = -67660; - -const int errSecMobileMeServerAlreadyExists1 = -67661; - -const int errSecMobileMeServerServiceErr1 = -67662; - -const int errSecMobileMeRequestAlreadyPending1 = -67663; - -const int errSecMobileMeNoRequestPending1 = -67664; - -const int errSecMobileMeCSRVerifyFailure1 = -67665; - -const int errSecMobileMeFailedConsistencyCheck1 = -67666; - -const int errSecNotInitialized1 = -67667; - -const int errSecInvalidHandleUsage1 = -67668; - -const int errSecPVCReferentNotFound1 = -67669; - -const int errSecFunctionIntegrityFail1 = -67670; - -const int errSecInternalError1 = -67671; - -const int errSecMemoryError1 = -67672; - -const int errSecInvalidData1 = -67673; - -const int errSecMDSError1 = -67674; - -const int errSecInvalidPointer1 = -67675; - -const int errSecSelfCheckFailed1 = -67676; - -const int errSecFunctionFailed1 = -67677; - -const int errSecModuleManifestVerifyFailed1 = -67678; - -const int errSecInvalidGUID1 = -67679; - -const int errSecInvalidHandle1 = -67680; - -const int errSecInvalidDBList1 = -67681; - -const int errSecInvalidPassthroughID1 = -67682; - -const int errSecInvalidNetworkAddress1 = -67683; - -const int errSecCRLAlreadySigned1 = -67684; - -const int errSecInvalidNumberOfFields1 = -67685; - -const int errSecVerificationFailure1 = -67686; - -const int errSecUnknownTag1 = -67687; - -const int errSecInvalidSignature1 = -67688; - -const int errSecInvalidName1 = -67689; - -const int errSecInvalidCertificateRef1 = -67690; - -const int errSecInvalidCertificateGroup1 = -67691; - -const int errSecTagNotFound1 = -67692; - -const int errSecInvalidQuery1 = -67693; - -const int errSecInvalidValue1 = -67694; - -const int errSecCallbackFailed1 = -67695; - -const int errSecACLDeleteFailed1 = -67696; - -const int errSecACLReplaceFailed1 = -67697; - -const int errSecACLAddFailed1 = -67698; - -const int errSecACLChangeFailed1 = -67699; - -const int errSecInvalidAccessCredentials1 = -67700; - -const int errSecInvalidRecord1 = -67701; - -const int errSecInvalidACL1 = -67702; - -const int errSecInvalidSampleValue1 = -67703; - -const int errSecIncompatibleVersion1 = -67704; - -const int errSecPrivilegeNotGranted1 = -67705; - -const int errSecInvalidScope1 = -67706; - -const int errSecPVCAlreadyConfigured1 = -67707; - -const int errSecInvalidPVC1 = -67708; - -const int errSecEMMLoadFailed1 = -67709; - -const int errSecEMMUnloadFailed1 = -67710; - -const int errSecAddinLoadFailed1 = -67711; - -const int errSecInvalidKeyRef1 = -67712; - -const int errSecInvalidKeyHierarchy1 = -67713; - -const int errSecAddinUnloadFailed1 = -67714; - -const int errSecLibraryReferenceNotFound1 = -67715; - -const int errSecInvalidAddinFunctionTable1 = -67716; - -const int errSecInvalidServiceMask1 = -67717; - -const int errSecModuleNotLoaded1 = -67718; - -const int errSecInvalidSubServiceID1 = -67719; - -const int errSecAttributeNotInContext1 = -67720; - -const int errSecModuleManagerInitializeFailed1 = -67721; - -const int errSecModuleManagerNotFound1 = -67722; - -const int errSecEventNotificationCallbackNotFound1 = -67723; - -const int errSecInputLengthError1 = -67724; - -const int errSecOutputLengthError1 = -67725; - -const int errSecPrivilegeNotSupported1 = -67726; - -const int errSecDeviceError1 = -67727; - -const int errSecAttachHandleBusy1 = -67728; - -const int errSecNotLoggedIn1 = -67729; - -const int errSecAlgorithmMismatch1 = -67730; - -const int errSecKeyUsageIncorrect1 = -67731; - -const int errSecKeyBlobTypeIncorrect1 = -67732; - -const int errSecKeyHeaderInconsistent1 = -67733; - -const int errSecUnsupportedKeyFormat1 = -67734; - -const int errSecUnsupportedKeySize1 = -67735; - -const int errSecInvalidKeyUsageMask1 = -67736; - -const int errSecUnsupportedKeyUsageMask1 = -67737; - -const int errSecInvalidKeyAttributeMask1 = -67738; - -const int errSecUnsupportedKeyAttributeMask1 = -67739; - -const int errSecInvalidKeyLabel1 = -67740; - -const int errSecUnsupportedKeyLabel1 = -67741; - -const int errSecInvalidKeyFormat1 = -67742; - -const int errSecUnsupportedVectorOfBuffers1 = -67743; - -const int errSecInvalidInputVector1 = -67744; - -const int errSecInvalidOutputVector1 = -67745; - -const int errSecInvalidContext1 = -67746; - -const int errSecInvalidAlgorithm1 = -67747; - -const int errSecInvalidAttributeKey1 = -67748; - -const int errSecMissingAttributeKey1 = -67749; - -const int errSecInvalidAttributeInitVector1 = -67750; - -const int errSecMissingAttributeInitVector1 = -67751; - -const int errSecInvalidAttributeSalt1 = -67752; - -const int errSecMissingAttributeSalt1 = -67753; - -const int errSecInvalidAttributePadding1 = -67754; - -const int errSecMissingAttributePadding1 = -67755; - -const int errSecInvalidAttributeRandom1 = -67756; - -const int errSecMissingAttributeRandom1 = -67757; - -const int errSecInvalidAttributeSeed1 = -67758; - -const int errSecMissingAttributeSeed1 = -67759; - -const int errSecInvalidAttributePassphrase1 = -67760; - -const int errSecMissingAttributePassphrase1 = -67761; - -const int errSecInvalidAttributeKeyLength1 = -67762; - -const int errSecMissingAttributeKeyLength1 = -67763; - -const int errSecInvalidAttributeBlockSize1 = -67764; - -const int errSecMissingAttributeBlockSize1 = -67765; - -const int errSecInvalidAttributeOutputSize1 = -67766; - -const int errSecMissingAttributeOutputSize1 = -67767; - -const int errSecInvalidAttributeRounds1 = -67768; - -const int errSecMissingAttributeRounds1 = -67769; - -const int errSecInvalidAlgorithmParms1 = -67770; - -const int errSecMissingAlgorithmParms1 = -67771; - -const int errSecInvalidAttributeLabel1 = -67772; - -const int errSecMissingAttributeLabel1 = -67773; - -const int errSecInvalidAttributeKeyType1 = -67774; - -const int errSecMissingAttributeKeyType1 = -67775; - -const int errSecInvalidAttributeMode1 = -67776; - -const int errSecMissingAttributeMode1 = -67777; - -const int errSecInvalidAttributeEffectiveBits1 = -67778; - -const int errSecMissingAttributeEffectiveBits1 = -67779; - -const int errSecInvalidAttributeStartDate1 = -67780; - -const int errSecMissingAttributeStartDate1 = -67781; - -const int errSecInvalidAttributeEndDate1 = -67782; - -const int errSecMissingAttributeEndDate1 = -67783; - -const int errSecInvalidAttributeVersion1 = -67784; - -const int errSecMissingAttributeVersion1 = -67785; - -const int errSecInvalidAttributePrime1 = -67786; - -const int errSecMissingAttributePrime1 = -67787; - -const int errSecInvalidAttributeBase1 = -67788; - -const int errSecMissingAttributeBase1 = -67789; - -const int errSecInvalidAttributeSubprime1 = -67790; - -const int errSecMissingAttributeSubprime1 = -67791; - -const int errSecInvalidAttributeIterationCount1 = -67792; - -const int errSecMissingAttributeIterationCount1 = -67793; - -const int errSecInvalidAttributeDLDBHandle1 = -67794; - -const int errSecMissingAttributeDLDBHandle1 = -67795; - -const int errSecInvalidAttributeAccessCredentials1 = -67796; - -const int errSecMissingAttributeAccessCredentials1 = -67797; - -const int errSecInvalidAttributePublicKeyFormat1 = -67798; - -const int errSecMissingAttributePublicKeyFormat1 = -67799; - -const int errSecInvalidAttributePrivateKeyFormat1 = -67800; - -const int errSecMissingAttributePrivateKeyFormat1 = -67801; - -const int errSecInvalidAttributeSymmetricKeyFormat1 = -67802; - -const int errSecMissingAttributeSymmetricKeyFormat1 = -67803; - -const int errSecInvalidAttributeWrappedKeyFormat1 = -67804; - -const int errSecMissingAttributeWrappedKeyFormat1 = -67805; - -const int errSecStagedOperationInProgress1 = -67806; - -const int errSecStagedOperationNotStarted1 = -67807; - -const int errSecVerifyFailed1 = -67808; - -const int errSecQuerySizeUnknown1 = -67809; - -const int errSecBlockSizeMismatch1 = -67810; - -const int errSecPublicKeyInconsistent1 = -67811; - -const int errSecDeviceVerifyFailed1 = -67812; - -const int errSecInvalidLoginName1 = -67813; - -const int errSecAlreadyLoggedIn1 = -67814; - -const int errSecInvalidDigestAlgorithm1 = -67815; - -const int errSecInvalidCRLGroup1 = -67816; - -const int errSecCertificateCannotOperate1 = -67817; - -const int errSecCertificateExpired1 = -67818; - -const int errSecCertificateNotValidYet1 = -67819; - -const int errSecCertificateRevoked1 = -67820; - -const int errSecCertificateSuspended1 = -67821; - -const int errSecInsufficientCredentials1 = -67822; - -const int errSecInvalidAction1 = -67823; - -const int errSecInvalidAuthority1 = -67824; - -const int errSecVerifyActionFailed1 = -67825; - -const int errSecInvalidCertAuthority1 = -67826; - -const int errSecInvalidCRLAuthority1 = -67827; - -const int errSecInvaldCRLAuthority1 = -67827; - -const int errSecInvalidCRLEncoding1 = -67828; - -const int errSecInvalidCRLType1 = -67829; - -const int errSecInvalidCRL1 = -67830; - -const int errSecInvalidFormType1 = -67831; - -const int errSecInvalidID1 = -67832; - -const int errSecInvalidIdentifier1 = -67833; - -const int errSecInvalidIndex1 = -67834; - -const int errSecInvalidPolicyIdentifiers1 = -67835; - -const int errSecInvalidTimeString1 = -67836; - -const int errSecInvalidReason1 = -67837; - -const int errSecInvalidRequestInputs1 = -67838; - -const int errSecInvalidResponseVector1 = -67839; - -const int errSecInvalidStopOnPolicy1 = -67840; - -const int errSecInvalidTuple1 = -67841; - -const int errSecMultipleValuesUnsupported1 = -67842; - -const int errSecNotTrusted1 = -67843; - -const int errSecNoDefaultAuthority1 = -67844; - -const int errSecRejectedForm1 = -67845; - -const int errSecRequestLost1 = -67846; - -const int errSecRequestRejected1 = -67847; - -const int errSecUnsupportedAddressType1 = -67848; - -const int errSecUnsupportedService1 = -67849; - -const int errSecInvalidTupleGroup1 = -67850; - -const int errSecInvalidBaseACLs1 = -67851; - -const int errSecInvalidTupleCredentials1 = -67852; - -const int errSecInvalidTupleCredendtials1 = -67852; - -const int errSecInvalidEncoding1 = -67853; - -const int errSecInvalidValidityPeriod1 = -67854; - -const int errSecInvalidRequestor1 = -67855; - -const int errSecRequestDescriptor1 = -67856; - -const int errSecInvalidBundleInfo1 = -67857; - -const int errSecInvalidCRLIndex1 = -67858; - -const int errSecNoFieldValues1 = -67859; - -const int errSecUnsupportedFieldFormat1 = -67860; - -const int errSecUnsupportedIndexInfo1 = -67861; - -const int errSecUnsupportedLocality1 = -67862; - -const int errSecUnsupportedNumAttributes1 = -67863; - -const int errSecUnsupportedNumIndexes1 = -67864; - -const int errSecUnsupportedNumRecordTypes1 = -67865; - -const int errSecFieldSpecifiedMultiple1 = -67866; - -const int errSecIncompatibleFieldFormat1 = -67867; - -const int errSecInvalidParsingModule1 = -67868; - -const int errSecDatabaseLocked1 = -67869; - -const int errSecDatastoreIsOpen1 = -67870; - -const int errSecMissingValue1 = -67871; - -const int errSecUnsupportedQueryLimits1 = -67872; - -const int errSecUnsupportedNumSelectionPreds1 = -67873; - -const int errSecUnsupportedOperator1 = -67874; - -const int errSecInvalidDBLocation1 = -67875; - -const int errSecInvalidAccessRequest1 = -67876; - -const int errSecInvalidIndexInfo1 = -67877; - -const int errSecInvalidNewOwner1 = -67878; - -const int errSecInvalidModifyMode1 = -67879; - -const int errSecMissingRequiredExtension1 = -67880; - -const int errSecExtendedKeyUsageNotCritical1 = -67881; - -const int errSecTimestampMissing1 = -67882; - -const int errSecTimestampInvalid1 = -67883; - -const int errSecTimestampNotTrusted1 = -67884; - -const int errSecTimestampServiceNotAvailable1 = -67885; - -const int errSecTimestampBadAlg1 = -67886; - -const int errSecTimestampBadRequest1 = -67887; - -const int errSecTimestampBadDataFormat1 = -67888; - -const int errSecTimestampTimeNotAvailable1 = -67889; - -const int errSecTimestampUnacceptedPolicy1 = -67890; - -const int errSecTimestampUnacceptedExtension1 = -67891; - -const int errSecTimestampAddInfoNotAvailable1 = -67892; - -const int errSecTimestampSystemFailure1 = -67893; - -const int errSecSigningTimeMissing1 = -67894; - -const int errSecTimestampRejection1 = -67895; - -const int errSecTimestampWaiting1 = -67896; - -const int errSecTimestampRevocationWarning1 = -67897; - -const int errSecTimestampRevocationNotification1 = -67898; - -const int errSecCertificatePolicyNotAllowed1 = -67899; - -const int errSecCertificateNameNotAllowed1 = -67900; - -const int errSecCertificateValidityPeriodTooLong1 = -67901; - -const int errSecCertificateIsCA1 = -67902; - -const int errSecCertificateDuplicateExtension1 = -67903; - -const int errSSLProtocol1 = -9800; - -const int errSSLNegotiation1 = -9801; - -const int errSSLFatalAlert1 = -9802; - -const int errSSLWouldBlock1 = -9803; - -const int errSSLSessionNotFound1 = -9804; - -const int errSSLClosedGraceful1 = -9805; - -const int errSSLClosedAbort1 = -9806; - -const int errSSLXCertChainInvalid1 = -9807; - -const int errSSLBadCert1 = -9808; - -const int errSSLCrypto1 = -9809; - -const int errSSLInternal1 = -9810; - -const int errSSLModuleAttach1 = -9811; - -const int errSSLUnknownRootCert1 = -9812; - -const int errSSLNoRootCert1 = -9813; - -const int errSSLCertExpired1 = -9814; - -const int errSSLCertNotYetValid1 = -9815; - -const int errSSLClosedNoNotify1 = -9816; - -const int errSSLBufferOverflow1 = -9817; - -const int errSSLBadCipherSuite1 = -9818; - -const int errSSLPeerUnexpectedMsg1 = -9819; - -const int errSSLPeerBadRecordMac1 = -9820; - -const int errSSLPeerDecryptionFail1 = -9821; - -const int errSSLPeerRecordOverflow1 = -9822; - -const int errSSLPeerDecompressFail1 = -9823; - -const int errSSLPeerHandshakeFail1 = -9824; - -const int errSSLPeerBadCert1 = -9825; - -const int errSSLPeerUnsupportedCert1 = -9826; - -const int errSSLPeerCertRevoked1 = -9827; - -const int errSSLPeerCertExpired1 = -9828; - -const int errSSLPeerCertUnknown1 = -9829; - -const int errSSLIllegalParam1 = -9830; - -const int errSSLPeerUnknownCA1 = -9831; - -const int errSSLPeerAccessDenied1 = -9832; - -const int errSSLPeerDecodeError1 = -9833; - -const int errSSLPeerDecryptError1 = -9834; - -const int errSSLPeerExportRestriction1 = -9835; - -const int errSSLPeerProtocolVersion1 = -9836; - -const int errSSLPeerInsufficientSecurity1 = -9837; - -const int errSSLPeerInternalError1 = -9838; - -const int errSSLPeerUserCancelled1 = -9839; - -const int errSSLPeerNoRenegotiation1 = -9840; - -const int errSSLPeerAuthCompleted1 = -9841; - -const int errSSLClientCertRequested1 = -9842; - -const int errSSLHostNameMismatch1 = -9843; - -const int errSSLConnectionRefused1 = -9844; - -const int errSSLDecryptionFail1 = -9845; - -const int errSSLBadRecordMac1 = -9846; - -const int errSSLRecordOverflow1 = -9847; - -const int errSSLBadConfiguration1 = -9848; - -const int errSSLUnexpectedRecord1 = -9849; - -const int errSSLWeakPeerEphemeralDHKey1 = -9850; - -const int errSSLClientHelloReceived1 = -9851; - -const int errSSLTransportReset1 = -9852; - -const int errSSLNetworkTimeout1 = -9853; - -const int errSSLConfigurationFailed1 = -9854; - -const int errSSLUnsupportedExtension1 = -9855; - -const int errSSLUnexpectedMessage1 = -9856; - -const int errSSLDecompressFail1 = -9857; - -const int errSSLHandshakeFail1 = -9858; - -const int errSSLDecodeError1 = -9859; - -const int errSSLInappropriateFallback1 = -9860; - -const int errSSLMissingExtension1 = -9861; - -const int errSSLBadCertificateStatusResponse1 = -9862; - -const int errSSLCertificateRequired1 = -9863; - -const int errSSLUnknownPSKIdentity1 = -9864; - -const int errSSLUnrecognizedName1 = -9865; - -const int errSSLATSViolation1 = -9880; - -const int errSSLATSMinimumVersionViolation1 = -9881; - -const int errSSLATSCiphersuiteViolation1 = -9882; - -const int errSSLATSMinimumKeySizeViolation1 = -9883; - -const int errSSLATSLeafCertificateHashAlgorithmViolation1 = -9884; - -const int errSSLATSCertificateHashAlgorithmViolation1 = -9885; - -const int errSSLATSCertificateTrustViolation1 = -9886; - -const int errSSLEarlyDataRejected1 = -9890; - -const int OSUnknownByteOrder1 = 0; - -const int OSLittleEndian1 = 1; - -const int OSBigEndian1 = 2; - -const int kCFNotificationDeliverImmediately1 = 1; - -const int kCFNotificationPostToAllSessions1 = 2; - -const int kCFCalendarComponentsWrap1 = 1; - -const int kCFSocketAutomaticallyReenableReadCallBack1 = 1; - -const int kCFSocketAutomaticallyReenableAcceptCallBack1 = 2; - -const int kCFSocketAutomaticallyReenableDataCallBack1 = 3; - -const int kCFSocketAutomaticallyReenableWriteCallBack1 = 8; - -const int kCFSocketLeaveErrors1 = 64; - -const int kCFSocketCloseOnInvalidate1 = 128; - -const int DISPATCH_WALLTIME_NOW2 = -2; - -const int kCFPropertyListReadCorruptError1 = 3840; - -const int kCFPropertyListReadUnknownVersionError1 = 3841; - -const int kCFPropertyListReadStreamError1 = 3842; - -const int kCFPropertyListWriteStreamError1 = 3851; - -const int kCFBundleExecutableArchitectureI3861 = 7; - -const int kCFBundleExecutableArchitecturePPC1 = 18; - -const int kCFBundleExecutableArchitectureX86_641 = 16777223; - -const int kCFBundleExecutableArchitecturePPC641 = 16777234; - -const int kCFBundleExecutableArchitectureARM641 = 16777228; - -const int kCFMessagePortSuccess1 = 0; - -const int kCFMessagePortSendTimeout1 = -1; - -const int kCFMessagePortReceiveTimeout1 = -2; - -const int kCFMessagePortIsInvalid1 = -3; - -const int kCFMessagePortTransportError1 = -4; - -const int kCFMessagePortBecameInvalidError1 = -5; - -const int kCFStringTokenizerUnitWord1 = 0; - -const int kCFStringTokenizerUnitSentence1 = 1; - -const int kCFStringTokenizerUnitParagraph1 = 2; - -const int kCFStringTokenizerUnitLineBreak1 = 3; - -const int kCFStringTokenizerUnitWordBoundary1 = 4; - -const int kCFStringTokenizerAttributeLatinTranscription1 = 65536; - -const int kCFStringTokenizerAttributeLanguage1 = 131072; - -const int kCFFileDescriptorReadCallBack1 = 1; - -const int kCFFileDescriptorWriteCallBack1 = 2; - -const int kCFUserNotificationStopAlertLevel1 = 0; - -const int kCFUserNotificationNoteAlertLevel1 = 1; - -const int kCFUserNotificationCautionAlertLevel1 = 2; - -const int kCFUserNotificationPlainAlertLevel1 = 3; - -const int kCFUserNotificationDefaultResponse1 = 0; - -const int kCFUserNotificationAlternateResponse1 = 1; - -const int kCFUserNotificationOtherResponse1 = 2; - -const int kCFUserNotificationCancelResponse1 = 3; - -const int kCFUserNotificationNoDefaultButtonFlag1 = 32; - -const int kCFUserNotificationUseRadioButtonsFlag1 = 64; - -const int kCFXMLNodeCurrentVersion1 = 1; - -const int CSSM_INVALID_HANDLE1 = 0; - -const int CSSM_FALSE1 = 0; - -const int CSSM_TRUE1 = 1; - -const int CSSM_OK1 = 0; - -const int CSSM_MODULE_STRING_SIZE1 = 64; - -const int CSSM_KEY_HIERARCHY_NONE1 = 0; - -const int CSSM_KEY_HIERARCHY_INTEG1 = 1; - -const int CSSM_KEY_HIERARCHY_EXPORT1 = 2; - -const int CSSM_PVC_NONE1 = 0; - -const int CSSM_PVC_APP1 = 1; - -const int CSSM_PVC_SP1 = 2; - -const int CSSM_PRIVILEGE_SCOPE_NONE1 = 0; - -const int CSSM_PRIVILEGE_SCOPE_PROCESS1 = 1; - -const int CSSM_PRIVILEGE_SCOPE_THREAD1 = 2; - -const int CSSM_SERVICE_CSSM1 = 1; - -const int CSSM_SERVICE_CSP1 = 2; - -const int CSSM_SERVICE_DL1 = 4; - -const int CSSM_SERVICE_CL1 = 8; - -const int CSSM_SERVICE_TP1 = 16; - -const int CSSM_SERVICE_AC1 = 32; - -const int CSSM_SERVICE_KR1 = 64; - -const int CSSM_NOTIFY_INSERT1 = 1; - -const int CSSM_NOTIFY_REMOVE1 = 2; - -const int CSSM_NOTIFY_FAULT1 = 3; - -const int CSSM_ATTACH_READ_ONLY1 = 1; - -const int CSSM_USEE_LAST1 = 255; - -const int CSSM_USEE_NONE1 = 0; - -const int CSSM_USEE_DOMESTIC1 = 1; - -const int CSSM_USEE_FINANCIAL1 = 2; - -const int CSSM_USEE_KRLE1 = 3; - -const int CSSM_USEE_KRENT1 = 4; - -const int CSSM_USEE_SSL1 = 5; - -const int CSSM_USEE_AUTHENTICATION1 = 6; - -const int CSSM_USEE_KEYEXCH1 = 7; - -const int CSSM_USEE_MEDICAL1 = 8; - -const int CSSM_USEE_INSURANCE1 = 9; - -const int CSSM_USEE_WEAK1 = 10; - -const int CSSM_ADDR_NONE1 = 0; - -const int CSSM_ADDR_CUSTOM1 = 1; - -const int CSSM_ADDR_URL1 = 2; - -const int CSSM_ADDR_SOCKADDR1 = 3; - -const int CSSM_ADDR_NAME1 = 4; - -const int CSSM_NET_PROTO_NONE1 = 0; - -const int CSSM_NET_PROTO_CUSTOM1 = 1; - -const int CSSM_NET_PROTO_UNSPECIFIED1 = 2; - -const int CSSM_NET_PROTO_LDAP1 = 3; - -const int CSSM_NET_PROTO_LDAPS1 = 4; - -const int CSSM_NET_PROTO_LDAPNS1 = 5; - -const int CSSM_NET_PROTO_X500DAP1 = 6; - -const int CSSM_NET_PROTO_FTP1 = 7; - -const int CSSM_NET_PROTO_FTPS1 = 8; - -const int CSSM_NET_PROTO_OCSP1 = 9; - -const int CSSM_NET_PROTO_CMP1 = 10; - -const int CSSM_NET_PROTO_CMPS1 = 11; - -const int CSSM_WORDID__UNK_1 = -1; - -const int CSSM_WORDID__NLU_1 = 0; - -const int CSSM_WORDID__STAR_1 = 1; - -const int CSSM_WORDID_A1 = 2; - -const int CSSM_WORDID_ACL1 = 3; - -const int CSSM_WORDID_ALPHA1 = 4; - -const int CSSM_WORDID_B1 = 5; - -const int CSSM_WORDID_BER1 = 6; - -const int CSSM_WORDID_BINARY1 = 7; - -const int CSSM_WORDID_BIOMETRIC1 = 8; - -const int CSSM_WORDID_C1 = 9; - -const int CSSM_WORDID_CANCELED1 = 10; - -const int CSSM_WORDID_CERT1 = 11; - -const int CSSM_WORDID_COMMENT1 = 12; - -const int CSSM_WORDID_CRL1 = 13; - -const int CSSM_WORDID_CUSTOM1 = 14; - -const int CSSM_WORDID_D1 = 15; - -const int CSSM_WORDID_DATE1 = 16; - -const int CSSM_WORDID_DB_DELETE1 = 17; - -const int CSSM_WORDID_DB_EXEC_STORED_QUERY1 = 18; - -const int CSSM_WORDID_DB_INSERT1 = 19; - -const int CSSM_WORDID_DB_MODIFY1 = 20; - -const int CSSM_WORDID_DB_READ1 = 21; - -const int CSSM_WORDID_DBS_CREATE1 = 22; - -const int CSSM_WORDID_DBS_DELETE1 = 23; - -const int CSSM_WORDID_DECRYPT1 = 24; - -const int CSSM_WORDID_DELETE1 = 25; - -const int CSSM_WORDID_DELTA_CRL1 = 26; - -const int CSSM_WORDID_DER1 = 27; - -const int CSSM_WORDID_DERIVE1 = 28; - -const int CSSM_WORDID_DISPLAY1 = 29; - -const int CSSM_WORDID_DO1 = 30; - -const int CSSM_WORDID_DSA1 = 31; - -const int CSSM_WORDID_DSA_SHA11 = 32; - -const int CSSM_WORDID_E1 = 33; - -const int CSSM_WORDID_ELGAMAL1 = 34; - -const int CSSM_WORDID_ENCRYPT1 = 35; - -const int CSSM_WORDID_ENTRY1 = 36; - -const int CSSM_WORDID_EXPORT_CLEAR1 = 37; - -const int CSSM_WORDID_EXPORT_WRAPPED1 = 38; - -const int CSSM_WORDID_G1 = 39; - -const int CSSM_WORDID_GE1 = 40; - -const int CSSM_WORDID_GENKEY1 = 41; - -const int CSSM_WORDID_HASH1 = 42; - -const int CSSM_WORDID_HASHED_PASSWORD1 = 43; - -const int CSSM_WORDID_HASHED_SUBJECT1 = 44; - -const int CSSM_WORDID_HAVAL1 = 45; - -const int CSSM_WORDID_IBCHASH1 = 46; - -const int CSSM_WORDID_IMPORT_CLEAR1 = 47; - -const int CSSM_WORDID_IMPORT_WRAPPED1 = 48; - -const int CSSM_WORDID_INTEL1 = 49; - -const int CSSM_WORDID_ISSUER1 = 50; - -const int CSSM_WORDID_ISSUER_INFO1 = 51; - -const int CSSM_WORDID_K_OF_N1 = 52; - -const int CSSM_WORDID_KEA1 = 53; - -const int CSSM_WORDID_KEYHOLDER1 = 54; - -const int CSSM_WORDID_L1 = 55; - -const int CSSM_WORDID_LE1 = 56; - -const int CSSM_WORDID_LOGIN1 = 57; - -const int CSSM_WORDID_LOGIN_NAME1 = 58; - -const int CSSM_WORDID_MAC1 = 59; - -const int CSSM_WORDID_MD21 = 60; - -const int CSSM_WORDID_MD2WITHRSA1 = 61; - -const int CSSM_WORDID_MD41 = 62; - -const int CSSM_WORDID_MD51 = 63; - -const int CSSM_WORDID_MD5WITHRSA1 = 64; - -const int CSSM_WORDID_N1 = 65; - -const int CSSM_WORDID_NAME1 = 66; - -const int CSSM_WORDID_NDR1 = 67; - -const int CSSM_WORDID_NHASH1 = 68; - -const int CSSM_WORDID_NOT_AFTER1 = 69; - -const int CSSM_WORDID_NOT_BEFORE1 = 70; - -const int CSSM_WORDID_NULL1 = 71; - -const int CSSM_WORDID_NUMERIC1 = 72; - -const int CSSM_WORDID_OBJECT_HASH1 = 73; - -const int CSSM_WORDID_ONE_TIME1 = 74; - -const int CSSM_WORDID_ONLINE1 = 75; - -const int CSSM_WORDID_OWNER1 = 76; - -const int CSSM_WORDID_P1 = 77; - -const int CSSM_WORDID_PAM_NAME1 = 78; - -const int CSSM_WORDID_PASSWORD1 = 79; - -const int CSSM_WORDID_PGP1 = 80; - -const int CSSM_WORDID_PREFIX1 = 81; - -const int CSSM_WORDID_PRIVATE_KEY1 = 82; - -const int CSSM_WORDID_PROMPTED_BIOMETRIC1 = 83; - -const int CSSM_WORDID_PROMPTED_PASSWORD1 = 84; - -const int CSSM_WORDID_PROPAGATE1 = 85; - -const int CSSM_WORDID_PROTECTED_BIOMETRIC1 = 86; - -const int CSSM_WORDID_PROTECTED_PASSWORD1 = 87; - -const int CSSM_WORDID_PROTECTED_PIN1 = 88; - -const int CSSM_WORDID_PUBLIC_KEY1 = 89; - -const int CSSM_WORDID_PUBLIC_KEY_FROM_CERT1 = 90; - -const int CSSM_WORDID_Q1 = 91; - -const int CSSM_WORDID_RANGE1 = 92; - -const int CSSM_WORDID_REVAL1 = 93; - -const int CSSM_WORDID_RIPEMAC1 = 94; - -const int CSSM_WORDID_RIPEMD1 = 95; - -const int CSSM_WORDID_RIPEMD1601 = 96; - -const int CSSM_WORDID_RSA1 = 97; - -const int CSSM_WORDID_RSA_ISO97961 = 98; - -const int CSSM_WORDID_RSA_PKCS2 = 99; - -const int CSSM_WORDID_RSA_PKCS_MD51 = 100; - -const int CSSM_WORDID_RSA_PKCS_SHA11 = 101; - -const int CSSM_WORDID_RSA_PKCS11 = 102; - -const int CSSM_WORDID_RSA_PKCS1_MD51 = 103; - -const int CSSM_WORDID_RSA_PKCS1_SHA11 = 104; - -const int CSSM_WORDID_RSA_PKCS1_SIG1 = 105; - -const int CSSM_WORDID_RSA_RAW1 = 106; - -const int CSSM_WORDID_SDSIV11 = 107; - -const int CSSM_WORDID_SEQUENCE1 = 108; - -const int CSSM_WORDID_SET1 = 109; - -const int CSSM_WORDID_SEXPR1 = 110; - -const int CSSM_WORDID_SHA11 = 111; - -const int CSSM_WORDID_SHA1WITHDSA1 = 112; - -const int CSSM_WORDID_SHA1WITHECDSA1 = 113; - -const int CSSM_WORDID_SHA1WITHRSA1 = 114; - -const int CSSM_WORDID_SIGN1 = 115; - -const int CSSM_WORDID_SIGNATURE1 = 116; - -const int CSSM_WORDID_SIGNED_NONCE1 = 117; - -const int CSSM_WORDID_SIGNED_SECRET1 = 118; - -const int CSSM_WORDID_SPKI1 = 119; - -const int CSSM_WORDID_SUBJECT1 = 120; - -const int CSSM_WORDID_SUBJECT_INFO1 = 121; - -const int CSSM_WORDID_TAG1 = 122; - -const int CSSM_WORDID_THRESHOLD1 = 123; - -const int CSSM_WORDID_TIME1 = 124; - -const int CSSM_WORDID_URI1 = 125; - -const int CSSM_WORDID_VERSION1 = 126; - -const int CSSM_WORDID_X509_ATTRIBUTE1 = 127; - -const int CSSM_WORDID_X509V11 = 128; - -const int CSSM_WORDID_X509V21 = 129; - -const int CSSM_WORDID_X509V31 = 130; - -const int CSSM_WORDID_X9_ATTRIBUTE1 = 131; - -const int CSSM_WORDID_VENDOR_START1 = 65536; - -const int CSSM_WORDID_VENDOR_END1 = 2147418112; - -const int CSSM_LIST_ELEMENT_DATUM1 = 0; - -const int CSSM_LIST_ELEMENT_SUBLIST1 = 1; - -const int CSSM_LIST_ELEMENT_WORDID1 = 2; - -const int CSSM_LIST_TYPE_UNKNOWN1 = 0; - -const int CSSM_LIST_TYPE_CUSTOM1 = 1; - -const int CSSM_LIST_TYPE_SEXPR1 = 2; - -const int CSSM_SAMPLE_TYPE_PASSWORD1 = 79; - -const int CSSM_SAMPLE_TYPE_HASHED_PASSWORD1 = 43; - -const int CSSM_SAMPLE_TYPE_PROTECTED_PASSWORD1 = 87; - -const int CSSM_SAMPLE_TYPE_PROMPTED_PASSWORD1 = 84; - -const int CSSM_SAMPLE_TYPE_SIGNED_NONCE1 = 117; - -const int CSSM_SAMPLE_TYPE_SIGNED_SECRET1 = 118; - -const int CSSM_SAMPLE_TYPE_BIOMETRIC1 = 8; - -const int CSSM_SAMPLE_TYPE_PROTECTED_BIOMETRIC1 = 86; - -const int CSSM_SAMPLE_TYPE_PROMPTED_BIOMETRIC1 = 83; - -const int CSSM_SAMPLE_TYPE_THRESHOLD1 = 123; - -const int CSSM_CERT_UNKNOWN1 = 0; - -const int CSSM_CERT_X_509v11 = 1; - -const int CSSM_CERT_X_509v21 = 2; - -const int CSSM_CERT_X_509v31 = 3; - -const int CSSM_CERT_PGP1 = 4; - -const int CSSM_CERT_SPKI1 = 5; - -const int CSSM_CERT_SDSIv11 = 6; - -const int CSSM_CERT_Intel1 = 8; - -const int CSSM_CERT_X_509_ATTRIBUTE1 = 9; - -const int CSSM_CERT_X9_ATTRIBUTE1 = 10; - -const int CSSM_CERT_TUPLE1 = 11; - -const int CSSM_CERT_ACL_ENTRY1 = 12; - -const int CSSM_CERT_MULTIPLE1 = 32766; - -const int CSSM_CERT_LAST1 = 32767; - -const int CSSM_CL_CUSTOM_CERT_TYPE1 = 32768; - -const int CSSM_CERT_ENCODING_UNKNOWN1 = 0; - -const int CSSM_CERT_ENCODING_CUSTOM1 = 1; - -const int CSSM_CERT_ENCODING_BER1 = 2; - -const int CSSM_CERT_ENCODING_DER1 = 3; - -const int CSSM_CERT_ENCODING_NDR1 = 4; - -const int CSSM_CERT_ENCODING_SEXPR1 = 5; - -const int CSSM_CERT_ENCODING_PGP1 = 6; - -const int CSSM_CERT_ENCODING_MULTIPLE1 = 32766; - -const int CSSM_CERT_ENCODING_LAST1 = 32767; - -const int CSSM_CL_CUSTOM_CERT_ENCODING1 = 32768; - -const int CSSM_CERT_PARSE_FORMAT_NONE1 = 0; - -const int CSSM_CERT_PARSE_FORMAT_CUSTOM1 = 1; - -const int CSSM_CERT_PARSE_FORMAT_SEXPR1 = 2; - -const int CSSM_CERT_PARSE_FORMAT_COMPLEX1 = 3; - -const int CSSM_CERT_PARSE_FORMAT_OID_NAMED1 = 4; - -const int CSSM_CERT_PARSE_FORMAT_TUPLE1 = 5; - -const int CSSM_CERT_PARSE_FORMAT_MULTIPLE1 = 32766; - -const int CSSM_CERT_PARSE_FORMAT_LAST1 = 32767; - -const int CSSM_CL_CUSTOM_CERT_PARSE_FORMAT1 = 32768; - -const int CSSM_CERTGROUP_DATA1 = 0; - -const int CSSM_CERTGROUP_ENCODED_CERT1 = 1; - -const int CSSM_CERTGROUP_PARSED_CERT1 = 2; - -const int CSSM_CERTGROUP_CERT_PAIR1 = 3; - -const int CSSM_ACL_SUBJECT_TYPE_ANY1 = 1; - -const int CSSM_ACL_SUBJECT_TYPE_THRESHOLD1 = 123; - -const int CSSM_ACL_SUBJECT_TYPE_PASSWORD1 = 79; - -const int CSSM_ACL_SUBJECT_TYPE_PROTECTED_PASSWORD1 = 87; - -const int CSSM_ACL_SUBJECT_TYPE_PROMPTED_PASSWORD1 = 84; - -const int CSSM_ACL_SUBJECT_TYPE_PUBLIC_KEY1 = 89; - -const int CSSM_ACL_SUBJECT_TYPE_HASHED_SUBJECT1 = 44; - -const int CSSM_ACL_SUBJECT_TYPE_BIOMETRIC1 = 8; - -const int CSSM_ACL_SUBJECT_TYPE_PROTECTED_BIOMETRIC1 = 86; - -const int CSSM_ACL_SUBJECT_TYPE_PROMPTED_BIOMETRIC1 = 83; - -const int CSSM_ACL_SUBJECT_TYPE_LOGIN_NAME1 = 58; - -const int CSSM_ACL_SUBJECT_TYPE_EXT_PAM_NAME1 = 78; - -const int CSSM_ACL_AUTHORIZATION_TAG_VENDOR_DEFINED_START1 = 65536; - -const int CSSM_ACL_AUTHORIZATION_ANY1 = 1; - -const int CSSM_ACL_AUTHORIZATION_LOGIN1 = 57; - -const int CSSM_ACL_AUTHORIZATION_GENKEY1 = 41; - -const int CSSM_ACL_AUTHORIZATION_DELETE1 = 25; - -const int CSSM_ACL_AUTHORIZATION_EXPORT_WRAPPED1 = 38; - -const int CSSM_ACL_AUTHORIZATION_EXPORT_CLEAR1 = 37; - -const int CSSM_ACL_AUTHORIZATION_IMPORT_WRAPPED1 = 48; - -const int CSSM_ACL_AUTHORIZATION_IMPORT_CLEAR1 = 47; - -const int CSSM_ACL_AUTHORIZATION_SIGN1 = 115; - -const int CSSM_ACL_AUTHORIZATION_ENCRYPT1 = 35; - -const int CSSM_ACL_AUTHORIZATION_DECRYPT1 = 24; - -const int CSSM_ACL_AUTHORIZATION_MAC1 = 59; - -const int CSSM_ACL_AUTHORIZATION_DERIVE1 = 28; - -const int CSSM_ACL_AUTHORIZATION_DBS_CREATE1 = 22; - -const int CSSM_ACL_AUTHORIZATION_DBS_DELETE1 = 23; - -const int CSSM_ACL_AUTHORIZATION_DB_READ1 = 21; - -const int CSSM_ACL_AUTHORIZATION_DB_INSERT1 = 19; - -const int CSSM_ACL_AUTHORIZATION_DB_MODIFY1 = 20; - -const int CSSM_ACL_AUTHORIZATION_DB_DELETE1 = 17; - -const int CSSM_ACL_EDIT_MODE_ADD1 = 1; - -const int CSSM_ACL_EDIT_MODE_DELETE1 = 2; - -const int CSSM_ACL_EDIT_MODE_REPLACE1 = 3; - -const int CSSM_KEYHEADER_VERSION1 = 2; - -const int CSSM_KEYBLOB_RAW1 = 0; - -const int CSSM_KEYBLOB_REFERENCE1 = 2; - -const int CSSM_KEYBLOB_WRAPPED1 = 3; - -const int CSSM_KEYBLOB_OTHER1 = -1; - -const int CSSM_KEYBLOB_RAW_FORMAT_NONE1 = 0; - -const int CSSM_KEYBLOB_RAW_FORMAT_PKCS11 = 1; - -const int CSSM_KEYBLOB_RAW_FORMAT_PKCS31 = 2; - -const int CSSM_KEYBLOB_RAW_FORMAT_MSCAPI1 = 3; - -const int CSSM_KEYBLOB_RAW_FORMAT_PGP1 = 4; - -const int CSSM_KEYBLOB_RAW_FORMAT_FIPS1861 = 5; - -const int CSSM_KEYBLOB_RAW_FORMAT_BSAFE1 = 6; - -const int CSSM_KEYBLOB_RAW_FORMAT_CCA1 = 9; - -const int CSSM_KEYBLOB_RAW_FORMAT_PKCS81 = 10; - -const int CSSM_KEYBLOB_RAW_FORMAT_SPKI1 = 11; - -const int CSSM_KEYBLOB_RAW_FORMAT_OCTET_STRING1 = 12; - -const int CSSM_KEYBLOB_RAW_FORMAT_OTHER1 = -1; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_NONE1 = 0; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS81 = 1; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_PKCS71 = 2; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_MSCAPI1 = 3; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_OTHER1 = -1; - -const int CSSM_KEYBLOB_REF_FORMAT_INTEGER1 = 0; - -const int CSSM_KEYBLOB_REF_FORMAT_STRING1 = 1; - -const int CSSM_KEYBLOB_REF_FORMAT_SPKI1 = 2; - -const int CSSM_KEYBLOB_REF_FORMAT_OTHER1 = -1; - -const int CSSM_KEYCLASS_PUBLIC_KEY1 = 0; - -const int CSSM_KEYCLASS_PRIVATE_KEY1 = 1; - -const int CSSM_KEYCLASS_SESSION_KEY1 = 2; - -const int CSSM_KEYCLASS_SECRET_PART1 = 3; - -const int CSSM_KEYCLASS_OTHER1 = -1; - -const int CSSM_KEYATTR_RETURN_DEFAULT1 = 0; - -const int CSSM_KEYATTR_RETURN_DATA1 = 268435456; - -const int CSSM_KEYATTR_RETURN_REF1 = 536870912; - -const int CSSM_KEYATTR_RETURN_NONE1 = 1073741824; - -const int CSSM_KEYATTR_PERMANENT1 = 1; - -const int CSSM_KEYATTR_PRIVATE1 = 2; - -const int CSSM_KEYATTR_MODIFIABLE1 = 4; - -const int CSSM_KEYATTR_SENSITIVE1 = 8; - -const int CSSM_KEYATTR_EXTRACTABLE1 = 32; - -const int CSSM_KEYATTR_ALWAYS_SENSITIVE1 = 16; - -const int CSSM_KEYATTR_NEVER_EXTRACTABLE1 = 64; - -const int CSSM_KEYUSE_ANY1 = -2147483648; - -const int CSSM_KEYUSE_ENCRYPT1 = 1; - -const int CSSM_KEYUSE_DECRYPT1 = 2; - -const int CSSM_KEYUSE_SIGN1 = 4; - -const int CSSM_KEYUSE_VERIFY1 = 8; - -const int CSSM_KEYUSE_SIGN_RECOVER1 = 16; - -const int CSSM_KEYUSE_VERIFY_RECOVER1 = 32; - -const int CSSM_KEYUSE_WRAP1 = 64; - -const int CSSM_KEYUSE_UNWRAP1 = 128; - -const int CSSM_KEYUSE_DERIVE1 = 256; - -const int CSSM_ALGID_NONE1 = 0; - -const int CSSM_ALGID_CUSTOM1 = 1; - -const int CSSM_ALGID_DH1 = 2; - -const int CSSM_ALGID_PH1 = 3; - -const int CSSM_ALGID_KEA1 = 4; - -const int CSSM_ALGID_MD21 = 5; - -const int CSSM_ALGID_MD41 = 6; - -const int CSSM_ALGID_MD51 = 7; - -const int CSSM_ALGID_SHA11 = 8; - -const int CSSM_ALGID_NHASH1 = 9; - -const int CSSM_ALGID_HAVAL1 = 10; - -const int CSSM_ALGID_RIPEMD1 = 11; - -const int CSSM_ALGID_IBCHASH1 = 12; - -const int CSSM_ALGID_RIPEMAC1 = 13; - -const int CSSM_ALGID_DES1 = 14; - -const int CSSM_ALGID_DESX1 = 15; - -const int CSSM_ALGID_RDES1 = 16; - -const int CSSM_ALGID_3DES_3KEY_EDE1 = 17; - -const int CSSM_ALGID_3DES_2KEY_EDE1 = 18; - -const int CSSM_ALGID_3DES_1KEY_EEE1 = 19; - -const int CSSM_ALGID_3DES_3KEY1 = 17; - -const int CSSM_ALGID_3DES_3KEY_EEE1 = 20; - -const int CSSM_ALGID_3DES_2KEY1 = 18; - -const int CSSM_ALGID_3DES_2KEY_EEE1 = 21; - -const int CSSM_ALGID_3DES_1KEY1 = 20; - -const int CSSM_ALGID_IDEA1 = 22; - -const int CSSM_ALGID_RC21 = 23; - -const int CSSM_ALGID_RC51 = 24; - -const int CSSM_ALGID_RC41 = 25; - -const int CSSM_ALGID_SEAL1 = 26; - -const int CSSM_ALGID_CAST1 = 27; - -const int CSSM_ALGID_BLOWFISH1 = 28; - -const int CSSM_ALGID_SKIPJACK1 = 29; - -const int CSSM_ALGID_LUCIFER1 = 30; - -const int CSSM_ALGID_MADRYGA1 = 31; - -const int CSSM_ALGID_FEAL1 = 32; - -const int CSSM_ALGID_REDOC1 = 33; - -const int CSSM_ALGID_REDOC31 = 34; - -const int CSSM_ALGID_LOKI1 = 35; - -const int CSSM_ALGID_KHUFU1 = 36; - -const int CSSM_ALGID_KHAFRE1 = 37; - -const int CSSM_ALGID_MMB1 = 38; - -const int CSSM_ALGID_GOST1 = 39; - -const int CSSM_ALGID_SAFER1 = 40; - -const int CSSM_ALGID_CRAB1 = 41; - -const int CSSM_ALGID_RSA1 = 42; - -const int CSSM_ALGID_DSA1 = 43; - -const int CSSM_ALGID_MD5WithRSA1 = 44; - -const int CSSM_ALGID_MD2WithRSA1 = 45; - -const int CSSM_ALGID_ElGamal1 = 46; - -const int CSSM_ALGID_MD2Random1 = 47; - -const int CSSM_ALGID_MD5Random1 = 48; - -const int CSSM_ALGID_SHARandom1 = 49; - -const int CSSM_ALGID_DESRandom1 = 50; - -const int CSSM_ALGID_SHA1WithRSA1 = 51; - -const int CSSM_ALGID_CDMF1 = 52; - -const int CSSM_ALGID_CAST31 = 53; - -const int CSSM_ALGID_CAST51 = 54; - -const int CSSM_ALGID_GenericSecret1 = 55; - -const int CSSM_ALGID_ConcatBaseAndKey1 = 56; - -const int CSSM_ALGID_ConcatKeyAndBase1 = 57; - -const int CSSM_ALGID_ConcatBaseAndData1 = 58; - -const int CSSM_ALGID_ConcatDataAndBase1 = 59; - -const int CSSM_ALGID_XORBaseAndData1 = 60; - -const int CSSM_ALGID_ExtractFromKey1 = 61; - -const int CSSM_ALGID_SSL3PrePrimaryGen1 = 62; - -const int CSSM_ALGID_SSL3PreMasterGen1 = 62; - -const int CSSM_ALGID_SSL3PrimaryDerive1 = 63; - -const int CSSM_ALGID_SSL3MasterDerive1 = 63; - -const int CSSM_ALGID_SSL3KeyAndMacDerive1 = 64; - -const int CSSM_ALGID_SSL3MD5_MAC1 = 65; - -const int CSSM_ALGID_SSL3SHA1_MAC1 = 66; - -const int CSSM_ALGID_PKCS5_PBKDF1_MD51 = 67; - -const int CSSM_ALGID_PKCS5_PBKDF1_MD21 = 68; - -const int CSSM_ALGID_PKCS5_PBKDF1_SHA11 = 69; - -const int CSSM_ALGID_WrapLynks1 = 70; - -const int CSSM_ALGID_WrapSET_OAEP1 = 71; - -const int CSSM_ALGID_BATON1 = 72; - -const int CSSM_ALGID_ECDSA1 = 73; - -const int CSSM_ALGID_MAYFLY1 = 74; - -const int CSSM_ALGID_JUNIPER1 = 75; - -const int CSSM_ALGID_FASTHASH1 = 76; - -const int CSSM_ALGID_3DES1 = 77; - -const int CSSM_ALGID_SSL3MD51 = 78; - -const int CSSM_ALGID_SSL3SHA11 = 79; - -const int CSSM_ALGID_FortezzaTimestamp1 = 80; - -const int CSSM_ALGID_SHA1WithDSA1 = 81; - -const int CSSM_ALGID_SHA1WithECDSA1 = 82; - -const int CSSM_ALGID_DSA_BSAFE1 = 83; - -const int CSSM_ALGID_ECDH1 = 84; - -const int CSSM_ALGID_ECMQV1 = 85; - -const int CSSM_ALGID_PKCS12_SHA1_PBE1 = 86; - -const int CSSM_ALGID_ECNRA1 = 87; - -const int CSSM_ALGID_SHA1WithECNRA1 = 88; - -const int CSSM_ALGID_ECES1 = 89; - -const int CSSM_ALGID_ECAES1 = 90; - -const int CSSM_ALGID_SHA1HMAC1 = 91; - -const int CSSM_ALGID_FIPS186Random1 = 92; - -const int CSSM_ALGID_ECC1 = 93; - -const int CSSM_ALGID_MQV1 = 94; - -const int CSSM_ALGID_NRA1 = 95; - -const int CSSM_ALGID_IntelPlatformRandom1 = 96; - -const int CSSM_ALGID_UTC1 = 97; - -const int CSSM_ALGID_HAVAL31 = 98; - -const int CSSM_ALGID_HAVAL41 = 99; - -const int CSSM_ALGID_HAVAL51 = 100; - -const int CSSM_ALGID_TIGER1 = 101; - -const int CSSM_ALGID_MD5HMAC1 = 102; - -const int CSSM_ALGID_PKCS5_PBKDF21 = 103; - -const int CSSM_ALGID_RUNNING_COUNTER1 = 104; - -const int CSSM_ALGID_LAST1 = 2147483647; - -const int CSSM_ALGID_VENDOR_DEFINED1 = -2147483648; - -const int CSSM_ALGMODE_NONE1 = 0; - -const int CSSM_ALGMODE_CUSTOM1 = 1; - -const int CSSM_ALGMODE_ECB1 = 2; - -const int CSSM_ALGMODE_ECBPad1 = 3; - -const int CSSM_ALGMODE_CBC1 = 4; - -const int CSSM_ALGMODE_CBC_IV81 = 5; - -const int CSSM_ALGMODE_CBCPadIV81 = 6; - -const int CSSM_ALGMODE_CFB1 = 7; - -const int CSSM_ALGMODE_CFB_IV81 = 8; - -const int CSSM_ALGMODE_CFBPadIV81 = 9; - -const int CSSM_ALGMODE_OFB1 = 10; - -const int CSSM_ALGMODE_OFB_IV81 = 11; - -const int CSSM_ALGMODE_OFBPadIV81 = 12; - -const int CSSM_ALGMODE_COUNTER1 = 13; - -const int CSSM_ALGMODE_BC1 = 14; - -const int CSSM_ALGMODE_PCBC1 = 15; - -const int CSSM_ALGMODE_CBCC1 = 16; - -const int CSSM_ALGMODE_OFBNLF1 = 17; - -const int CSSM_ALGMODE_PBC1 = 18; - -const int CSSM_ALGMODE_PFB1 = 19; - -const int CSSM_ALGMODE_CBCPD1 = 20; - -const int CSSM_ALGMODE_PUBLIC_KEY1 = 21; - -const int CSSM_ALGMODE_PRIVATE_KEY1 = 22; - -const int CSSM_ALGMODE_SHUFFLE1 = 23; - -const int CSSM_ALGMODE_ECB641 = 24; - -const int CSSM_ALGMODE_CBC641 = 25; - -const int CSSM_ALGMODE_OFB641 = 26; - -const int CSSM_ALGMODE_CFB321 = 28; - -const int CSSM_ALGMODE_CFB161 = 29; - -const int CSSM_ALGMODE_CFB81 = 30; - -const int CSSM_ALGMODE_WRAP1 = 31; - -const int CSSM_ALGMODE_PRIVATE_WRAP1 = 32; - -const int CSSM_ALGMODE_RELAYX1 = 33; - -const int CSSM_ALGMODE_ECB1281 = 34; - -const int CSSM_ALGMODE_ECB961 = 35; - -const int CSSM_ALGMODE_CBC1281 = 36; - -const int CSSM_ALGMODE_OAEP_HASH1 = 37; - -const int CSSM_ALGMODE_PKCS1_EME_V151 = 38; - -const int CSSM_ALGMODE_PKCS1_EME_OAEP1 = 39; - -const int CSSM_ALGMODE_PKCS1_EMSA_V151 = 40; - -const int CSSM_ALGMODE_ISO_97961 = 41; - -const int CSSM_ALGMODE_X9_311 = 42; - -const int CSSM_ALGMODE_LAST1 = 2147483647; - -const int CSSM_ALGMODE_VENDOR_DEFINED1 = -2147483648; - -const int CSSM_CSP_SOFTWARE1 = 1; - -const int CSSM_CSP_HARDWARE1 = 2; - -const int CSSM_CSP_HYBRID1 = 3; - -const int CSSM_ALGCLASS_NONE1 = 0; - -const int CSSM_ALGCLASS_CUSTOM1 = 1; - -const int CSSM_ALGCLASS_SIGNATURE1 = 2; - -const int CSSM_ALGCLASS_SYMMETRIC1 = 3; - -const int CSSM_ALGCLASS_DIGEST1 = 4; - -const int CSSM_ALGCLASS_RANDOMGEN1 = 5; - -const int CSSM_ALGCLASS_UNIQUEGEN1 = 6; - -const int CSSM_ALGCLASS_MAC1 = 7; - -const int CSSM_ALGCLASS_ASYMMETRIC1 = 8; - -const int CSSM_ALGCLASS_KEYGEN1 = 9; - -const int CSSM_ALGCLASS_DERIVEKEY1 = 10; - -const int CSSM_ATTRIBUTE_DATA_NONE1 = 0; - -const int CSSM_ATTRIBUTE_DATA_UINT321 = 268435456; - -const int CSSM_ATTRIBUTE_DATA_CSSM_DATA1 = 536870912; - -const int CSSM_ATTRIBUTE_DATA_CRYPTO_DATA1 = 805306368; - -const int CSSM_ATTRIBUTE_DATA_KEY1 = 1073741824; - -const int CSSM_ATTRIBUTE_DATA_STRING1 = 1342177280; - -const int CSSM_ATTRIBUTE_DATA_DATE1 = 1610612736; - -const int CSSM_ATTRIBUTE_DATA_RANGE1 = 1879048192; - -const int CSSM_ATTRIBUTE_DATA_ACCESS_CREDENTIALS1 = -2147483648; - -const int CSSM_ATTRIBUTE_DATA_VERSION1 = 16777216; - -const int CSSM_ATTRIBUTE_DATA_DL_DB_HANDLE1 = 33554432; - -const int CSSM_ATTRIBUTE_DATA_KR_PROFILE1 = 50331648; - -const int CSSM_ATTRIBUTE_TYPE_MASK1 = -16777216; - -const int CSSM_ATTRIBUTE_NONE1 = 0; - -const int CSSM_ATTRIBUTE_CUSTOM1 = 536870913; - -const int CSSM_ATTRIBUTE_DESCRIPTION1 = 1342177282; - -const int CSSM_ATTRIBUTE_KEY1 = 1073741827; - -const int CSSM_ATTRIBUTE_INIT_VECTOR1 = 536870916; - -const int CSSM_ATTRIBUTE_SALT1 = 536870917; - -const int CSSM_ATTRIBUTE_PADDING1 = 268435462; - -const int CSSM_ATTRIBUTE_RANDOM1 = 536870919; - -const int CSSM_ATTRIBUTE_SEED1 = 805306376; - -const int CSSM_ATTRIBUTE_PASSPHRASE1 = 805306377; - -const int CSSM_ATTRIBUTE_KEY_LENGTH1 = 268435466; - -const int CSSM_ATTRIBUTE_KEY_LENGTH_RANGE1 = 1879048203; - -const int CSSM_ATTRIBUTE_BLOCK_SIZE1 = 268435468; - -const int CSSM_ATTRIBUTE_OUTPUT_SIZE1 = 268435469; - -const int CSSM_ATTRIBUTE_ROUNDS1 = 268435470; - -const int CSSM_ATTRIBUTE_IV_SIZE1 = 268435471; - -const int CSSM_ATTRIBUTE_ALG_PARAMS1 = 536870928; - -const int CSSM_ATTRIBUTE_LABEL1 = 536870929; - -const int CSSM_ATTRIBUTE_KEY_TYPE1 = 268435474; - -const int CSSM_ATTRIBUTE_MODE1 = 268435475; - -const int CSSM_ATTRIBUTE_EFFECTIVE_BITS1 = 268435476; - -const int CSSM_ATTRIBUTE_START_DATE1 = 1610612757; - -const int CSSM_ATTRIBUTE_END_DATE1 = 1610612758; - -const int CSSM_ATTRIBUTE_KEYUSAGE1 = 268435479; - -const int CSSM_ATTRIBUTE_KEYATTR1 = 268435480; - -const int CSSM_ATTRIBUTE_VERSION1 = 16777241; - -const int CSSM_ATTRIBUTE_PRIME1 = 536870938; - -const int CSSM_ATTRIBUTE_BASE1 = 536870939; - -const int CSSM_ATTRIBUTE_SUBPRIME1 = 536870940; - -const int CSSM_ATTRIBUTE_ALG_ID1 = 268435485; - -const int CSSM_ATTRIBUTE_ITERATION_COUNT1 = 268435486; - -const int CSSM_ATTRIBUTE_ROUNDS_RANGE1 = 1879048223; - -const int CSSM_ATTRIBUTE_KRPROFILE_LOCAL1 = 50331680; - -const int CSSM_ATTRIBUTE_KRPROFILE_REMOTE1 = 50331681; - -const int CSSM_ATTRIBUTE_CSP_HANDLE1 = 268435490; - -const int CSSM_ATTRIBUTE_DL_DB_HANDLE1 = 33554467; - -const int CSSM_ATTRIBUTE_ACCESS_CREDENTIALS1 = -2147483612; - -const int CSSM_ATTRIBUTE_PUBLIC_KEY_FORMAT1 = 268435493; - -const int CSSM_ATTRIBUTE_PRIVATE_KEY_FORMAT1 = 268435494; - -const int CSSM_ATTRIBUTE_SYMMETRIC_KEY_FORMAT1 = 268435495; - -const int CSSM_ATTRIBUTE_WRAPPED_KEY_FORMAT1 = 268435496; - -const int CSSM_PADDING_NONE1 = 0; - -const int CSSM_PADDING_CUSTOM1 = 1; - -const int CSSM_PADDING_ZERO1 = 2; - -const int CSSM_PADDING_ONE1 = 3; - -const int CSSM_PADDING_ALTERNATE1 = 4; - -const int CSSM_PADDING_FF1 = 5; - -const int CSSM_PADDING_PKCS51 = 6; - -const int CSSM_PADDING_PKCS71 = 7; - -const int CSSM_PADDING_CIPHERSTEALING1 = 8; - -const int CSSM_PADDING_RANDOM1 = 9; - -const int CSSM_PADDING_PKCS11 = 10; - -const int CSSM_PADDING_SIGRAW1 = 11; - -const int CSSM_PADDING_VENDOR_DEFINED1 = -2147483648; - -const int CSSM_CSP_TOK_RNG1 = 1; - -const int CSSM_CSP_TOK_CLOCK_EXISTS1 = 64; - -const int CSSM_CSP_RDR_TOKENPRESENT1 = 1; - -const int CSSM_CSP_RDR_EXISTS1 = 2; - -const int CSSM_CSP_RDR_HW1 = 4; - -const int CSSM_CSP_TOK_WRITE_PROTECTED1 = 2; - -const int CSSM_CSP_TOK_LOGIN_REQUIRED1 = 4; - -const int CSSM_CSP_TOK_USER_PIN_INITIALIZED1 = 8; - -const int CSSM_CSP_TOK_PROT_AUTHENTICATION1 = 256; - -const int CSSM_CSP_TOK_USER_PIN_EXPIRED1 = 1048576; - -const int CSSM_CSP_TOK_SESSION_KEY_PASSWORD1 = 2097152; - -const int CSSM_CSP_TOK_PRIVATE_KEY_PASSWORD1 = 4194304; - -const int CSSM_CSP_STORES_PRIVATE_KEYS1 = 16777216; - -const int CSSM_CSP_STORES_PUBLIC_KEYS1 = 33554432; - -const int CSSM_CSP_STORES_SESSION_KEYS1 = 67108864; - -const int CSSM_CSP_STORES_CERTIFICATES1 = 134217728; - -const int CSSM_CSP_STORES_GENERIC1 = 268435456; - -const int CSSM_PKCS_OAEP_MGF_NONE1 = 0; - -const int CSSM_PKCS_OAEP_MGF1_SHA11 = 1; - -const int CSSM_PKCS_OAEP_MGF1_MD51 = 2; - -const int CSSM_PKCS_OAEP_PSOURCE_NONE1 = 0; - -const int CSSM_PKCS_OAEP_PSOURCE_Pspecified1 = 1; - -const int CSSM_VALUE_NOT_AVAILABLE1 = -1; - -const int CSSM_PKCS5_PBKDF2_PRF_HMAC_SHA11 = 0; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTISSUE1 = 1; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTREVOKE1 = 2; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTSUSPEND1 = 3; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTRESUME1 = 4; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTVERIFY1 = 5; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTNOTARIZE1 = 6; - -const int CSSM_TP_AUTHORITY_REQUEST_CERTUSERECOVER1 = 7; - -const int CSSM_TP_AUTHORITY_REQUEST_CRLISSUE1 = 256; - -const int CSSM_TP_KEY_ARCHIVE1 = 1; - -const int CSSM_TP_CERT_PUBLISH1 = 2; - -const int CSSM_TP_CERT_NOTIFY_RENEW1 = 4; - -const int CSSM_TP_CERT_DIR_UPDATE1 = 8; - -const int CSSM_TP_CRL_DISTRIBUTE1 = 16; - -const int CSSM_TP_ACTION_DEFAULT1 = 0; - -const int CSSM_TP_STOP_ON_POLICY1 = 0; - -const int CSSM_TP_STOP_ON_NONE1 = 1; - -const int CSSM_TP_STOP_ON_FIRST_PASS1 = 2; - -const int CSSM_TP_STOP_ON_FIRST_FAIL1 = 3; - -const int CSSM_CRL_PARSE_FORMAT_NONE1 = 0; - -const int CSSM_CRL_PARSE_FORMAT_CUSTOM1 = 1; - -const int CSSM_CRL_PARSE_FORMAT_SEXPR1 = 2; - -const int CSSM_CRL_PARSE_FORMAT_COMPLEX1 = 3; - -const int CSSM_CRL_PARSE_FORMAT_OID_NAMED1 = 4; - -const int CSSM_CRL_PARSE_FORMAT_TUPLE1 = 5; - -const int CSSM_CRL_PARSE_FORMAT_MULTIPLE1 = 32766; - -const int CSSM_CRL_PARSE_FORMAT_LAST1 = 32767; - -const int CSSM_CL_CUSTOM_CRL_PARSE_FORMAT1 = 32768; - -const int CSSM_CRL_TYPE_UNKNOWN1 = 0; - -const int CSSM_CRL_TYPE_X_509v11 = 1; - -const int CSSM_CRL_TYPE_X_509v21 = 2; - -const int CSSM_CRL_TYPE_SPKI1 = 3; - -const int CSSM_CRL_TYPE_MULTIPLE1 = 32766; - -const int CSSM_CRL_ENCODING_UNKNOWN1 = 0; - -const int CSSM_CRL_ENCODING_CUSTOM1 = 1; - -const int CSSM_CRL_ENCODING_BER1 = 2; - -const int CSSM_CRL_ENCODING_DER1 = 3; - -const int CSSM_CRL_ENCODING_BLOOM1 = 4; - -const int CSSM_CRL_ENCODING_SEXPR1 = 5; - -const int CSSM_CRL_ENCODING_MULTIPLE1 = 32766; - -const int CSSM_CRLGROUP_DATA1 = 0; - -const int CSSM_CRLGROUP_ENCODED_CRL1 = 1; - -const int CSSM_CRLGROUP_PARSED_CRL1 = 2; - -const int CSSM_CRLGROUP_CRL_PAIR1 = 3; - -const int CSSM_EVIDENCE_FORM_UNSPECIFIC1 = 0; - -const int CSSM_EVIDENCE_FORM_CERT1 = 1; - -const int CSSM_EVIDENCE_FORM_CRL1 = 2; - -const int CSSM_EVIDENCE_FORM_CERT_ID1 = 3; - -const int CSSM_EVIDENCE_FORM_CRL_ID1 = 4; - -const int CSSM_EVIDENCE_FORM_VERIFIER_TIME1 = 5; - -const int CSSM_EVIDENCE_FORM_CRL_THISTIME1 = 6; - -const int CSSM_EVIDENCE_FORM_CRL_NEXTTIME1 = 7; - -const int CSSM_EVIDENCE_FORM_POLICYINFO1 = 8; - -const int CSSM_EVIDENCE_FORM_TUPLEGROUP1 = 9; - -const int CSSM_TP_CONFIRM_STATUS_UNKNOWN1 = 0; - -const int CSSM_TP_CONFIRM_ACCEPT1 = 1; - -const int CSSM_TP_CONFIRM_REJECT1 = 2; - -const int CSSM_ESTIMATED_TIME_UNKNOWN1 = -1; - -const int CSSM_ELAPSED_TIME_UNKNOWN1 = -1; - -const int CSSM_ELAPSED_TIME_COMPLETE1 = -2; - -const int CSSM_TP_CERTISSUE_STATUS_UNKNOWN1 = 0; - -const int CSSM_TP_CERTISSUE_OK1 = 1; - -const int CSSM_TP_CERTISSUE_OKWITHCERTMODS1 = 2; - -const int CSSM_TP_CERTISSUE_OKWITHSERVICEMODS1 = 3; - -const int CSSM_TP_CERTISSUE_REJECTED1 = 4; - -const int CSSM_TP_CERTISSUE_NOT_AUTHORIZED1 = 5; - -const int CSSM_TP_CERTISSUE_WILL_BE_REVOKED1 = 6; - -const int CSSM_TP_CERTCHANGE_NONE1 = 0; - -const int CSSM_TP_CERTCHANGE_REVOKE1 = 1; - -const int CSSM_TP_CERTCHANGE_HOLD1 = 2; - -const int CSSM_TP_CERTCHANGE_RELEASE1 = 3; - -const int CSSM_TP_CERTCHANGE_REASON_UNKNOWN1 = 0; - -const int CSSM_TP_CERTCHANGE_REASON_KEYCOMPROMISE1 = 1; - -const int CSSM_TP_CERTCHANGE_REASON_CACOMPROMISE1 = 2; - -const int CSSM_TP_CERTCHANGE_REASON_CEASEOPERATION1 = 3; - -const int CSSM_TP_CERTCHANGE_REASON_AFFILIATIONCHANGE1 = 4; - -const int CSSM_TP_CERTCHANGE_REASON_SUPERCEDED1 = 5; - -const int CSSM_TP_CERTCHANGE_REASON_SUSPECTEDCOMPROMISE1 = 6; - -const int CSSM_TP_CERTCHANGE_REASON_HOLDRELEASE1 = 7; - -const int CSSM_TP_CERTCHANGE_STATUS_UNKNOWN1 = 0; - -const int CSSM_TP_CERTCHANGE_OK1 = 1; - -const int CSSM_TP_CERTCHANGE_OKWITHNEWTIME1 = 2; - -const int CSSM_TP_CERTCHANGE_WRONGCA1 = 3; - -const int CSSM_TP_CERTCHANGE_REJECTED1 = 4; - -const int CSSM_TP_CERTCHANGE_NOT_AUTHORIZED1 = 5; - -const int CSSM_TP_CERTVERIFY_UNKNOWN1 = 0; - -const int CSSM_TP_CERTVERIFY_VALID1 = 1; - -const int CSSM_TP_CERTVERIFY_INVALID1 = 2; - -const int CSSM_TP_CERTVERIFY_REVOKED1 = 3; - -const int CSSM_TP_CERTVERIFY_SUSPENDED1 = 4; - -const int CSSM_TP_CERTVERIFY_EXPIRED1 = 5; - -const int CSSM_TP_CERTVERIFY_NOT_VALID_YET1 = 6; - -const int CSSM_TP_CERTVERIFY_INVALID_AUTHORITY1 = 7; - -const int CSSM_TP_CERTVERIFY_INVALID_SIGNATURE1 = 8; - -const int CSSM_TP_CERTVERIFY_INVALID_CERT_VALUE1 = 9; - -const int CSSM_TP_CERTVERIFY_INVALID_CERTGROUP1 = 10; - -const int CSSM_TP_CERTVERIFY_INVALID_POLICY1 = 11; - -const int CSSM_TP_CERTVERIFY_INVALID_POLICY_IDS1 = 12; - -const int CSSM_TP_CERTVERIFY_INVALID_BASIC_CONSTRAINTS1 = 13; - -const int CSSM_TP_CERTVERIFY_INVALID_CRL_DIST_PT1 = 14; - -const int CSSM_TP_CERTVERIFY_INVALID_NAME_TREE1 = 15; - -const int CSSM_TP_CERTVERIFY_UNKNOWN_CRITICAL_EXT1 = 16; - -const int CSSM_TP_CERTNOTARIZE_STATUS_UNKNOWN1 = 0; - -const int CSSM_TP_CERTNOTARIZE_OK1 = 1; - -const int CSSM_TP_CERTNOTARIZE_OKWITHOUTFIELDS1 = 2; - -const int CSSM_TP_CERTNOTARIZE_OKWITHSERVICEMODS1 = 3; - -const int CSSM_TP_CERTNOTARIZE_REJECTED1 = 4; - -const int CSSM_TP_CERTNOTARIZE_NOT_AUTHORIZED1 = 5; - -const int CSSM_TP_CERTRECLAIM_STATUS_UNKNOWN1 = 0; - -const int CSSM_TP_CERTRECLAIM_OK1 = 1; - -const int CSSM_TP_CERTRECLAIM_NOMATCH1 = 2; - -const int CSSM_TP_CERTRECLAIM_REJECTED1 = 3; - -const int CSSM_TP_CERTRECLAIM_NOT_AUTHORIZED1 = 4; - -const int CSSM_TP_CRLISSUE_STATUS_UNKNOWN1 = 0; - -const int CSSM_TP_CRLISSUE_OK1 = 1; - -const int CSSM_TP_CRLISSUE_NOT_CURRENT1 = 2; - -const int CSSM_TP_CRLISSUE_INVALID_DOMAIN1 = 3; - -const int CSSM_TP_CRLISSUE_UNKNOWN_IDENTIFIER1 = 4; - -const int CSSM_TP_CRLISSUE_REJECTED1 = 5; - -const int CSSM_TP_CRLISSUE_NOT_AUTHORIZED1 = 6; - -const int CSSM_TP_FORM_TYPE_GENERIC1 = 0; - -const int CSSM_TP_FORM_TYPE_REGISTRATION1 = 1; - -const int CSSM_CL_TEMPLATE_INTERMEDIATE_CERT1 = 1; - -const int CSSM_CL_TEMPLATE_PKIX_CERTTEMPLATE1 = 2; - -const int CSSM_CERT_BUNDLE_UNKNOWN1 = 0; - -const int CSSM_CERT_BUNDLE_CUSTOM1 = 1; - -const int CSSM_CERT_BUNDLE_PKCS7_SIGNED_DATA1 = 2; - -const int CSSM_CERT_BUNDLE_PKCS7_SIGNED_ENVELOPED_DATA1 = 3; - -const int CSSM_CERT_BUNDLE_PKCS121 = 4; - -const int CSSM_CERT_BUNDLE_PFX1 = 5; - -const int CSSM_CERT_BUNDLE_SPKI_SEQUENCE1 = 6; - -const int CSSM_CERT_BUNDLE_PGP_KEYRING1 = 7; - -const int CSSM_CERT_BUNDLE_LAST1 = 32767; - -const int CSSM_CL_CUSTOM_CERT_BUNDLE_TYPE1 = 32768; - -const int CSSM_CERT_BUNDLE_ENCODING_UNKNOWN1 = 0; - -const int CSSM_CERT_BUNDLE_ENCODING_CUSTOM1 = 1; - -const int CSSM_CERT_BUNDLE_ENCODING_BER1 = 2; - -const int CSSM_CERT_BUNDLE_ENCODING_DER1 = 3; - -const int CSSM_CERT_BUNDLE_ENCODING_SEXPR1 = 4; - -const int CSSM_CERT_BUNDLE_ENCODING_PGP1 = 5; - -const int CSSM_FIELDVALUE_COMPLEX_DATA_TYPE1 = -1; - -const int CSSM_DB_ATTRIBUTE_NAME_AS_STRING1 = 0; - -const int CSSM_DB_ATTRIBUTE_NAME_AS_OID1 = 1; - -const int CSSM_DB_ATTRIBUTE_NAME_AS_INTEGER1 = 2; - -const int CSSM_DB_ATTRIBUTE_FORMAT_STRING1 = 0; - -const int CSSM_DB_ATTRIBUTE_FORMAT_SINT321 = 1; - -const int CSSM_DB_ATTRIBUTE_FORMAT_UINT321 = 2; - -const int CSSM_DB_ATTRIBUTE_FORMAT_BIG_NUM1 = 3; - -const int CSSM_DB_ATTRIBUTE_FORMAT_REAL1 = 4; - -const int CSSM_DB_ATTRIBUTE_FORMAT_TIME_DATE1 = 5; - -const int CSSM_DB_ATTRIBUTE_FORMAT_BLOB1 = 6; - -const int CSSM_DB_ATTRIBUTE_FORMAT_MULTI_UINT321 = 7; - -const int CSSM_DB_ATTRIBUTE_FORMAT_COMPLEX1 = 8; - -const int CSSM_DB_RECORDTYPE_SCHEMA_START1 = 0; - -const int CSSM_DB_RECORDTYPE_SCHEMA_END1 = 4; - -const int CSSM_DB_RECORDTYPE_OPEN_GROUP_START1 = 10; - -const int CSSM_DB_RECORDTYPE_OPEN_GROUP_END1 = 18; - -const int CSSM_DB_RECORDTYPE_APP_DEFINED_START1 = -2147483648; - -const int CSSM_DB_RECORDTYPE_APP_DEFINED_END1 = -1; - -const int CSSM_DL_DB_SCHEMA_INFO1 = 0; - -const int CSSM_DL_DB_SCHEMA_INDEXES1 = 1; - -const int CSSM_DL_DB_SCHEMA_ATTRIBUTES1 = 2; - -const int CSSM_DL_DB_SCHEMA_PARSING_MODULE1 = 3; - -const int CSSM_DL_DB_RECORD_ANY1 = 10; - -const int CSSM_DL_DB_RECORD_CERT1 = 11; - -const int CSSM_DL_DB_RECORD_CRL1 = 12; - -const int CSSM_DL_DB_RECORD_POLICY1 = 13; - -const int CSSM_DL_DB_RECORD_GENERIC1 = 14; - -const int CSSM_DL_DB_RECORD_PUBLIC_KEY1 = 15; - -const int CSSM_DL_DB_RECORD_PRIVATE_KEY1 = 16; - -const int CSSM_DL_DB_RECORD_SYMMETRIC_KEY1 = 17; - -const int CSSM_DL_DB_RECORD_ALL_KEYS1 = 18; - -const int CSSM_DB_CERT_USE_TRUSTED1 = 1; - -const int CSSM_DB_CERT_USE_SYSTEM1 = 2; - -const int CSSM_DB_CERT_USE_OWNER1 = 4; - -const int CSSM_DB_CERT_USE_REVOKED1 = 8; - -const int CSSM_DB_CERT_USE_SIGNING1 = 16; - -const int CSSM_DB_CERT_USE_PRIVACY1 = 32; - -const int CSSM_DB_INDEX_UNIQUE1 = 0; - -const int CSSM_DB_INDEX_NONUNIQUE1 = 1; - -const int CSSM_DB_INDEX_ON_UNKNOWN1 = 0; - -const int CSSM_DB_INDEX_ON_ATTRIBUTE1 = 1; - -const int CSSM_DB_INDEX_ON_RECORD1 = 2; - -const int CSSM_DB_ACCESS_READ1 = 1; - -const int CSSM_DB_ACCESS_WRITE1 = 2; - -const int CSSM_DB_ACCESS_PRIVILEGED1 = 4; - -const int CSSM_DB_MODIFY_ATTRIBUTE_NONE1 = 0; - -const int CSSM_DB_MODIFY_ATTRIBUTE_ADD1 = 1; - -const int CSSM_DB_MODIFY_ATTRIBUTE_DELETE1 = 2; - -const int CSSM_DB_MODIFY_ATTRIBUTE_REPLACE1 = 3; - -const int CSSM_DB_EQUAL1 = 0; - -const int CSSM_DB_NOT_EQUAL1 = 1; - -const int CSSM_DB_LESS_THAN1 = 2; - -const int CSSM_DB_GREATER_THAN1 = 3; - -const int CSSM_DB_CONTAINS1 = 4; - -const int CSSM_DB_CONTAINS_INITIAL_SUBSTRING1 = 5; - -const int CSSM_DB_CONTAINS_FINAL_SUBSTRING1 = 6; - -const int CSSM_DB_NONE1 = 0; - -const int CSSM_DB_AND1 = 1; - -const int CSSM_DB_OR1 = 2; - -const int CSSM_QUERY_TIMELIMIT_NONE1 = 0; - -const int CSSM_QUERY_SIZELIMIT_NONE1 = 0; - -const int CSSM_QUERY_RETURN_DATA1 = 1; - -const int CSSM_DL_UNKNOWN1 = 0; - -const int CSSM_DL_CUSTOM1 = 1; - -const int CSSM_DL_LDAP1 = 2; - -const int CSSM_DL_ODBC1 = 3; - -const int CSSM_DL_PKCS111 = 4; - -const int CSSM_DL_FFS1 = 5; - -const int CSSM_DL_MEMORY1 = 6; - -const int CSSM_DL_REMOTEDIR1 = 7; - -const int CSSM_DB_DATASTORES_UNKNOWN1 = -1; - -const int CSSM_DB_TRANSACTIONAL_MODE1 = 0; - -const int CSSM_DB_FILESYSTEMSCAN_MODE1 = 1; - -const int CSSM_BASE_ERROR1 = -2147418112; - -const int CSSM_ERRORCODE_MODULE_EXTENT1 = 2048; - -const int CSSM_ERRORCODE_CUSTOM_OFFSET1 = 1024; - -const int CSSM_ERRORCODE_COMMON_EXTENT1 = 256; - -const int CSSM_CSSM_BASE_ERROR1 = -2147418112; - -const int CSSM_CSSM_PRIVATE_ERROR1 = -2147417088; - -const int CSSM_CSP_BASE_ERROR1 = -2147416064; - -const int CSSM_CSP_PRIVATE_ERROR1 = -2147415040; - -const int CSSM_DL_BASE_ERROR1 = -2147414016; - -const int CSSM_DL_PRIVATE_ERROR1 = -2147412992; - -const int CSSM_CL_BASE_ERROR1 = -2147411968; - -const int CSSM_CL_PRIVATE_ERROR1 = -2147410944; - -const int CSSM_TP_BASE_ERROR1 = -2147409920; - -const int CSSM_TP_PRIVATE_ERROR1 = -2147408896; - -const int CSSM_KR_BASE_ERROR1 = -2147407872; - -const int CSSM_KR_PRIVATE_ERROR1 = -2147406848; - -const int CSSM_AC_BASE_ERROR1 = -2147405824; - -const int CSSM_AC_PRIVATE_ERROR1 = -2147404800; - -const int CSSM_MDS_BASE_ERROR1 = -2147414016; - -const int CSSM_MDS_PRIVATE_ERROR1 = -2147412992; - -const int CSSMERR_CSSM_INVALID_ADDIN_HANDLE1 = -2147417855; - -const int CSSMERR_CSSM_NOT_INITIALIZED1 = -2147417854; - -const int CSSMERR_CSSM_INVALID_HANDLE_USAGE1 = -2147417853; - -const int CSSMERR_CSSM_PVC_REFERENT_NOT_FOUND1 = -2147417852; - -const int CSSMERR_CSSM_FUNCTION_INTEGRITY_FAIL1 = -2147417851; - -const int CSSM_ERRCODE_INTERNAL_ERROR1 = 1; - -const int CSSM_ERRCODE_MEMORY_ERROR1 = 2; - -const int CSSM_ERRCODE_MDS_ERROR1 = 3; - -const int CSSM_ERRCODE_INVALID_POINTER1 = 4; - -const int CSSM_ERRCODE_INVALID_INPUT_POINTER1 = 5; - -const int CSSM_ERRCODE_INVALID_OUTPUT_POINTER1 = 6; - -const int CSSM_ERRCODE_FUNCTION_NOT_IMPLEMENTED1 = 7; - -const int CSSM_ERRCODE_SELF_CHECK_FAILED1 = 8; - -const int CSSM_ERRCODE_OS_ACCESS_DENIED1 = 9; - -const int CSSM_ERRCODE_FUNCTION_FAILED1 = 10; - -const int CSSM_ERRCODE_MODULE_MANIFEST_VERIFY_FAILED1 = 11; - -const int CSSM_ERRCODE_INVALID_GUID1 = 12; - -const int CSSM_ERRCODE_OPERATION_AUTH_DENIED1 = 32; - -const int CSSM_ERRCODE_OBJECT_USE_AUTH_DENIED1 = 33; - -const int CSSM_ERRCODE_OBJECT_MANIP_AUTH_DENIED1 = 34; - -const int CSSM_ERRCODE_OBJECT_ACL_NOT_SUPPORTED1 = 35; - -const int CSSM_ERRCODE_OBJECT_ACL_REQUIRED1 = 36; - -const int CSSM_ERRCODE_INVALID_ACCESS_CREDENTIALS1 = 37; - -const int CSSM_ERRCODE_INVALID_ACL_BASE_CERTS1 = 38; - -const int CSSM_ERRCODE_ACL_BASE_CERTS_NOT_SUPPORTED1 = 39; - -const int CSSM_ERRCODE_INVALID_SAMPLE_VALUE1 = 40; - -const int CSSM_ERRCODE_SAMPLE_VALUE_NOT_SUPPORTED1 = 41; - -const int CSSM_ERRCODE_INVALID_ACL_SUBJECT_VALUE1 = 42; - -const int CSSM_ERRCODE_ACL_SUBJECT_TYPE_NOT_SUPPORTED1 = 43; - -const int CSSM_ERRCODE_INVALID_ACL_CHALLENGE_CALLBACK1 = 44; - -const int CSSM_ERRCODE_ACL_CHALLENGE_CALLBACK_FAILED1 = 45; - -const int CSSM_ERRCODE_INVALID_ACL_ENTRY_TAG1 = 46; - -const int CSSM_ERRCODE_ACL_ENTRY_TAG_NOT_FOUND1 = 47; - -const int CSSM_ERRCODE_INVALID_ACL_EDIT_MODE1 = 48; - -const int CSSM_ERRCODE_ACL_CHANGE_FAILED1 = 49; - -const int CSSM_ERRCODE_INVALID_NEW_ACL_ENTRY1 = 50; - -const int CSSM_ERRCODE_INVALID_NEW_ACL_OWNER1 = 51; - -const int CSSM_ERRCODE_ACL_DELETE_FAILED1 = 52; - -const int CSSM_ERRCODE_ACL_REPLACE_FAILED1 = 53; - -const int CSSM_ERRCODE_ACL_ADD_FAILED1 = 54; - -const int CSSM_ERRCODE_INVALID_CONTEXT_HANDLE1 = 64; - -const int CSSM_ERRCODE_INCOMPATIBLE_VERSION1 = 65; - -const int CSSM_ERRCODE_INVALID_CERTGROUP_POINTER1 = 66; - -const int CSSM_ERRCODE_INVALID_CERT_POINTER1 = 67; - -const int CSSM_ERRCODE_INVALID_CRL_POINTER1 = 68; - -const int CSSM_ERRCODE_INVALID_FIELD_POINTER1 = 69; - -const int CSSM_ERRCODE_INVALID_DATA1 = 70; - -const int CSSM_ERRCODE_CRL_ALREADY_SIGNED1 = 71; - -const int CSSM_ERRCODE_INVALID_NUMBER_OF_FIELDS1 = 72; - -const int CSSM_ERRCODE_VERIFICATION_FAILURE1 = 73; - -const int CSSM_ERRCODE_INVALID_DB_HANDLE1 = 74; - -const int CSSM_ERRCODE_PRIVILEGE_NOT_GRANTED1 = 75; - -const int CSSM_ERRCODE_INVALID_DB_LIST1 = 76; - -const int CSSM_ERRCODE_INVALID_DB_LIST_POINTER1 = 77; - -const int CSSM_ERRCODE_UNKNOWN_FORMAT1 = 78; - -const int CSSM_ERRCODE_UNKNOWN_TAG1 = 79; - -const int CSSM_ERRCODE_INVALID_CSP_HANDLE1 = 80; - -const int CSSM_ERRCODE_INVALID_DL_HANDLE1 = 81; - -const int CSSM_ERRCODE_INVALID_CL_HANDLE1 = 82; - -const int CSSM_ERRCODE_INVALID_TP_HANDLE1 = 83; - -const int CSSM_ERRCODE_INVALID_KR_HANDLE1 = 84; - -const int CSSM_ERRCODE_INVALID_AC_HANDLE1 = 85; - -const int CSSM_ERRCODE_INVALID_PASSTHROUGH_ID1 = 86; - -const int CSSM_ERRCODE_INVALID_NETWORK_ADDR1 = 87; - -const int CSSM_ERRCODE_INVALID_CRYPTO_DATA1 = 88; - -const int CSSMERR_CSSM_INTERNAL_ERROR1 = -2147418111; - -const int CSSMERR_CSSM_MEMORY_ERROR1 = -2147418110; - -const int CSSMERR_CSSM_MDS_ERROR1 = -2147418109; - -const int CSSMERR_CSSM_INVALID_POINTER1 = -2147418108; - -const int CSSMERR_CSSM_INVALID_INPUT_POINTER1 = -2147418107; - -const int CSSMERR_CSSM_INVALID_OUTPUT_POINTER1 = -2147418106; - -const int CSSMERR_CSSM_FUNCTION_NOT_IMPLEMENTED1 = -2147418105; - -const int CSSMERR_CSSM_SELF_CHECK_FAILED1 = -2147418104; - -const int CSSMERR_CSSM_OS_ACCESS_DENIED1 = -2147418103; - -const int CSSMERR_CSSM_FUNCTION_FAILED1 = -2147418102; - -const int CSSMERR_CSSM_MODULE_MANIFEST_VERIFY_FAILED1 = -2147418101; - -const int CSSMERR_CSSM_INVALID_GUID1 = -2147418100; - -const int CSSMERR_CSSM_INVALID_CONTEXT_HANDLE1 = -2147418048; - -const int CSSMERR_CSSM_INCOMPATIBLE_VERSION1 = -2147418047; - -const int CSSMERR_CSSM_PRIVILEGE_NOT_GRANTED1 = -2147418037; - -const int CSSM_CSSM_BASE_CSSM_ERROR1 = -2147417840; - -const int CSSMERR_CSSM_SCOPE_NOT_SUPPORTED1 = -2147417839; - -const int CSSMERR_CSSM_PVC_ALREADY_CONFIGURED1 = -2147417838; - -const int CSSMERR_CSSM_INVALID_PVC1 = -2147417837; - -const int CSSMERR_CSSM_EMM_LOAD_FAILED1 = -2147417836; - -const int CSSMERR_CSSM_EMM_UNLOAD_FAILED1 = -2147417835; - -const int CSSMERR_CSSM_ADDIN_LOAD_FAILED1 = -2147417834; - -const int CSSMERR_CSSM_INVALID_KEY_HIERARCHY1 = -2147417833; - -const int CSSMERR_CSSM_ADDIN_UNLOAD_FAILED1 = -2147417832; - -const int CSSMERR_CSSM_LIB_REF_NOT_FOUND1 = -2147417831; - -const int CSSMERR_CSSM_INVALID_ADDIN_FUNCTION_TABLE1 = -2147417830; - -const int CSSMERR_CSSM_EMM_AUTHENTICATE_FAILED1 = -2147417829; - -const int CSSMERR_CSSM_ADDIN_AUTHENTICATE_FAILED1 = -2147417828; - -const int CSSMERR_CSSM_INVALID_SERVICE_MASK1 = -2147417827; - -const int CSSMERR_CSSM_MODULE_NOT_LOADED1 = -2147417826; - -const int CSSMERR_CSSM_INVALID_SUBSERVICEID1 = -2147417825; - -const int CSSMERR_CSSM_BUFFER_TOO_SMALL1 = -2147417824; - -const int CSSMERR_CSSM_INVALID_ATTRIBUTE1 = -2147417823; - -const int CSSMERR_CSSM_ATTRIBUTE_NOT_IN_CONTEXT1 = -2147417822; - -const int CSSMERR_CSSM_MODULE_MANAGER_INITIALIZE_FAIL1 = -2147417821; - -const int CSSMERR_CSSM_MODULE_MANAGER_NOT_FOUND1 = -2147417820; - -const int CSSMERR_CSSM_EVENT_NOTIFICATION_CALLBACK_NOT_FOUND1 = -2147417819; - -const int CSSMERR_CSP_INTERNAL_ERROR1 = -2147416063; - -const int CSSMERR_CSP_MEMORY_ERROR1 = -2147416062; - -const int CSSMERR_CSP_MDS_ERROR1 = -2147416061; - -const int CSSMERR_CSP_INVALID_POINTER1 = -2147416060; - -const int CSSMERR_CSP_INVALID_INPUT_POINTER1 = -2147416059; - -const int CSSMERR_CSP_INVALID_OUTPUT_POINTER1 = -2147416058; - -const int CSSMERR_CSP_FUNCTION_NOT_IMPLEMENTED1 = -2147416057; - -const int CSSMERR_CSP_SELF_CHECK_FAILED1 = -2147416056; - -const int CSSMERR_CSP_OS_ACCESS_DENIED1 = -2147416055; - -const int CSSMERR_CSP_FUNCTION_FAILED1 = -2147416054; - -const int CSSMERR_CSP_OPERATION_AUTH_DENIED1 = -2147416032; - -const int CSSMERR_CSP_OBJECT_USE_AUTH_DENIED1 = -2147416031; - -const int CSSMERR_CSP_OBJECT_MANIP_AUTH_DENIED1 = -2147416030; - -const int CSSMERR_CSP_OBJECT_ACL_NOT_SUPPORTED1 = -2147416029; - -const int CSSMERR_CSP_OBJECT_ACL_REQUIRED1 = -2147416028; - -const int CSSMERR_CSP_INVALID_ACCESS_CREDENTIALS1 = -2147416027; - -const int CSSMERR_CSP_INVALID_ACL_BASE_CERTS1 = -2147416026; - -const int CSSMERR_CSP_ACL_BASE_CERTS_NOT_SUPPORTED1 = -2147416025; - -const int CSSMERR_CSP_INVALID_SAMPLE_VALUE1 = -2147416024; - -const int CSSMERR_CSP_SAMPLE_VALUE_NOT_SUPPORTED1 = -2147416023; - -const int CSSMERR_CSP_INVALID_ACL_SUBJECT_VALUE1 = -2147416022; - -const int CSSMERR_CSP_ACL_SUBJECT_TYPE_NOT_SUPPORTED1 = -2147416021; - -const int CSSMERR_CSP_INVALID_ACL_CHALLENGE_CALLBACK1 = -2147416020; - -const int CSSMERR_CSP_ACL_CHALLENGE_CALLBACK_FAILED1 = -2147416019; - -const int CSSMERR_CSP_INVALID_ACL_ENTRY_TAG1 = -2147416018; - -const int CSSMERR_CSP_ACL_ENTRY_TAG_NOT_FOUND1 = -2147416017; - -const int CSSMERR_CSP_INVALID_ACL_EDIT_MODE1 = -2147416016; - -const int CSSMERR_CSP_ACL_CHANGE_FAILED1 = -2147416015; - -const int CSSMERR_CSP_INVALID_NEW_ACL_ENTRY1 = -2147416014; - -const int CSSMERR_CSP_INVALID_NEW_ACL_OWNER1 = -2147416013; - -const int CSSMERR_CSP_ACL_DELETE_FAILED1 = -2147416012; - -const int CSSMERR_CSP_ACL_REPLACE_FAILED1 = -2147416011; - -const int CSSMERR_CSP_ACL_ADD_FAILED1 = -2147416010; - -const int CSSMERR_CSP_INVALID_CONTEXT_HANDLE1 = -2147416000; - -const int CSSMERR_CSP_PRIVILEGE_NOT_GRANTED1 = -2147415989; - -const int CSSMERR_CSP_INVALID_DATA1 = -2147415994; - -const int CSSMERR_CSP_INVALID_PASSTHROUGH_ID1 = -2147415978; - -const int CSSMERR_CSP_INVALID_CRYPTO_DATA1 = -2147415976; - -const int CSSM_CSP_BASE_CSP_ERROR1 = -2147415808; - -const int CSSMERR_CSP_INPUT_LENGTH_ERROR1 = -2147415807; - -const int CSSMERR_CSP_OUTPUT_LENGTH_ERROR1 = -2147415806; - -const int CSSMERR_CSP_PRIVILEGE_NOT_SUPPORTED1 = -2147415805; - -const int CSSMERR_CSP_DEVICE_ERROR1 = -2147415804; - -const int CSSMERR_CSP_DEVICE_MEMORY_ERROR1 = -2147415803; - -const int CSSMERR_CSP_ATTACH_HANDLE_BUSY1 = -2147415802; - -const int CSSMERR_CSP_NOT_LOGGED_IN1 = -2147415801; - -const int CSSMERR_CSP_INVALID_KEY1 = -2147415792; - -const int CSSMERR_CSP_INVALID_KEY_REFERENCE1 = -2147415791; - -const int CSSMERR_CSP_INVALID_KEY_CLASS1 = -2147415790; - -const int CSSMERR_CSP_ALGID_MISMATCH1 = -2147415789; - -const int CSSMERR_CSP_KEY_USAGE_INCORRECT1 = -2147415788; - -const int CSSMERR_CSP_KEY_BLOB_TYPE_INCORRECT1 = -2147415787; - -const int CSSMERR_CSP_KEY_HEADER_INCONSISTENT1 = -2147415786; - -const int CSSMERR_CSP_UNSUPPORTED_KEY_FORMAT1 = -2147415785; - -const int CSSMERR_CSP_UNSUPPORTED_KEY_SIZE1 = -2147415784; - -const int CSSMERR_CSP_INVALID_KEY_POINTER1 = -2147415783; - -const int CSSMERR_CSP_INVALID_KEYUSAGE_MASK1 = -2147415782; - -const int CSSMERR_CSP_UNSUPPORTED_KEYUSAGE_MASK1 = -2147415781; - -const int CSSMERR_CSP_INVALID_KEYATTR_MASK1 = -2147415780; - -const int CSSMERR_CSP_UNSUPPORTED_KEYATTR_MASK1 = -2147415779; - -const int CSSMERR_CSP_INVALID_KEY_LABEL1 = -2147415778; - -const int CSSMERR_CSP_UNSUPPORTED_KEY_LABEL1 = -2147415777; - -const int CSSMERR_CSP_INVALID_KEY_FORMAT1 = -2147415776; - -const int CSSMERR_CSP_INVALID_DATA_COUNT1 = -2147415768; - -const int CSSMERR_CSP_VECTOR_OF_BUFS_UNSUPPORTED1 = -2147415767; - -const int CSSMERR_CSP_INVALID_INPUT_VECTOR1 = -2147415766; - -const int CSSMERR_CSP_INVALID_OUTPUT_VECTOR1 = -2147415765; - -const int CSSMERR_CSP_INVALID_CONTEXT1 = -2147415760; - -const int CSSMERR_CSP_INVALID_ALGORITHM1 = -2147415759; - -const int CSSMERR_CSP_INVALID_ATTR_KEY1 = -2147415754; - -const int CSSMERR_CSP_MISSING_ATTR_KEY1 = -2147415753; - -const int CSSMERR_CSP_INVALID_ATTR_INIT_VECTOR1 = -2147415752; - -const int CSSMERR_CSP_MISSING_ATTR_INIT_VECTOR1 = -2147415751; - -const int CSSMERR_CSP_INVALID_ATTR_SALT1 = -2147415750; - -const int CSSMERR_CSP_MISSING_ATTR_SALT1 = -2147415749; - -const int CSSMERR_CSP_INVALID_ATTR_PADDING1 = -2147415748; - -const int CSSMERR_CSP_MISSING_ATTR_PADDING1 = -2147415747; - -const int CSSMERR_CSP_INVALID_ATTR_RANDOM1 = -2147415746; - -const int CSSMERR_CSP_MISSING_ATTR_RANDOM1 = -2147415745; - -const int CSSMERR_CSP_INVALID_ATTR_SEED1 = -2147415744; - -const int CSSMERR_CSP_MISSING_ATTR_SEED1 = -2147415743; - -const int CSSMERR_CSP_INVALID_ATTR_PASSPHRASE1 = -2147415742; - -const int CSSMERR_CSP_MISSING_ATTR_PASSPHRASE1 = -2147415741; - -const int CSSMERR_CSP_INVALID_ATTR_KEY_LENGTH1 = -2147415740; - -const int CSSMERR_CSP_MISSING_ATTR_KEY_LENGTH1 = -2147415739; - -const int CSSMERR_CSP_INVALID_ATTR_BLOCK_SIZE1 = -2147415738; - -const int CSSMERR_CSP_MISSING_ATTR_BLOCK_SIZE1 = -2147415737; - -const int CSSMERR_CSP_INVALID_ATTR_OUTPUT_SIZE1 = -2147415708; - -const int CSSMERR_CSP_MISSING_ATTR_OUTPUT_SIZE1 = -2147415707; - -const int CSSMERR_CSP_INVALID_ATTR_ROUNDS1 = -2147415706; - -const int CSSMERR_CSP_MISSING_ATTR_ROUNDS1 = -2147415705; - -const int CSSMERR_CSP_INVALID_ATTR_ALG_PARAMS1 = -2147415704; - -const int CSSMERR_CSP_MISSING_ATTR_ALG_PARAMS1 = -2147415703; - -const int CSSMERR_CSP_INVALID_ATTR_LABEL1 = -2147415702; - -const int CSSMERR_CSP_MISSING_ATTR_LABEL1 = -2147415701; - -const int CSSMERR_CSP_INVALID_ATTR_KEY_TYPE1 = -2147415700; - -const int CSSMERR_CSP_MISSING_ATTR_KEY_TYPE1 = -2147415699; - -const int CSSMERR_CSP_INVALID_ATTR_MODE1 = -2147415698; - -const int CSSMERR_CSP_MISSING_ATTR_MODE1 = -2147415697; - -const int CSSMERR_CSP_INVALID_ATTR_EFFECTIVE_BITS1 = -2147415696; - -const int CSSMERR_CSP_MISSING_ATTR_EFFECTIVE_BITS1 = -2147415695; - -const int CSSMERR_CSP_INVALID_ATTR_START_DATE1 = -2147415694; - -const int CSSMERR_CSP_MISSING_ATTR_START_DATE1 = -2147415693; - -const int CSSMERR_CSP_INVALID_ATTR_END_DATE1 = -2147415692; - -const int CSSMERR_CSP_MISSING_ATTR_END_DATE1 = -2147415691; - -const int CSSMERR_CSP_INVALID_ATTR_VERSION1 = -2147415690; - -const int CSSMERR_CSP_MISSING_ATTR_VERSION1 = -2147415689; - -const int CSSMERR_CSP_INVALID_ATTR_PRIME1 = -2147415688; - -const int CSSMERR_CSP_MISSING_ATTR_PRIME1 = -2147415687; - -const int CSSMERR_CSP_INVALID_ATTR_BASE1 = -2147415686; - -const int CSSMERR_CSP_MISSING_ATTR_BASE1 = -2147415685; - -const int CSSMERR_CSP_INVALID_ATTR_SUBPRIME1 = -2147415684; - -const int CSSMERR_CSP_MISSING_ATTR_SUBPRIME1 = -2147415683; - -const int CSSMERR_CSP_INVALID_ATTR_ITERATION_COUNT1 = -2147415682; - -const int CSSMERR_CSP_MISSING_ATTR_ITERATION_COUNT1 = -2147415681; - -const int CSSMERR_CSP_INVALID_ATTR_DL_DB_HANDLE1 = -2147415680; - -const int CSSMERR_CSP_MISSING_ATTR_DL_DB_HANDLE1 = -2147415679; - -const int CSSMERR_CSP_INVALID_ATTR_ACCESS_CREDENTIALS1 = -2147415678; - -const int CSSMERR_CSP_MISSING_ATTR_ACCESS_CREDENTIALS1 = -2147415677; - -const int CSSMERR_CSP_INVALID_ATTR_PUBLIC_KEY_FORMAT1 = -2147415676; - -const int CSSMERR_CSP_MISSING_ATTR_PUBLIC_KEY_FORMAT1 = -2147415675; - -const int CSSMERR_CSP_INVALID_ATTR_PRIVATE_KEY_FORMAT1 = -2147415674; - -const int CSSMERR_CSP_MISSING_ATTR_PRIVATE_KEY_FORMAT1 = -2147415673; - -const int CSSMERR_CSP_INVALID_ATTR_SYMMETRIC_KEY_FORMAT1 = -2147415672; - -const int CSSMERR_CSP_MISSING_ATTR_SYMMETRIC_KEY_FORMAT1 = -2147415671; - -const int CSSMERR_CSP_INVALID_ATTR_WRAPPED_KEY_FORMAT1 = -2147415670; - -const int CSSMERR_CSP_MISSING_ATTR_WRAPPED_KEY_FORMAT1 = -2147415669; - -const int CSSMERR_CSP_STAGED_OPERATION_IN_PROGRESS1 = -2147415736; - -const int CSSMERR_CSP_STAGED_OPERATION_NOT_STARTED1 = -2147415735; - -const int CSSMERR_CSP_VERIFY_FAILED1 = -2147415734; - -const int CSSMERR_CSP_INVALID_SIGNATURE1 = -2147415733; - -const int CSSMERR_CSP_QUERY_SIZE_UNKNOWN1 = -2147415732; - -const int CSSMERR_CSP_BLOCK_SIZE_MISMATCH1 = -2147415731; - -const int CSSMERR_CSP_PRIVATE_KEY_NOT_FOUND1 = -2147415730; - -const int CSSMERR_CSP_PUBLIC_KEY_INCONSISTENT1 = -2147415729; - -const int CSSMERR_CSP_DEVICE_VERIFY_FAILED1 = -2147415728; - -const int CSSMERR_CSP_INVALID_LOGIN_NAME1 = -2147415727; - -const int CSSMERR_CSP_ALREADY_LOGGED_IN1 = -2147415726; - -const int CSSMERR_CSP_PRIVATE_KEY_ALREADY_EXISTS1 = -2147415725; - -const int CSSMERR_CSP_KEY_LABEL_ALREADY_EXISTS1 = -2147415724; - -const int CSSMERR_CSP_INVALID_DIGEST_ALGORITHM1 = -2147415723; - -const int CSSMERR_CSP_CRYPTO_DATA_CALLBACK_FAILED1 = -2147415722; - -const int CSSMERR_TP_INTERNAL_ERROR1 = -2147409919; - -const int CSSMERR_TP_MEMORY_ERROR1 = -2147409918; - -const int CSSMERR_TP_MDS_ERROR1 = -2147409917; - -const int CSSMERR_TP_INVALID_POINTER1 = -2147409916; - -const int CSSMERR_TP_INVALID_INPUT_POINTER1 = -2147409915; - -const int CSSMERR_TP_INVALID_OUTPUT_POINTER1 = -2147409914; - -const int CSSMERR_TP_FUNCTION_NOT_IMPLEMENTED1 = -2147409913; - -const int CSSMERR_TP_SELF_CHECK_FAILED1 = -2147409912; - -const int CSSMERR_TP_OS_ACCESS_DENIED1 = -2147409911; - -const int CSSMERR_TP_FUNCTION_FAILED1 = -2147409910; - -const int CSSMERR_TP_INVALID_CONTEXT_HANDLE1 = -2147409856; - -const int CSSMERR_TP_INVALID_DATA1 = -2147409850; - -const int CSSMERR_TP_INVALID_DB_LIST1 = -2147409844; - -const int CSSMERR_TP_INVALID_CERTGROUP_POINTER1 = -2147409854; - -const int CSSMERR_TP_INVALID_CERT_POINTER1 = -2147409853; - -const int CSSMERR_TP_INVALID_CRL_POINTER1 = -2147409852; - -const int CSSMERR_TP_INVALID_FIELD_POINTER1 = -2147409851; - -const int CSSMERR_TP_INVALID_NETWORK_ADDR1 = -2147409833; - -const int CSSMERR_TP_CRL_ALREADY_SIGNED1 = -2147409849; - -const int CSSMERR_TP_INVALID_NUMBER_OF_FIELDS1 = -2147409848; - -const int CSSMERR_TP_VERIFICATION_FAILURE1 = -2147409847; - -const int CSSMERR_TP_INVALID_DB_HANDLE1 = -2147409846; - -const int CSSMERR_TP_UNKNOWN_FORMAT1 = -2147409842; - -const int CSSMERR_TP_UNKNOWN_TAG1 = -2147409841; - -const int CSSMERR_TP_INVALID_PASSTHROUGH_ID1 = -2147409834; - -const int CSSMERR_TP_INVALID_CSP_HANDLE1 = -2147409840; - -const int CSSMERR_TP_INVALID_DL_HANDLE1 = -2147409839; - -const int CSSMERR_TP_INVALID_CL_HANDLE1 = -2147409838; - -const int CSSMERR_TP_INVALID_DB_LIST_POINTER1 = -2147409843; - -const int CSSM_TP_BASE_TP_ERROR1 = -2147409664; - -const int CSSMERR_TP_INVALID_CALLERAUTH_CONTEXT_POINTER1 = -2147409663; - -const int CSSMERR_TP_INVALID_IDENTIFIER_POINTER1 = -2147409662; - -const int CSSMERR_TP_INVALID_KEYCACHE_HANDLE1 = -2147409661; - -const int CSSMERR_TP_INVALID_CERTGROUP1 = -2147409660; - -const int CSSMERR_TP_INVALID_CRLGROUP1 = -2147409659; - -const int CSSMERR_TP_INVALID_CRLGROUP_POINTER1 = -2147409658; - -const int CSSMERR_TP_AUTHENTICATION_FAILED1 = -2147409657; - -const int CSSMERR_TP_CERTGROUP_INCOMPLETE1 = -2147409656; - -const int CSSMERR_TP_CERTIFICATE_CANT_OPERATE1 = -2147409655; - -const int CSSMERR_TP_CERT_EXPIRED1 = -2147409654; - -const int CSSMERR_TP_CERT_NOT_VALID_YET1 = -2147409653; - -const int CSSMERR_TP_CERT_REVOKED1 = -2147409652; - -const int CSSMERR_TP_CERT_SUSPENDED1 = -2147409651; - -const int CSSMERR_TP_INSUFFICIENT_CREDENTIALS1 = -2147409650; - -const int CSSMERR_TP_INVALID_ACTION1 = -2147409649; - -const int CSSMERR_TP_INVALID_ACTION_DATA1 = -2147409648; - -const int CSSMERR_TP_INVALID_ANCHOR_CERT1 = -2147409646; - -const int CSSMERR_TP_INVALID_AUTHORITY1 = -2147409645; - -const int CSSMERR_TP_VERIFY_ACTION_FAILED1 = -2147409644; - -const int CSSMERR_TP_INVALID_CERTIFICATE1 = -2147409643; - -const int CSSMERR_TP_INVALID_CERT_AUTHORITY1 = -2147409642; - -const int CSSMERR_TP_INVALID_CRL_AUTHORITY1 = -2147409641; - -const int CSSMERR_TP_INVALID_CRL_ENCODING1 = -2147409640; - -const int CSSMERR_TP_INVALID_CRL_TYPE1 = -2147409639; - -const int CSSMERR_TP_INVALID_CRL1 = -2147409638; - -const int CSSMERR_TP_INVALID_FORM_TYPE1 = -2147409637; - -const int CSSMERR_TP_INVALID_ID1 = -2147409636; - -const int CSSMERR_TP_INVALID_IDENTIFIER1 = -2147409635; - -const int CSSMERR_TP_INVALID_INDEX1 = -2147409634; - -const int CSSMERR_TP_INVALID_NAME1 = -2147409633; - -const int CSSMERR_TP_INVALID_POLICY_IDENTIFIERS1 = -2147409632; - -const int CSSMERR_TP_INVALID_TIMESTRING1 = -2147409631; - -const int CSSMERR_TP_INVALID_REASON1 = -2147409630; - -const int CSSMERR_TP_INVALID_REQUEST_INPUTS1 = -2147409629; - -const int CSSMERR_TP_INVALID_RESPONSE_VECTOR1 = -2147409628; - -const int CSSMERR_TP_INVALID_SIGNATURE1 = -2147409627; - -const int CSSMERR_TP_INVALID_STOP_ON_POLICY1 = -2147409626; - -const int CSSMERR_TP_INVALID_CALLBACK1 = -2147409625; - -const int CSSMERR_TP_INVALID_TUPLE1 = -2147409624; - -const int CSSMERR_TP_NOT_SIGNER1 = -2147409623; - -const int CSSMERR_TP_NOT_TRUSTED1 = -2147409622; - -const int CSSMERR_TP_NO_DEFAULT_AUTHORITY1 = -2147409621; - -const int CSSMERR_TP_REJECTED_FORM1 = -2147409620; - -const int CSSMERR_TP_REQUEST_LOST1 = -2147409619; - -const int CSSMERR_TP_REQUEST_REJECTED1 = -2147409618; - -const int CSSMERR_TP_UNSUPPORTED_ADDR_TYPE1 = -2147409617; - -const int CSSMERR_TP_UNSUPPORTED_SERVICE1 = -2147409616; - -const int CSSMERR_TP_INVALID_TUPLEGROUP_POINTER1 = -2147409615; - -const int CSSMERR_TP_INVALID_TUPLEGROUP1 = -2147409614; - -const int CSSMERR_AC_INTERNAL_ERROR1 = -2147405823; - -const int CSSMERR_AC_MEMORY_ERROR1 = -2147405822; - -const int CSSMERR_AC_MDS_ERROR1 = -2147405821; - -const int CSSMERR_AC_INVALID_POINTER1 = -2147405820; - -const int CSSMERR_AC_INVALID_INPUT_POINTER1 = -2147405819; - -const int CSSMERR_AC_INVALID_OUTPUT_POINTER1 = -2147405818; - -const int CSSMERR_AC_FUNCTION_NOT_IMPLEMENTED1 = -2147405817; - -const int CSSMERR_AC_SELF_CHECK_FAILED1 = -2147405816; - -const int CSSMERR_AC_OS_ACCESS_DENIED1 = -2147405815; - -const int CSSMERR_AC_FUNCTION_FAILED1 = -2147405814; - -const int CSSMERR_AC_INVALID_CONTEXT_HANDLE1 = -2147405760; - -const int CSSMERR_AC_INVALID_DATA1 = -2147405754; - -const int CSSMERR_AC_INVALID_DB_LIST1 = -2147405748; - -const int CSSMERR_AC_INVALID_PASSTHROUGH_ID1 = -2147405738; - -const int CSSMERR_AC_INVALID_DL_HANDLE1 = -2147405743; - -const int CSSMERR_AC_INVALID_CL_HANDLE1 = -2147405742; - -const int CSSMERR_AC_INVALID_TP_HANDLE1 = -2147405741; - -const int CSSMERR_AC_INVALID_DB_HANDLE1 = -2147405750; - -const int CSSMERR_AC_INVALID_DB_LIST_POINTER1 = -2147405747; - -const int CSSM_AC_BASE_AC_ERROR1 = -2147405568; - -const int CSSMERR_AC_INVALID_BASE_ACLS1 = -2147405567; - -const int CSSMERR_AC_INVALID_TUPLE_CREDENTIALS1 = -2147405566; - -const int CSSMERR_AC_INVALID_ENCODING1 = -2147405565; - -const int CSSMERR_AC_INVALID_VALIDITY_PERIOD1 = -2147405564; - -const int CSSMERR_AC_INVALID_REQUESTOR1 = -2147405563; - -const int CSSMERR_AC_INVALID_REQUEST_DESCRIPTOR1 = -2147405562; - -const int CSSMERR_CL_INTERNAL_ERROR1 = -2147411967; - -const int CSSMERR_CL_MEMORY_ERROR1 = -2147411966; - -const int CSSMERR_CL_MDS_ERROR1 = -2147411965; - -const int CSSMERR_CL_INVALID_POINTER1 = -2147411964; - -const int CSSMERR_CL_INVALID_INPUT_POINTER1 = -2147411963; - -const int CSSMERR_CL_INVALID_OUTPUT_POINTER1 = -2147411962; - -const int CSSMERR_CL_FUNCTION_NOT_IMPLEMENTED1 = -2147411961; - -const int CSSMERR_CL_SELF_CHECK_FAILED1 = -2147411960; - -const int CSSMERR_CL_OS_ACCESS_DENIED1 = -2147411959; - -const int CSSMERR_CL_FUNCTION_FAILED1 = -2147411958; - -const int CSSMERR_CL_INVALID_CONTEXT_HANDLE1 = -2147411904; - -const int CSSMERR_CL_INVALID_CERTGROUP_POINTER1 = -2147411902; - -const int CSSMERR_CL_INVALID_CERT_POINTER1 = -2147411901; - -const int CSSMERR_CL_INVALID_CRL_POINTER1 = -2147411900; - -const int CSSMERR_CL_INVALID_FIELD_POINTER1 = -2147411899; - -const int CSSMERR_CL_INVALID_DATA1 = -2147411898; - -const int CSSMERR_CL_CRL_ALREADY_SIGNED1 = -2147411897; - -const int CSSMERR_CL_INVALID_NUMBER_OF_FIELDS1 = -2147411896; - -const int CSSMERR_CL_VERIFICATION_FAILURE1 = -2147411895; - -const int CSSMERR_CL_UNKNOWN_FORMAT1 = -2147411890; - -const int CSSMERR_CL_UNKNOWN_TAG1 = -2147411889; - -const int CSSMERR_CL_INVALID_PASSTHROUGH_ID1 = -2147411882; - -const int CSSM_CL_BASE_CL_ERROR1 = -2147411712; - -const int CSSMERR_CL_INVALID_BUNDLE_POINTER1 = -2147411711; - -const int CSSMERR_CL_INVALID_CACHE_HANDLE1 = -2147411710; - -const int CSSMERR_CL_INVALID_RESULTS_HANDLE1 = -2147411709; - -const int CSSMERR_CL_INVALID_BUNDLE_INFO1 = -2147411708; - -const int CSSMERR_CL_INVALID_CRL_INDEX1 = -2147411707; - -const int CSSMERR_CL_INVALID_SCOPE1 = -2147411706; - -const int CSSMERR_CL_NO_FIELD_VALUES1 = -2147411705; - -const int CSSMERR_CL_SCOPE_NOT_SUPPORTED1 = -2147411704; - -const int CSSMERR_DL_INTERNAL_ERROR1 = -2147414015; - -const int CSSMERR_DL_MEMORY_ERROR1 = -2147414014; - -const int CSSMERR_DL_MDS_ERROR1 = -2147414013; - -const int CSSMERR_DL_INVALID_POINTER1 = -2147414012; - -const int CSSMERR_DL_INVALID_INPUT_POINTER1 = -2147414011; - -const int CSSMERR_DL_INVALID_OUTPUT_POINTER1 = -2147414010; - -const int CSSMERR_DL_FUNCTION_NOT_IMPLEMENTED1 = -2147414009; - -const int CSSMERR_DL_SELF_CHECK_FAILED1 = -2147414008; - -const int CSSMERR_DL_OS_ACCESS_DENIED1 = -2147414007; - -const int CSSMERR_DL_FUNCTION_FAILED1 = -2147414006; - -const int CSSMERR_DL_INVALID_CSP_HANDLE1 = -2147413936; - -const int CSSMERR_DL_INVALID_DL_HANDLE1 = -2147413935; - -const int CSSMERR_DL_INVALID_CL_HANDLE1 = -2147413934; - -const int CSSMERR_DL_INVALID_DB_LIST_POINTER1 = -2147413939; - -const int CSSMERR_DL_OPERATION_AUTH_DENIED1 = -2147413984; - -const int CSSMERR_DL_OBJECT_USE_AUTH_DENIED1 = -2147413983; - -const int CSSMERR_DL_OBJECT_MANIP_AUTH_DENIED1 = -2147413982; - -const int CSSMERR_DL_OBJECT_ACL_NOT_SUPPORTED1 = -2147413981; - -const int CSSMERR_DL_OBJECT_ACL_REQUIRED1 = -2147413980; - -const int CSSMERR_DL_INVALID_ACCESS_CREDENTIALS1 = -2147413979; - -const int CSSMERR_DL_INVALID_ACL_BASE_CERTS1 = -2147413978; - -const int CSSMERR_DL_ACL_BASE_CERTS_NOT_SUPPORTED1 = -2147413977; - -const int CSSMERR_DL_INVALID_SAMPLE_VALUE1 = -2147413976; - -const int CSSMERR_DL_SAMPLE_VALUE_NOT_SUPPORTED1 = -2147413975; - -const int CSSMERR_DL_INVALID_ACL_SUBJECT_VALUE1 = -2147413974; - -const int CSSMERR_DL_ACL_SUBJECT_TYPE_NOT_SUPPORTED1 = -2147413973; - -const int CSSMERR_DL_INVALID_ACL_CHALLENGE_CALLBACK1 = -2147413972; - -const int CSSMERR_DL_ACL_CHALLENGE_CALLBACK_FAILED1 = -2147413971; - -const int CSSMERR_DL_INVALID_ACL_ENTRY_TAG1 = -2147413970; - -const int CSSMERR_DL_ACL_ENTRY_TAG_NOT_FOUND1 = -2147413969; - -const int CSSMERR_DL_INVALID_ACL_EDIT_MODE1 = -2147413968; - -const int CSSMERR_DL_ACL_CHANGE_FAILED1 = -2147413967; - -const int CSSMERR_DL_INVALID_NEW_ACL_ENTRY1 = -2147413966; - -const int CSSMERR_DL_INVALID_NEW_ACL_OWNER1 = -2147413965; - -const int CSSMERR_DL_ACL_DELETE_FAILED1 = -2147413964; - -const int CSSMERR_DL_ACL_REPLACE_FAILED1 = -2147413963; - -const int CSSMERR_DL_ACL_ADD_FAILED1 = -2147413962; - -const int CSSMERR_DL_INVALID_DB_HANDLE1 = -2147413942; - -const int CSSMERR_DL_INVALID_PASSTHROUGH_ID1 = -2147413930; - -const int CSSMERR_DL_INVALID_NETWORK_ADDR1 = -2147413929; - -const int CSSM_DL_BASE_DL_ERROR1 = -2147413760; - -const int CSSMERR_DL_DATABASE_CORRUPT1 = -2147413759; - -const int CSSMERR_DL_INVALID_RECORD_INDEX1 = -2147413752; - -const int CSSMERR_DL_INVALID_RECORDTYPE1 = -2147413751; - -const int CSSMERR_DL_INVALID_FIELD_NAME1 = -2147413750; - -const int CSSMERR_DL_UNSUPPORTED_FIELD_FORMAT1 = -2147413749; - -const int CSSMERR_DL_UNSUPPORTED_INDEX_INFO1 = -2147413748; - -const int CSSMERR_DL_UNSUPPORTED_LOCALITY1 = -2147413747; - -const int CSSMERR_DL_UNSUPPORTED_NUM_ATTRIBUTES1 = -2147413746; - -const int CSSMERR_DL_UNSUPPORTED_NUM_INDEXES1 = -2147413745; - -const int CSSMERR_DL_UNSUPPORTED_NUM_RECORDTYPES1 = -2147413744; - -const int CSSMERR_DL_UNSUPPORTED_RECORDTYPE1 = -2147413743; - -const int CSSMERR_DL_FIELD_SPECIFIED_MULTIPLE1 = -2147413742; - -const int CSSMERR_DL_INCOMPATIBLE_FIELD_FORMAT1 = -2147413741; - -const int CSSMERR_DL_INVALID_PARSING_MODULE1 = -2147413740; - -const int CSSMERR_DL_INVALID_DB_NAME1 = -2147413738; - -const int CSSMERR_DL_DATASTORE_DOESNOT_EXIST1 = -2147413737; - -const int CSSMERR_DL_DATASTORE_ALREADY_EXISTS1 = -2147413736; - -const int CSSMERR_DL_DB_LOCKED1 = -2147413735; - -const int CSSMERR_DL_DATASTORE_IS_OPEN1 = -2147413734; - -const int CSSMERR_DL_RECORD_NOT_FOUND1 = -2147413733; - -const int CSSMERR_DL_MISSING_VALUE1 = -2147413732; - -const int CSSMERR_DL_UNSUPPORTED_QUERY1 = -2147413731; - -const int CSSMERR_DL_UNSUPPORTED_QUERY_LIMITS1 = -2147413730; - -const int CSSMERR_DL_UNSUPPORTED_NUM_SELECTION_PREDS1 = -2147413729; - -const int CSSMERR_DL_UNSUPPORTED_OPERATOR1 = -2147413727; - -const int CSSMERR_DL_INVALID_RESULTS_HANDLE1 = -2147413726; - -const int CSSMERR_DL_INVALID_DB_LOCATION1 = -2147413725; - -const int CSSMERR_DL_INVALID_ACCESS_REQUEST1 = -2147413724; - -const int CSSMERR_DL_INVALID_INDEX_INFO1 = -2147413723; - -const int CSSMERR_DL_INVALID_SELECTION_TAG1 = -2147413722; - -const int CSSMERR_DL_INVALID_NEW_OWNER1 = -2147413721; - -const int CSSMERR_DL_INVALID_RECORD_UID1 = -2147413720; - -const int CSSMERR_DL_INVALID_UNIQUE_INDEX_DATA1 = -2147413719; - -const int CSSMERR_DL_INVALID_MODIFY_MODE1 = -2147413718; - -const int CSSMERR_DL_INVALID_OPEN_PARAMETERS1 = -2147413717; - -const int CSSMERR_DL_RECORD_MODIFIED1 = -2147413716; - -const int CSSMERR_DL_ENDOFDATA1 = -2147413715; - -const int CSSMERR_DL_INVALID_QUERY1 = -2147413714; - -const int CSSMERR_DL_INVALID_VALUE1 = -2147413713; - -const int CSSMERR_DL_MULTIPLE_VALUES_UNSUPPORTED1 = -2147413712; - -const int CSSMERR_DL_STALE_UNIQUE_RECORD1 = -2147413711; - -const int CSSM_WORDID_KEYCHAIN_PROMPT1 = 65536; - -const int CSSM_WORDID_KEYCHAIN_LOCK1 = 65537; - -const int CSSM_WORDID_KEYCHAIN_CHANGE_LOCK1 = 65538; - -const int CSSM_WORDID_PROCESS1 = 65539; - -const int CSSM_WORDID__RESERVED_11 = 65540; - -const int CSSM_WORDID_SYMMETRIC_KEY1 = 65541; - -const int CSSM_WORDID_SYSTEM1 = 65542; - -const int CSSM_WORDID_KEY1 = 65543; - -const int CSSM_WORDID_PIN1 = 65544; - -const int CSSM_WORDID_PREAUTH1 = 65545; - -const int CSSM_WORDID_PREAUTH_SOURCE1 = 65546; - -const int CSSM_WORDID_ASYMMETRIC_KEY1 = 65547; - -const int CSSM_WORDID_PARTITION1 = 65548; - -const int CSSM_WORDID_KEYBAG_KEY1 = 65549; - -const int CSSM_WORDID__FIRST_UNUSED1 = 65550; - -const int CSSM_ACL_SUBJECT_TYPE_KEYCHAIN_PROMPT1 = 65536; - -const int CSSM_ACL_SUBJECT_TYPE_PROCESS1 = 65539; - -const int CSSM_ACL_SUBJECT_TYPE_CODE_SIGNATURE1 = 116; - -const int CSSM_ACL_SUBJECT_TYPE_COMMENT1 = 12; - -const int CSSM_ACL_SUBJECT_TYPE_SYMMETRIC_KEY1 = 65541; - -const int CSSM_ACL_SUBJECT_TYPE_PREAUTH1 = 65545; - -const int CSSM_ACL_SUBJECT_TYPE_PREAUTH_SOURCE1 = 65546; - -const int CSSM_ACL_SUBJECT_TYPE_ASYMMETRIC_KEY1 = 65547; - -const int CSSM_ACL_SUBJECT_TYPE_PARTITION1 = 65548; - -const int CSSM_SAMPLE_TYPE_KEYCHAIN_PROMPT1 = 65536; - -const int CSSM_SAMPLE_TYPE_KEYCHAIN_LOCK1 = 65537; - -const int CSSM_SAMPLE_TYPE_KEYCHAIN_CHANGE_LOCK1 = 65538; - -const int CSSM_SAMPLE_TYPE_PROCESS1 = 65539; - -const int CSSM_SAMPLE_TYPE_COMMENT1 = 12; - -const int CSSM_SAMPLE_TYPE_RETRY_ID1 = 85; - -const int CSSM_SAMPLE_TYPE_SYMMETRIC_KEY1 = 65541; - -const int CSSM_SAMPLE_TYPE_PREAUTH1 = 65545; - -const int CSSM_SAMPLE_TYPE_ASYMMETRIC_KEY1 = 65547; - -const int CSSM_SAMPLE_TYPE_KEYBAG_KEY1 = 65549; - -const int CSSM_ACL_AUTHORIZATION_CHANGE_ACL1 = 65536; - -const int CSSM_ACL_AUTHORIZATION_CHANGE_OWNER1 = 65537; - -const int CSSM_ACL_AUTHORIZATION_PARTITION_ID1 = 65538; - -const int CSSM_ACL_AUTHORIZATION_INTEGRITY1 = 65539; - -const int CSSM_ACL_AUTHORIZATION_PREAUTH_BASE1 = 16842752; - -const int CSSM_ACL_AUTHORIZATION_PREAUTH_END1 = 16908288; - -const int CSSM_ACL_CODE_SIGNATURE_INVALID1 = 0; - -const int CSSM_ACL_CODE_SIGNATURE_OSX1 = 1; - -const int CSSM_ACL_MATCH_UID1 = 1; - -const int CSSM_ACL_MATCH_GID1 = 2; - -const int CSSM_ACL_MATCH_HONOR_ROOT1 = 256; - -const int CSSM_ACL_MATCH_BITS1 = 3; - -const int CSSM_ACL_PROCESS_SELECTOR_CURRENT_VERSION1 = 257; - -const int CSSM_ACL_KEYCHAIN_PROMPT_CURRENT_VERSION1 = 257; - -const int CSSM_ACL_KEYCHAIN_PROMPT_REQUIRE_PASSPHRASE1 = 1; - -const int CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED1 = 16; - -const int CSSM_ACL_KEYCHAIN_PROMPT_UNSIGNED_ACT1 = 32; - -const int CSSM_ACL_KEYCHAIN_PROMPT_INVALID1 = 64; - -const int CSSM_ACL_KEYCHAIN_PROMPT_INVALID_ACT1 = 128; - -const int CSSM_ACL_PREAUTH_TRACKING_COUNT_MASK1 = 255; - -const int CSSM_ACL_PREAUTH_TRACKING_BLOCKED1 = 0; - -const int CSSM_ACL_PREAUTH_TRACKING_UNKNOWN1 = 1073741824; - -const int CSSM_ACL_PREAUTH_TRACKING_AUTHORIZED1 = -2147483648; - -const int CSSM_DB_ACCESS_RESET1 = 65536; - -const int CSSM_ALGID_APPLE_YARROW1 = -2147483648; - -const int CSSM_ALGID_AES1 = -2147483647; - -const int CSSM_ALGID_FEE1 = -2147483646; - -const int CSSM_ALGID_FEE_MD51 = -2147483645; - -const int CSSM_ALGID_FEE_SHA11 = -2147483644; - -const int CSSM_ALGID_FEED1 = -2147483643; - -const int CSSM_ALGID_FEEDEXP1 = -2147483642; - -const int CSSM_ALGID_ASC1 = -2147483641; - -const int CSSM_ALGID_SHA1HMAC_LEGACY1 = -2147483640; - -const int CSSM_ALGID_KEYCHAIN_KEY1 = -2147483639; - -const int CSSM_ALGID_PKCS12_PBE_ENCR1 = -2147483638; - -const int CSSM_ALGID_PKCS12_PBE_MAC1 = -2147483637; - -const int CSSM_ALGID_SECURE_PASSPHRASE1 = -2147483636; - -const int CSSM_ALGID_PBE_OPENSSL_MD51 = -2147483635; - -const int CSSM_ALGID_SHA2561 = -2147483634; - -const int CSSM_ALGID_SHA3841 = -2147483633; - -const int CSSM_ALGID_SHA5121 = -2147483632; - -const int CSSM_ALGID_ENTROPY_DEFAULT1 = -2147483631; - -const int CSSM_ALGID_SHA2241 = -2147483630; - -const int CSSM_ALGID_SHA224WithRSA1 = -2147483629; - -const int CSSM_ALGID_SHA256WithRSA1 = -2147483628; - -const int CSSM_ALGID_SHA384WithRSA1 = -2147483627; - -const int CSSM_ALGID_SHA512WithRSA1 = -2147483626; - -const int CSSM_ALGID_OPENSSH11 = -2147483625; - -const int CSSM_ALGID_SHA224WithECDSA1 = -2147483624; - -const int CSSM_ALGID_SHA256WithECDSA1 = -2147483623; - -const int CSSM_ALGID_SHA384WithECDSA1 = -2147483622; - -const int CSSM_ALGID_SHA512WithECDSA1 = -2147483621; - -const int CSSM_ALGID_ECDSA_SPECIFIED1 = -2147483620; - -const int CSSM_ALGID_ECDH_X963_KDF1 = -2147483619; - -const int CSSM_ALGID__FIRST_UNUSED1 = -2147483618; - -const int CSSM_PADDING_APPLE_SSLv21 = -2147483648; - -const int CSSM_KEYBLOB_RAW_FORMAT_VENDOR_DEFINED1 = -2147483648; - -const int CSSM_KEYBLOB_RAW_FORMAT_X5091 = -2147483648; - -const int CSSM_KEYBLOB_RAW_FORMAT_OPENSSH1 = -2147483647; - -const int CSSM_KEYBLOB_RAW_FORMAT_OPENSSL1 = -2147483646; - -const int CSSM_KEYBLOB_RAW_FORMAT_OPENSSH21 = -2147483645; - -const int CSSM_CUSTOM_COMMON_ERROR_EXTENT1 = 224; - -const int CSSM_ERRCODE_NO_USER_INTERACTION1 = 224; - -const int CSSM_ERRCODE_USER_CANCELED1 = 225; - -const int CSSM_ERRCODE_SERVICE_NOT_AVAILABLE1 = 226; - -const int CSSM_ERRCODE_INSUFFICIENT_CLIENT_IDENTIFICATION1 = 227; - -const int CSSM_ERRCODE_DEVICE_RESET1 = 228; - -const int CSSM_ERRCODE_DEVICE_FAILED1 = 229; - -const int CSSM_ERRCODE_IN_DARK_WAKE1 = 230; - -const int CSSMERR_CSSM_NO_USER_INTERACTION1 = -2147417888; - -const int CSSMERR_AC_NO_USER_INTERACTION1 = -2147405600; - -const int CSSMERR_CSP_NO_USER_INTERACTION1 = -2147415840; - -const int CSSMERR_CL_NO_USER_INTERACTION1 = -2147411744; - -const int CSSMERR_DL_NO_USER_INTERACTION1 = -2147413792; - -const int CSSMERR_TP_NO_USER_INTERACTION1 = -2147409696; - -const int CSSMERR_CSSM_USER_CANCELED1 = -2147417887; - -const int CSSMERR_AC_USER_CANCELED1 = -2147405599; - -const int CSSMERR_CSP_USER_CANCELED1 = -2147415839; - -const int CSSMERR_CL_USER_CANCELED1 = -2147411743; - -const int CSSMERR_DL_USER_CANCELED1 = -2147413791; - -const int CSSMERR_TP_USER_CANCELED1 = -2147409695; - -const int CSSMERR_CSSM_SERVICE_NOT_AVAILABLE1 = -2147417886; - -const int CSSMERR_AC_SERVICE_NOT_AVAILABLE1 = -2147405598; - -const int CSSMERR_CSP_SERVICE_NOT_AVAILABLE1 = -2147415838; - -const int CSSMERR_CL_SERVICE_NOT_AVAILABLE1 = -2147411742; - -const int CSSMERR_DL_SERVICE_NOT_AVAILABLE1 = -2147413790; - -const int CSSMERR_TP_SERVICE_NOT_AVAILABLE1 = -2147409694; - -const int CSSMERR_CSSM_INSUFFICIENT_CLIENT_IDENTIFICATION1 = -2147417885; - -const int CSSMERR_AC_INSUFFICIENT_CLIENT_IDENTIFICATION1 = -2147405597; - -const int CSSMERR_CSP_INSUFFICIENT_CLIENT_IDENTIFICATION1 = -2147415837; - -const int CSSMERR_CL_INSUFFICIENT_CLIENT_IDENTIFICATION1 = -2147411741; - -const int CSSMERR_DL_INSUFFICIENT_CLIENT_IDENTIFICATION1 = -2147413789; - -const int CSSMERR_TP_INSUFFICIENT_CLIENT_IDENTIFICATION1 = -2147409693; - -const int CSSMERR_CSSM_DEVICE_RESET1 = -2147417884; - -const int CSSMERR_AC_DEVICE_RESET1 = -2147405596; - -const int CSSMERR_CSP_DEVICE_RESET1 = -2147415836; - -const int CSSMERR_CL_DEVICE_RESET1 = -2147411740; - -const int CSSMERR_DL_DEVICE_RESET1 = -2147413788; - -const int CSSMERR_TP_DEVICE_RESET1 = -2147409692; - -const int CSSMERR_CSSM_DEVICE_FAILED1 = -2147417883; - -const int CSSMERR_AC_DEVICE_FAILED1 = -2147405595; - -const int CSSMERR_CSP_DEVICE_FAILED1 = -2147415835; - -const int CSSMERR_CL_DEVICE_FAILED1 = -2147411739; - -const int CSSMERR_DL_DEVICE_FAILED1 = -2147413787; - -const int CSSMERR_TP_DEVICE_FAILED1 = -2147409691; - -const int CSSMERR_CSSM_IN_DARK_WAKE1 = -2147417882; - -const int CSSMERR_AC_IN_DARK_WAKE1 = -2147405594; - -const int CSSMERR_CSP_IN_DARK_WAKE1 = -2147415834; - -const int CSSMERR_CL_IN_DARK_WAKE1 = -2147411738; - -const int CSSMERR_DL_IN_DARK_WAKE1 = -2147413786; - -const int CSSMERR_TP_IN_DARK_WAKE1 = -2147409690; - -const int CSSMERR_CSP_APPLE_ADD_APPLICATION_ACL_SUBJECT1 = -2147415040; - -const int CSSMERR_CSP_APPLE_PUBLIC_KEY_INCOMPLETE1 = -2147415039; - -const int CSSMERR_CSP_APPLE_SIGNATURE_MISMATCH1 = -2147415038; - -const int CSSMERR_CSP_APPLE_INVALID_KEY_START_DATE1 = -2147415037; - -const int CSSMERR_CSP_APPLE_INVALID_KEY_END_DATE1 = -2147415036; - -const int CSSMERR_CSPDL_APPLE_DL_CONVERSION_ERROR1 = -2147415035; - -const int CSSMERR_CSP_APPLE_SSLv2_ROLLBACK1 = -2147415034; - -const int CSSM_DL_DB_RECORD_GENERIC_PASSWORD1 = -2147483648; - -const int CSSM_DL_DB_RECORD_INTERNET_PASSWORD1 = -2147483647; - -const int CSSM_DL_DB_RECORD_APPLESHARE_PASSWORD1 = -2147483646; - -const int CSSM_DL_DB_RECORD_X509_CERTIFICATE1 = -2147479552; - -const int CSSM_DL_DB_RECORD_USER_TRUST1 = -2147479551; - -const int CSSM_DL_DB_RECORD_X509_CRL1 = -2147479550; - -const int CSSM_DL_DB_RECORD_UNLOCK_REFERRAL1 = -2147479549; - -const int CSSM_DL_DB_RECORD_EXTENDED_ATTRIBUTE1 = -2147479548; - -const int CSSM_DL_DB_RECORD_METADATA1 = -2147450880; - -const int CSSM_APPLEFILEDL_TOGGLE_AUTOCOMMIT1 = 0; - -const int CSSM_APPLEFILEDL_COMMIT1 = 1; - -const int CSSM_APPLEFILEDL_ROLLBACK1 = 2; - -const int CSSM_APPLEFILEDL_TAKE_FILE_LOCK1 = 3; - -const int CSSM_APPLEFILEDL_MAKE_BACKUP1 = 4; - -const int CSSM_APPLEFILEDL_MAKE_COPY1 = 5; - -const int CSSM_APPLEFILEDL_DELETE_FILE1 = 6; - -const int CSSM_APPLE_UNLOCK_TYPE_KEY_DIRECT1 = 1; - -const int CSSM_APPLE_UNLOCK_TYPE_WRAPPED_PRIVATE1 = 2; - -const int CSSM_APPLE_UNLOCK_TYPE_KEYBAG1 = 3; - -const int CSSMERR_APPLEDL_INVALID_OPEN_PARAMETERS1 = -2147412992; - -const int CSSMERR_APPLEDL_DISK_FULL1 = -2147412991; - -const int CSSMERR_APPLEDL_QUOTA_EXCEEDED1 = -2147412990; - -const int CSSMERR_APPLEDL_FILE_TOO_BIG1 = -2147412989; - -const int CSSMERR_APPLEDL_INVALID_DATABASE_BLOB1 = -2147412988; - -const int CSSMERR_APPLEDL_INVALID_KEY_BLOB1 = -2147412987; - -const int CSSMERR_APPLEDL_INCOMPATIBLE_DATABASE_BLOB1 = -2147412986; - -const int CSSMERR_APPLEDL_INCOMPATIBLE_KEY_BLOB1 = -2147412985; - -const int CSSMERR_APPLETP_HOSTNAME_MISMATCH1 = -2147408896; - -const int CSSMERR_APPLETP_UNKNOWN_CRITICAL_EXTEN1 = -2147408895; - -const int CSSMERR_APPLETP_NO_BASIC_CONSTRAINTS1 = -2147408894; - -const int CSSMERR_APPLETP_INVALID_CA1 = -2147408893; - -const int CSSMERR_APPLETP_INVALID_AUTHORITY_ID1 = -2147408892; - -const int CSSMERR_APPLETP_INVALID_SUBJECT_ID1 = -2147408891; - -const int CSSMERR_APPLETP_INVALID_KEY_USAGE1 = -2147408890; - -const int CSSMERR_APPLETP_INVALID_EXTENDED_KEY_USAGE1 = -2147408889; - -const int CSSMERR_APPLETP_INVALID_ID_LINKAGE1 = -2147408888; - -const int CSSMERR_APPLETP_PATH_LEN_CONSTRAINT1 = -2147408887; - -const int CSSMERR_APPLETP_INVALID_ROOT1 = -2147408886; - -const int CSSMERR_APPLETP_CRL_EXPIRED1 = -2147408885; - -const int CSSMERR_APPLETP_CRL_NOT_VALID_YET1 = -2147408884; - -const int CSSMERR_APPLETP_CRL_NOT_FOUND1 = -2147408883; - -const int CSSMERR_APPLETP_CRL_SERVER_DOWN1 = -2147408882; - -const int CSSMERR_APPLETP_CRL_BAD_URI1 = -2147408881; - -const int CSSMERR_APPLETP_UNKNOWN_CERT_EXTEN1 = -2147408880; - -const int CSSMERR_APPLETP_UNKNOWN_CRL_EXTEN1 = -2147408879; - -const int CSSMERR_APPLETP_CRL_NOT_TRUSTED1 = -2147408878; - -const int CSSMERR_APPLETP_CRL_INVALID_ANCHOR_CERT1 = -2147408877; - -const int CSSMERR_APPLETP_CRL_POLICY_FAIL1 = -2147408876; - -const int CSSMERR_APPLETP_IDP_FAIL1 = -2147408875; - -const int CSSMERR_APPLETP_CERT_NOT_FOUND_FROM_ISSUER1 = -2147408874; - -const int CSSMERR_APPLETP_BAD_CERT_FROM_ISSUER1 = -2147408873; - -const int CSSMERR_APPLETP_SMIME_EMAIL_ADDRS_NOT_FOUND1 = -2147408872; - -const int CSSMERR_APPLETP_SMIME_BAD_EXT_KEY_USE1 = -2147408871; - -const int CSSMERR_APPLETP_SMIME_BAD_KEY_USE1 = -2147408870; - -const int CSSMERR_APPLETP_SMIME_KEYUSAGE_NOT_CRITICAL1 = -2147408869; - -const int CSSMERR_APPLETP_SMIME_NO_EMAIL_ADDRS1 = -2147408868; - -const int CSSMERR_APPLETP_SMIME_SUBJ_ALT_NAME_NOT_CRIT1 = -2147408867; - -const int CSSMERR_APPLETP_SSL_BAD_EXT_KEY_USE1 = -2147408866; - -const int CSSMERR_APPLETP_OCSP_BAD_RESPONSE1 = -2147408865; - -const int CSSMERR_APPLETP_OCSP_BAD_REQUEST1 = -2147408864; - -const int CSSMERR_APPLETP_OCSP_UNAVAILABLE1 = -2147408863; - -const int CSSMERR_APPLETP_OCSP_STATUS_UNRECOGNIZED1 = -2147408862; - -const int CSSMERR_APPLETP_INCOMPLETE_REVOCATION_CHECK1 = -2147408861; - -const int CSSMERR_APPLETP_NETWORK_FAILURE1 = -2147408860; - -const int CSSMERR_APPLETP_OCSP_NOT_TRUSTED1 = -2147408859; - -const int CSSMERR_APPLETP_OCSP_INVALID_ANCHOR_CERT1 = -2147408858; - -const int CSSMERR_APPLETP_OCSP_SIG_ERROR1 = -2147408857; - -const int CSSMERR_APPLETP_OCSP_NO_SIGNER1 = -2147408856; - -const int CSSMERR_APPLETP_OCSP_RESP_MALFORMED_REQ1 = -2147408855; - -const int CSSMERR_APPLETP_OCSP_RESP_INTERNAL_ERR1 = -2147408854; - -const int CSSMERR_APPLETP_OCSP_RESP_TRY_LATER1 = -2147408853; - -const int CSSMERR_APPLETP_OCSP_RESP_SIG_REQUIRED1 = -2147408852; - -const int CSSMERR_APPLETP_OCSP_RESP_UNAUTHORIZED1 = -2147408851; - -const int CSSMERR_APPLETP_OCSP_NONCE_MISMATCH1 = -2147408850; - -const int CSSMERR_APPLETP_CS_BAD_CERT_CHAIN_LENGTH1 = -2147408849; - -const int CSSMERR_APPLETP_CS_NO_BASIC_CONSTRAINTS1 = -2147408848; - -const int CSSMERR_APPLETP_CS_BAD_PATH_LENGTH1 = -2147408847; - -const int CSSMERR_APPLETP_CS_NO_EXTENDED_KEY_USAGE1 = -2147408846; - -const int CSSMERR_APPLETP_CODE_SIGN_DEVELOPMENT1 = -2147408845; - -const int CSSMERR_APPLETP_RS_BAD_CERT_CHAIN_LENGTH1 = -2147408844; - -const int CSSMERR_APPLETP_RS_BAD_EXTENDED_KEY_USAGE1 = -2147408843; - -const int CSSMERR_APPLETP_TRUST_SETTING_DENY1 = -2147408842; - -const int CSSMERR_APPLETP_INVALID_EMPTY_SUBJECT1 = -2147408841; - -const int CSSMERR_APPLETP_UNKNOWN_QUAL_CERT_STATEMENT1 = -2147408840; - -const int CSSMERR_APPLETP_MISSING_REQUIRED_EXTENSION1 = -2147408839; - -const int CSSMERR_APPLETP_EXT_KEYUSAGE_NOT_CRITICAL1 = -2147408838; - -const int CSSMERR_APPLETP_IDENTIFIER_MISSING1 = -2147408837; - -const int CSSMERR_APPLETP_CA_PIN_MISMATCH1 = -2147408836; - -const int CSSMERR_APPLETP_LEAF_PIN_MISMATCH1 = -2147408835; - -const int CSSMERR_APPLE_DOTMAC_REQ_QUEUED1 = -2147408796; - -const int CSSMERR_APPLE_DOTMAC_REQ_REDIRECT1 = -2147408795; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_ERR1 = -2147408794; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_PARAM1 = -2147408793; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_AUTH1 = -2147408792; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_UNIMPL1 = -2147408791; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_NOT_AVAIL1 = -2147408790; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_ALREADY_EXIST1 = -2147408789; - -const int CSSMERR_APPLE_DOTMAC_REQ_SERVER_SERVICE_ERROR1 = -2147408788; - -const int CSSMERR_APPLE_DOTMAC_REQ_IS_PENDING1 = -2147408787; - -const int CSSMERR_APPLE_DOTMAC_NO_REQ_PENDING1 = -2147408786; - -const int CSSMERR_APPLE_DOTMAC_CSR_VERIFY_FAIL1 = -2147408785; - -const int CSSMERR_APPLE_DOTMAC_FAILED_CONSISTENCY_CHECK1 = -2147408784; - -const int CSSM_APPLEDL_OPEN_PARAMETERS_VERSION1 = 1; - -const int CSSM_APPLECSPDL_DB_LOCK1 = 0; - -const int CSSM_APPLECSPDL_DB_UNLOCK1 = 1; - -const int CSSM_APPLECSPDL_DB_GET_SETTINGS1 = 2; - -const int CSSM_APPLECSPDL_DB_SET_SETTINGS1 = 3; - -const int CSSM_APPLECSPDL_DB_IS_LOCKED1 = 4; - -const int CSSM_APPLECSPDL_DB_CHANGE_PASSWORD1 = 5; - -const int CSSM_APPLECSPDL_DB_GET_HANDLE1 = 6; - -const int CSSM_APPLESCPDL_CSP_GET_KEYHANDLE1 = 7; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_81 = 8; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_91 = 9; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_101 = 10; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_111 = 11; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_121 = 12; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_131 = 13; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_141 = 14; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_151 = 15; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_161 = 16; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_171 = 17; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_181 = 18; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_191 = 19; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_201 = 20; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_211 = 21; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_221 = 22; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_231 = 23; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_241 = 24; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_251 = 25; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_261 = 26; - -const int CSSM_APPLE_PRIVATE_CSPDL_CODE_271 = 27; - -const int CSSM_APPLECSP_KEYDIGEST1 = 256; - -const int CSSM_APPLECSP_PUBKEY1 = 257; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_APPLE_CUSTOM1 = 100; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSL1 = 101; - -const int CSSM_KEYBLOB_WRAPPED_FORMAT_OPENSSH11 = 102; - -const int CSSM_ATTRIBUTE_VENDOR_DEFINED1 = 8388608; - -const int CSSM_ATTRIBUTE_PUBLIC_KEY1 = 1082130432; - -const int CSSM_ATTRIBUTE_FEE_PRIME_TYPE1 = 276824065; - -const int CSSM_ATTRIBUTE_FEE_CURVE_TYPE1 = 276824066; - -const int CSSM_ATTRIBUTE_ASC_OPTIMIZATION1 = 276824067; - -const int CSSM_ATTRIBUTE_RSA_BLINDING1 = 276824068; - -const int CSSM_ATTRIBUTE_PARAM_KEY1 = 1082130437; - -const int CSSM_ATTRIBUTE_PROMPT1 = 545259526; - -const int CSSM_ATTRIBUTE_ALERT_TITLE1 = 545259527; - -const int CSSM_ATTRIBUTE_VERIFY_PASSPHRASE1 = 276824072; - -const int CSSM_FEE_PRIME_TYPE_DEFAULT1 = 0; - -const int CSSM_FEE_PRIME_TYPE_MERSENNE1 = 1; - -const int CSSM_FEE_PRIME_TYPE_FEE1 = 2; - -const int CSSM_FEE_PRIME_TYPE_GENERAL1 = 3; - -const int CSSM_FEE_CURVE_TYPE_DEFAULT1 = 0; - -const int CSSM_FEE_CURVE_TYPE_MONTGOMERY1 = 1; - -const int CSSM_FEE_CURVE_TYPE_WEIERSTRASS1 = 2; - -const int CSSM_FEE_CURVE_TYPE_ANSI_X9_621 = 3; - -const int CSSM_ASC_OPTIMIZE_DEFAULT1 = 0; - -const int CSSM_ASC_OPTIMIZE_SIZE1 = 1; - -const int CSSM_ASC_OPTIMIZE_SECURITY1 = 2; - -const int CSSM_ASC_OPTIMIZE_TIME1 = 3; - -const int CSSM_ASC_OPTIMIZE_TIME_SIZE1 = 4; - -const int CSSM_ASC_OPTIMIZE_ASCII1 = 5; - -const int CSSM_KEYATTR_PARTIAL1 = 65536; - -const int CSSM_KEYATTR_PUBLIC_KEY_ENCRYPT1 = 131072; - -const int CSSM_TP_ACTION_REQUIRE_CRL_PER_CERT1 = 1; - -const int CSSM_TP_ACTION_FETCH_CRL_FROM_NET1 = 2; - -const int CSSM_TP_ACTION_CRL_SUFFICIENT1 = 4; - -const int CSSM_TP_ACTION_REQUIRE_CRL_IF_PRESENT1 = 8; - -const int CSSM_TP_ACTION_ALLOW_EXPIRED1 = 1; - -const int CSSM_TP_ACTION_LEAF_IS_CA1 = 2; - -const int CSSM_TP_ACTION_FETCH_CERT_FROM_NET1 = 4; - -const int CSSM_TP_ACTION_ALLOW_EXPIRED_ROOT1 = 8; - -const int CSSM_TP_ACTION_REQUIRE_REV_PER_CERT1 = 16; - -const int CSSM_TP_ACTION_TRUST_SETTINGS1 = 32; - -const int CSSM_TP_ACTION_IMPLICIT_ANCHORS1 = 64; - -const int CSSM_CERT_STATUS_EXPIRED1 = 1; - -const int CSSM_CERT_STATUS_NOT_VALID_YET1 = 2; - -const int CSSM_CERT_STATUS_IS_IN_INPUT_CERTS1 = 4; - -const int CSSM_CERT_STATUS_IS_IN_ANCHORS1 = 8; - -const int CSSM_CERT_STATUS_IS_ROOT1 = 16; - -const int CSSM_CERT_STATUS_IS_FROM_NET1 = 32; - -const int CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_USER1 = 64; - -const int CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_ADMIN1 = 128; - -const int CSSM_CERT_STATUS_TRUST_SETTINGS_FOUND_SYSTEM1 = 256; - -const int CSSM_CERT_STATUS_TRUST_SETTINGS_TRUST1 = 512; - -const int CSSM_CERT_STATUS_TRUST_SETTINGS_DENY1 = 1024; - -const int CSSM_CERT_STATUS_TRUST_SETTINGS_IGNORED_ERROR1 = 2048; - -const int CSSM_EVIDENCE_FORM_APPLE_HEADER1 = -2147483648; - -const int CSSM_EVIDENCE_FORM_APPLE_CERTGROUP1 = -2147483647; - -const int CSSM_EVIDENCE_FORM_APPLE_CERT_INFO1 = -2147483646; - -const int CSSM_APPLEX509CL_OBTAIN_CSR1 = 0; - -const int CSSM_APPLEX509CL_VERIFY_CSR1 = 1; - -const int kSecSubjectItemAttr1 = 1937072746; - -const int kSecIssuerItemAttr1 = 1769173877; - -const int kSecSerialNumberItemAttr1 = 1936614002; - -const int kSecPublicKeyHashItemAttr1 = 1752198009; - -const int kSecSubjectKeyIdentifierItemAttr1 = 1936419172; - -const int kSecCertTypeItemAttr1 = 1668577648; - -const int kSecCertEncodingItemAttr1 = 1667591779; - -const int SSL_NULL_WITH_NULL_NULL1 = 0; - -const int SSL_RSA_WITH_NULL_MD51 = 1; - -const int SSL_RSA_WITH_NULL_SHA1 = 2; - -const int SSL_RSA_EXPORT_WITH_RC4_40_MD51 = 3; - -const int SSL_RSA_WITH_RC4_128_MD51 = 4; - -const int SSL_RSA_WITH_RC4_128_SHA1 = 5; - -const int SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD51 = 6; - -const int SSL_RSA_WITH_IDEA_CBC_SHA1 = 7; - -const int SSL_RSA_EXPORT_WITH_DES40_CBC_SHA1 = 8; - -const int SSL_RSA_WITH_DES_CBC_SHA1 = 9; - -const int SSL_RSA_WITH_3DES_EDE_CBC_SHA1 = 10; - -const int SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA1 = 11; - -const int SSL_DH_DSS_WITH_DES_CBC_SHA1 = 12; - -const int SSL_DH_DSS_WITH_3DES_EDE_CBC_SHA1 = 13; - -const int SSL_DH_RSA_EXPORT_WITH_DES40_CBC_SHA1 = 14; - -const int SSL_DH_RSA_WITH_DES_CBC_SHA1 = 15; - -const int SSL_DH_RSA_WITH_3DES_EDE_CBC_SHA1 = 16; - -const int SSL_DHE_DSS_EXPORT_WITH_DES40_CBC_SHA1 = 17; - -const int SSL_DHE_DSS_WITH_DES_CBC_SHA1 = 18; - -const int SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA1 = 19; - -const int SSL_DHE_RSA_EXPORT_WITH_DES40_CBC_SHA1 = 20; - -const int SSL_DHE_RSA_WITH_DES_CBC_SHA1 = 21; - -const int SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA1 = 22; - -const int SSL_DH_anon_EXPORT_WITH_RC4_40_MD51 = 23; - -const int SSL_DH_anon_WITH_RC4_128_MD51 = 24; - -const int SSL_DH_anon_EXPORT_WITH_DES40_CBC_SHA1 = 25; - -const int SSL_DH_anon_WITH_DES_CBC_SHA1 = 26; - -const int SSL_DH_anon_WITH_3DES_EDE_CBC_SHA1 = 27; - -const int SSL_FORTEZZA_DMS_WITH_NULL_SHA1 = 28; - -const int SSL_FORTEZZA_DMS_WITH_FORTEZZA_CBC_SHA1 = 29; - -const int TLS_RSA_WITH_AES_128_CBC_SHA1 = 47; - -const int TLS_DH_DSS_WITH_AES_128_CBC_SHA1 = 48; - -const int TLS_DH_RSA_WITH_AES_128_CBC_SHA1 = 49; - -const int TLS_DHE_DSS_WITH_AES_128_CBC_SHA1 = 50; - -const int TLS_DHE_RSA_WITH_AES_128_CBC_SHA1 = 51; - -const int TLS_DH_anon_WITH_AES_128_CBC_SHA1 = 52; - -const int TLS_RSA_WITH_AES_256_CBC_SHA1 = 53; - -const int TLS_DH_DSS_WITH_AES_256_CBC_SHA1 = 54; - -const int TLS_DH_RSA_WITH_AES_256_CBC_SHA1 = 55; - -const int TLS_DHE_DSS_WITH_AES_256_CBC_SHA1 = 56; - -const int TLS_DHE_RSA_WITH_AES_256_CBC_SHA1 = 57; - -const int TLS_DH_anon_WITH_AES_256_CBC_SHA1 = 58; - -const int TLS_ECDH_ECDSA_WITH_NULL_SHA1 = -16383; - -const int TLS_ECDH_ECDSA_WITH_RC4_128_SHA1 = -16382; - -const int TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA1 = -16381; - -const int TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA1 = -16380; - -const int TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA1 = -16379; - -const int TLS_ECDHE_ECDSA_WITH_NULL_SHA1 = -16378; - -const int TLS_ECDHE_ECDSA_WITH_RC4_128_SHA1 = -16377; - -const int TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA1 = -16376; - -const int TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA1 = -16375; - -const int TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA1 = -16374; - -const int TLS_ECDH_RSA_WITH_NULL_SHA1 = -16373; - -const int TLS_ECDH_RSA_WITH_RC4_128_SHA1 = -16372; - -const int TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA1 = -16371; - -const int TLS_ECDH_RSA_WITH_AES_128_CBC_SHA1 = -16370; - -const int TLS_ECDH_RSA_WITH_AES_256_CBC_SHA1 = -16369; - -const int TLS_ECDHE_RSA_WITH_NULL_SHA1 = -16368; - -const int TLS_ECDHE_RSA_WITH_RC4_128_SHA1 = -16367; - -const int TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA1 = -16366; - -const int TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA1 = -16365; - -const int TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA1 = -16364; - -const int TLS_ECDH_anon_WITH_NULL_SHA1 = -16363; - -const int TLS_ECDH_anon_WITH_RC4_128_SHA1 = -16362; - -const int TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA1 = -16361; - -const int TLS_ECDH_anon_WITH_AES_128_CBC_SHA1 = -16360; - -const int TLS_ECDH_anon_WITH_AES_256_CBC_SHA1 = -16359; - -const int TLS_ECDHE_PSK_WITH_AES_128_CBC_SHA1 = -16331; - -const int TLS_ECDHE_PSK_WITH_AES_256_CBC_SHA1 = -16330; - -const int TLS_PSK_WITH_CHACHA20_POLY1305_SHA2561 = -13141; - -const int TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA2561 = -13140; - -const int TLS_NULL_WITH_NULL_NULL1 = 0; - -const int TLS_RSA_WITH_NULL_MD51 = 1; - -const int TLS_RSA_WITH_NULL_SHA1 = 2; - -const int TLS_RSA_WITH_RC4_128_MD51 = 4; - -const int TLS_RSA_WITH_RC4_128_SHA1 = 5; - -const int TLS_RSA_WITH_3DES_EDE_CBC_SHA1 = 10; - -const int TLS_RSA_WITH_NULL_SHA2561 = 59; - -const int TLS_RSA_WITH_AES_128_CBC_SHA2561 = 60; - -const int TLS_RSA_WITH_AES_256_CBC_SHA2561 = 61; - -const int TLS_DH_DSS_WITH_3DES_EDE_CBC_SHA1 = 13; - -const int TLS_DH_RSA_WITH_3DES_EDE_CBC_SHA1 = 16; - -const int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA1 = 19; - -const int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA1 = 22; - -const int TLS_DH_DSS_WITH_AES_128_CBC_SHA2561 = 62; - -const int TLS_DH_RSA_WITH_AES_128_CBC_SHA2561 = 63; - -const int TLS_DHE_DSS_WITH_AES_128_CBC_SHA2561 = 64; - -const int TLS_DHE_RSA_WITH_AES_128_CBC_SHA2561 = 103; - -const int TLS_DH_DSS_WITH_AES_256_CBC_SHA2561 = 104; - -const int TLS_DH_RSA_WITH_AES_256_CBC_SHA2561 = 105; - -const int TLS_DHE_DSS_WITH_AES_256_CBC_SHA2561 = 106; - -const int TLS_DHE_RSA_WITH_AES_256_CBC_SHA2561 = 107; - -const int TLS_DH_anon_WITH_RC4_128_MD51 = 24; - -const int TLS_DH_anon_WITH_3DES_EDE_CBC_SHA1 = 27; - -const int TLS_DH_anon_WITH_AES_128_CBC_SHA2561 = 108; - -const int TLS_DH_anon_WITH_AES_256_CBC_SHA2561 = 109; - -const int TLS_PSK_WITH_RC4_128_SHA1 = 138; - -const int TLS_PSK_WITH_3DES_EDE_CBC_SHA1 = 139; - -const int TLS_PSK_WITH_AES_128_CBC_SHA1 = 140; - -const int TLS_PSK_WITH_AES_256_CBC_SHA1 = 141; - -const int TLS_DHE_PSK_WITH_RC4_128_SHA1 = 142; - -const int TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA1 = 143; - -const int TLS_DHE_PSK_WITH_AES_128_CBC_SHA1 = 144; - -const int TLS_DHE_PSK_WITH_AES_256_CBC_SHA1 = 145; - -const int TLS_RSA_PSK_WITH_RC4_128_SHA1 = 146; - -const int TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA1 = 147; - -const int TLS_RSA_PSK_WITH_AES_128_CBC_SHA1 = 148; - -const int TLS_RSA_PSK_WITH_AES_256_CBC_SHA1 = 149; - -const int TLS_PSK_WITH_NULL_SHA1 = 44; - -const int TLS_DHE_PSK_WITH_NULL_SHA1 = 45; - -const int TLS_RSA_PSK_WITH_NULL_SHA1 = 46; - -const int TLS_RSA_WITH_AES_128_GCM_SHA2561 = 156; - -const int TLS_RSA_WITH_AES_256_GCM_SHA3841 = 157; - -const int TLS_DHE_RSA_WITH_AES_128_GCM_SHA2561 = 158; - -const int TLS_DHE_RSA_WITH_AES_256_GCM_SHA3841 = 159; - -const int TLS_DH_RSA_WITH_AES_128_GCM_SHA2561 = 160; - -const int TLS_DH_RSA_WITH_AES_256_GCM_SHA3841 = 161; - -const int TLS_DHE_DSS_WITH_AES_128_GCM_SHA2561 = 162; - -const int TLS_DHE_DSS_WITH_AES_256_GCM_SHA3841 = 163; - -const int TLS_DH_DSS_WITH_AES_128_GCM_SHA2561 = 164; - -const int TLS_DH_DSS_WITH_AES_256_GCM_SHA3841 = 165; - -const int TLS_DH_anon_WITH_AES_128_GCM_SHA2561 = 166; - -const int TLS_DH_anon_WITH_AES_256_GCM_SHA3841 = 167; - -const int TLS_PSK_WITH_AES_128_GCM_SHA2561 = 168; - -const int TLS_PSK_WITH_AES_256_GCM_SHA3841 = 169; - -const int TLS_DHE_PSK_WITH_AES_128_GCM_SHA2561 = 170; - -const int TLS_DHE_PSK_WITH_AES_256_GCM_SHA3841 = 171; - -const int TLS_RSA_PSK_WITH_AES_128_GCM_SHA2561 = 172; - -const int TLS_RSA_PSK_WITH_AES_256_GCM_SHA3841 = 173; - -const int TLS_PSK_WITH_AES_128_CBC_SHA2561 = 174; - -const int TLS_PSK_WITH_AES_256_CBC_SHA3841 = 175; - -const int TLS_PSK_WITH_NULL_SHA2561 = 176; - -const int TLS_PSK_WITH_NULL_SHA3841 = 177; - -const int TLS_DHE_PSK_WITH_AES_128_CBC_SHA2561 = 178; - -const int TLS_DHE_PSK_WITH_AES_256_CBC_SHA3841 = 179; - -const int TLS_DHE_PSK_WITH_NULL_SHA2561 = 180; - -const int TLS_DHE_PSK_WITH_NULL_SHA3841 = 181; - -const int TLS_RSA_PSK_WITH_AES_128_CBC_SHA2561 = 182; - -const int TLS_RSA_PSK_WITH_AES_256_CBC_SHA3841 = 183; - -const int TLS_RSA_PSK_WITH_NULL_SHA2561 = 184; - -const int TLS_RSA_PSK_WITH_NULL_SHA3841 = 185; - -const int TLS_AES_128_GCM_SHA2561 = 4865; - -const int TLS_AES_256_GCM_SHA3841 = 4866; - -const int TLS_CHACHA20_POLY1305_SHA2561 = 4867; - -const int TLS_AES_128_CCM_SHA2561 = 4868; - -const int TLS_AES_128_CCM_8_SHA2561 = 4869; - -const int TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA2561 = -16349; - -const int TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA3841 = -16348; - -const int TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA2561 = -16347; - -const int TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA3841 = -16346; - -const int TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA2561 = -16345; - -const int TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA3841 = -16344; - -const int TLS_ECDH_RSA_WITH_AES_128_CBC_SHA2561 = -16343; - -const int TLS_ECDH_RSA_WITH_AES_256_CBC_SHA3841 = -16342; - -const int TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA2561 = -16341; - -const int TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA3841 = -16340; - -const int TLS_ECDH_ECDSA_WITH_AES_128_GCM_SHA2561 = -16339; - -const int TLS_ECDH_ECDSA_WITH_AES_256_GCM_SHA3841 = -16338; - -const int TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA2561 = -16337; - -const int TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA3841 = -16336; - -const int TLS_ECDH_RSA_WITH_AES_128_GCM_SHA2561 = -16335; - -const int TLS_ECDH_RSA_WITH_AES_256_GCM_SHA3841 = -16334; - -const int TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA2561 = -13144; - -const int TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA2561 = -13143; - -const int TLS_EMPTY_RENEGOTIATION_INFO_SCSV1 = 255; - -const int SSL_RSA_WITH_RC2_CBC_MD51 = -128; - -const int SSL_RSA_WITH_IDEA_CBC_MD51 = -127; - -const int SSL_RSA_WITH_DES_CBC_MD51 = -126; - -const int SSL_RSA_WITH_3DES_EDE_CBC_MD51 = -125; - -const int SSL_NO_SUCH_CIPHERSUITE1 = -1; - const int __API_TO_BE_DEPRECATED = 100000; const int __API_TO_BE_DEPRECATED_MACOS = 100000; diff --git a/pkgs/cupertino_http/pubspec.yaml b/pkgs/cupertino_http/pubspec.yaml index 9c261a9209..082bb56f38 100644 --- a/pkgs/cupertino_http/pubspec.yaml +++ b/pkgs/cupertino_http/pubspec.yaml @@ -1,5 +1,5 @@ name: cupertino_http -version: 2.0.2 +version: 2.0.3-wip description: >- A macOS/iOS Flutter plugin that provides access to the Foundation URL Loading System.