MYPublicKey.h
changeset 14 3af1d1c0ceb5
parent 13 6fd9177eb6da
child 21 2c300b15b381
     1.1 --- a/MYPublicKey.h	Sun Apr 19 00:01:41 2009 -0700
     1.2 +++ b/MYPublicKey.h	Sun Apr 19 21:19:35 2009 -0700
     1.3 @@ -43,10 +43,20 @@
     1.4      (What's actually verified using RSA is the SHA-256 digest of the data.) */
     1.5  - (BOOL) verifySignature: (NSData*)signature ofData: (NSData*)data;
     1.6  
     1.7 +
     1.8 +/** @name Expert
     1.9 + *  Advanced methods. 
    1.10 + */
    1.11 +//@{
    1.12 +#if !TARGET_OS_IPHONE
    1.13 +
    1.14  /** Encrypts a session key using this public key. 
    1.15      The holder of the private key can then unwrap the session key from this data.
    1.16      @param sessionKey  The symmetric session key to wrap/encrypt
    1.17      @return  The encrypted data representing the session key */
    1.18  - (NSData*) wrapSessionKey: (MYSymmetricKey*)sessionKey;
    1.19  
    1.20 +#endif
    1.21 +//@}
    1.22 +
    1.23  @end