method get_private_keys for sequence