MYPublicKey.h
changeset 8 4c0eafa7b233
parent 1 60e4cbbb5128
child 13 6fd9177eb6da
     1.1 --- a/MYPublicKey.h	Sat Apr 04 22:56:13 2009 -0700
     1.2 +++ b/MYPublicKey.h	Sun Apr 12 22:02:20 2009 -0700
     1.3 @@ -15,8 +15,8 @@
     1.4  
     1.5  
     1.6  /** A public key, which can be used for encrypting data and verifying signatures.
     1.7 -    MYPublicKeys are created as part of generating a MYKeyPair, 
     1.8 -    or by being imported into a MYKeychain. */
     1.9 +    MYPublicKeys are created as part of generating a key-pair, 
    1.10 +    or by being imported from data into a MYKeychain. */
    1.11  @interface MYPublicKey : MYKey <MYEncryption>
    1.12  {
    1.13      @private
    1.14 @@ -26,11 +26,6 @@
    1.15  /** The public key's SHA-1 digest. This is a convenient short (20-byte) identifier for the key. */
    1.16  @property (readonly) MYSHA1Digest *publicKeyDigest;
    1.17  
    1.18 -/** Returns the receiver as a MYPublicKey.
    1.19 -    If the receiver already is a MYPublicKey, this just returns self.
    1.20 -    If it's a MYKeyPair, it returns a new MYPublicKey containing just the public key. */
    1.21 -@property (readonly) MYPublicKey *asPublicKey;
    1.22 -
    1.23  /** Encrypts a short piece of data using this key, returning the raw encrypted result.
    1.24      An RSA key can encrypt only blocks smaller than its own key size; this
    1.25      method will fail and return nil if the data is too long.