| 限定符和类型 | 字段和说明 |
|---|---|
static String |
HMAC_SHA_256
HmacSHA256 encryption algorithm
|
static String |
LF
LF
|
| 构造器和说明 |
|---|
LarkNotifier() |
public void send(NotifyPlatform notifyPlatform, String text)
send 在接口中 NotifiernotifyPlatform - NotifyPlatformtext - send contentprotected String genSign(String secret, Long timestamp) throws NoSuchAlgorithmException, InvalidKeyException
secret - secrettimestamp - timestampNoSuchAlgorithmException - Mac.getInstance("HmacSHA256")InvalidKeyException - mac.init(java.security.Key)Copyright © 2023. All rights reserved.