Use
Secure communication via the CPI-C interface is provided through SAP’s SNC interface (Secure Network Communication).
SNC supports third-party security systems (such as Kerberos, SECUDE, etc.). This provides for a secure Authentification of the partners and secure data transfer.
You can activate the SNC functions via environment variables or entries in the side information file (see the side information basics in the documentation
SAP Communication: Configuration).
Features
The following SNC function calls are available:
Returns the SNC status of a connection.
Possible values: SNC_ON
SNC_OFF
SAP_CMSNCMODE( convid, &snc_mode, &return_code);
Returns the SNC name of the partner that has set up the connection.
SAP_CMSNCNAME( convid, sncname, sncname_len, &return_code);
Returns the SNC ACL key of the partner that has set up the connection.
SAP_CMACLKEY(convid, aclkey, aclkey_len, &return_len, &return_code);
Converts the SNC name to an ACL key.
SAP_CMNAMETOACLKEY(snclib, sncname, aclkey, len, &return_len, &return_code);
Converts the ACL key to an SNC name.
SAP_CMACLKEYTONAME(snclib, aclkey, aclkey_len, sncname, &return_code);
Analog to
Analog to SAP_CMREGTP, but with SNC data (see
SAP_CMACLKEYTONAME(snclib, aclkey, aclkey_len, sncname, &return_code);