http-hmac-java:HTTP HMAC Spec在Java中的实现

上传者: 42160376 | 上传时间: 2022-09-20 11:36:09 | 文件大小: 35KB | 文件类型: ZIP
适用于Java的HTTP HMAC签名者 Java中2.0版实现。 客户 可以使用Apache HTTP客户端和com.acquia.http.HMACHttpRequestInterceptor类将HMAC授权标头添加到HTTP请求。 要配置HMACHttpRequestInterceptor,构造函数采用四个参数: 领域 存取金钥 密钥 HMAC算法(例如SHA256) 如果需要将自定义标头添加到将要加密的消息中,请通过调用“ HMACHttpRequestInterceptor#setCustomHeaders”方法指定其名称。 示例:使用算\u6cd5='SHA256'添加领域= Acquia,访问密钥= 1,私有密钥=秘密密钥以及客户标\u5934='Custom1; Custom2'的授权标头 HMACHttpRequestInterceptor authorizationIntercept

文件下载

资源详情

[{"title":"( 21 个子文件 35KB ) http-hmac-java:HTTP HMAC Spec在Java中的实现","children":[{"title":"http-hmac-java-master","children":[{"title":".gitignore <span style='color:#111;'> 9B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"acquia","children":[{"title":"http","children":[{"title":"HMACHttpRequestInterceptorTest.java <span style='color:#111;'> 15.18KB </span>","children":null,"spread":false},{"title":"HMACHttpResponseInterceptorTest.java <span style='color:#111;'> 5.49KB </span>","children":null,"spread":false},{"title":"HMACHttpServletTest.java <span style='color:#111;'> 10.02KB </span>","children":null,"spread":false},{"title":"HMACFilterTest.java <span style='color:#111;'> 10.17KB </span>","children":null,"spread":false},{"title":"HttpServletRequestMatcher.java <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"java","children":[{"title":"com","children":[{"title":"acquia","children":[{"title":"http","children":[{"title":"HMACAuthorizationHeader.java <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false},{"title":"SecretKeyException.java <span style='color:#111;'> 580B </span>","children":null,"spread":false},{"title":"CharResponseWrapper.java <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"HMACHttpRequestInterceptor.java <span style='color:#111;'> 10.19KB </span>","children":null,"spread":false},{"title":"HMACFilter.java <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"HMACAlgorithmFactory.java <span style='color:#111;'> 695B </span>","children":null,"spread":false},{"title":"HMACHttpResponseInterceptor.java <span style='color:#111;'> 7.56KB </span>","children":null,"spread":false},{"title":"CharRequestWrapper.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"HMACAlgorithm.java <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"HMACMessageCreator.java <span style='color:#111;'> 16.12KB </span>","children":null,"spread":false},{"title":"SHAHMACAlgorithm.java <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"HMACHttpServlet.java <span style='color:#111;'> 10.54KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE.txt <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明