Added support for setting binary Curve keys