首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > webhooks

webhooks

  • 资源大小:3.01 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签:

资 源 简 介

This project provides an implementation of javax.crypto.SecretKey, which can be used as the seed for HMAC-MD5 message authentication. HMAC-MD5 authentication is what Google Code uses to authenticate its web hook messages sent to projects after each commit to subversion. Use of this SecretKey implementation allows you to verify your received web hook messages in Java. A complete example of how to use this SecretKey implementation is provided below. ``` package com.google.code.webhooks.examples; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.nio.charset.Charset; import java.security.KeyException; import java.security.NoSuchAlgorithmException; import java.util.Date; import javax.crypto.Mac; import javax.crypto.SecretKey; import javax.servlet.ServletException; import javax.

文 件 列 表

gc_secretkey-jre15-1.0.jar

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.224968s