      *                       then something else failed.
      */
     case GenerateKeyPairFailed(osStatus: OSStatus?)
-}+}

     *
     * - parameter ofSize: the size of the keys in bits
     * - returns: The generated key pair.
     * - throws: An `NSError` when something went wrong.
     */
    public static func generateKeyPair(ofSize bits:UInt) throws -> (privateKey:SecKey, publicKey:SecKey) {
        let pubKeyAttrs = [ kSecAttrIsPermanent as String: true ]

        }
        return (priv, pub)
    }

    /**
     * The block size of the key. Wraps `SecKeyGetBlockSize()`.
     */
