jwtAlgSetSym (Function) |
Top Previous Next |
jwtAlgSetSym configures the JWT object to use a symmetrical encryption. Mainly for use with JWT objects created with jwtCreate. To configure an asymmetrical encryption, see jwtAlgSetAsym.
Input: jwt : SYSHANDLE The JWT object to set the encryption algorithm for.
type : INT default 0 The kind of algorithm to use:
key: PTR The key to use for encoding the token.
key_len : INT The size of the key.
Returns: INT
Declaration: FUNCTION jwtAlgSetSym : INT;
Example: INCLUDE rtcu.inc |