Updated on 2022-09-01 GMT+08:00

JWTUtils

Path

com.huawei.livedata.util.JWTUtils

Description

This class is used to generate an SHA256 signature.

Method List

Returned Type

Method and Description

static String

createToken(String appId, String appKey, String timestamp)

Generate SHA256 signature.

Method Details

public static String createToken(String appId, String appKey, String timestamp)

Generate SHA256 signature.

Input Parameter

  • appId indicates the integration application ID.
  • appKey indicates the key of the integration application.
  • timestamp indicates the timestamp.

Returns

SHA256 signature.