diff -r 6fd9177eb6da -r 3af1d1c0ceb5 MYPublicKey.h --- a/MYPublicKey.h Sun Apr 19 00:01:41 2009 -0700 +++ b/MYPublicKey.h Sun Apr 19 21:19:35 2009 -0700 @@ -43,10 +43,20 @@ (What's actually verified using RSA is the SHA-256 digest of the data.) */ - (BOOL) verifySignature: (NSData*)signature ofData: (NSData*)data; + +/** @name Expert + * Advanced methods. + */ +//@{ +#if !TARGET_OS_IPHONE + /** Encrypts a session key using this public key. The holder of the private key can then unwrap the session key from this data. @param sessionKey The symmetric session key to wrap/encrypt @return The encrypted data representing the session key */ - (NSData*) wrapSessionKey: (MYSymmetricKey*)sessionKey; +#endif +//@} + @end