public static boolean verify(String signitSignature, String appId, HmacSignatureBuilder builder) {
        if (builder == null || appId == null || signitSignature == null) {
            return false;
        }
        String selfBuiltHmac = builder.getDefaultAlgorithm() + " " + appId + ":" + builder.buildAsBase64();
        return selfBuiltHmac.equals(signitSignature);
    }
public static boolean verify ( String signitSignature , String appId , HmacSignatureBuilder builder ) { if ( builder == null || appId == null || signitSignature == null ) { return false ; } String selfBuiltHmac = builder . getDefaultAlgorithm ( ) + " " + appId + ":" + builder . buildAsBase64 ( ) ; return selfBuiltHmac . equals ( signitSignature ) ; }
客户端验证服务器的webhook响应数据.

@param signitSignature
webhook响应header中x-signit-signature数据。服务器构建的hmac，用于客户端验证服务器
@param appId
APP ID
@param builder
hmac签名建造器
@return 验证结果： true-是服务器发送给客户端的数据；false-验证失败
@since 2.0.0