Quantcast
Channel: Gemalto Sentinel Customer Discussions
Viewing all articles
Browse latest Browse all 1619

sntl_admin_context_new_scope How login Master Key local only

$
0
0
Hi, I used sntl_admin_context_new_scope to  check if the Sentinel Master Key is present and all works fine. The problem is that this function check the presence of the master key in all of my network like a Sentinel Net key. What I want is check is the Master key in connected to the local pc, where I run my program.

My snippet to check the master key:

  1. const char *pScopeMaster =  "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"
  2.    "<haspscope>"
  3.    "<host>localhost</host>"
  4.    "</haspscope>";

  5. sntl_admin_status_t status_admin;
  6. status_admin = sntl_admin_context_new_scope(&pContext, pScopeMaster); 

status_admin is ever "SNTL_ADMIN_STATUS_OK", if I use this snippet in a PC without a local master key connected but with a master key connected to the network...

Any idea?







Viewing all articles
Browse latest Browse all 1619

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>