implemented importSecContext and exportSecContext -- see #4