Managing Keys in C
Managing Keys
The TEKey class provides operations for creating, exporting and importing keys.
The code samples listed below illustrate key management tasks associated with the TEKey class.
The C SDK does not expire, remove or import keys. To do any of these from native code, use the C++
SDK's TEKey::expireKey, TEKey::removeKey and TEKey::importKey (see
Expire Key in Cpp),
or the REST Gateway's POST /api/v1/keys/expire, POST /api/v1/keys/remove and
POST /api/v1/keys/import. A use of an expired key through the C SDK is refused with the key
server's code 0x0406.