Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Security Transforms - asymmetric decryption with public key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Security Transforms - asymmetric decryption with public key



On Sun, Feb 19, 2012 at 8:52 AM, Roland Blaser <email@hidden> wrote:
> I'm trying to perform a RSA decryption task with a public key using the
> Security Transforms API on Lion. But all I get is a
> CSSMERR_CSP_INVALID_KEY_CLASS error. I guess I would have to add the
> CSSM_ALGMODE_PUBLIC_KEY argument to the asymmetric context. But how?
>
> Does anyone know of an non-deprecated way to do what I need to do?
"Encrypt with private key" and "decrypt with public key" are not valid
transformations.

Perhaps you want a signature with recovery (PSSR)?

Jeff
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Security Transforms - asymmetric decryption with public key (From: Roland Blaser <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.