Create Key in C
Create Key in C
The TECreateKey() function is used to create a key. You can set the algorithm and the ACL template when you call this function.
Code Samples
See the C environment settings for details on setting the project environment.
c_createkey.c
The complete source for this sample, together with its console output, is published in the SDK reference and is the maintained copy:
Output
Connected to localhost at 8888 as ls
T-tag (len = 40) :
[ 0] [ 0] [ 0] [ 1] [99] [c7] [ae] [43] [95] [c8] [71] [b8] [ee] [a4] [d0] [40] [a2] [f7] [53] [a3] [6c] [c1] [86] [43]
[46] [96] [7a] [a0] [a9] [6e] [ 4] [12] [66] [99] [b6] [4a] [c4] [db] [7b] [e2]
Disconnected from server