Hi All,

I have some basic decryption I do with common crypto that works very well when 
I use in my app, some sample code below.

 QCCAESPadCryptor *  op;

    NSString *licenseKey = nil;

    NSOperationQueue *queue;

    op = [[QCCAESPadCryptor alloc] initToDecryptInputData:[NSData 
dataWithBytes:cyphertext_dat length:sizeof(cyphertext_dat)]

                                                  keyData:[NSData 
dataWithBytes:key_dat length:sizeof(key_dat)]

          ];

    op.ivData = [NSData dataWithBytes:iv_dat length:sizeof(iv_dat)];

    queue = [[NSOperationQueue alloc] init];

    [queue addOperation:op];

    [queue waitUntilAllOperationsAreFinished];

However,  when I port the same code to be used as a user daemon, I noticed that 
NSOperationQueue fails. I suspect that NSOperationQueue cannot be used as 
daemon running as root user?

If so are there any other alternates?


Regards,

Varun
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to