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