Commit 44f264dc authored by Quxl's avatar Quxl

x

parent 44ff3a6e
package com.egolm.film.util; package com.egolm.film.util;
import sun.misc.BASE64Encoder;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import com.egolm.common.HttpUtil;
import java.io.IOException; import java.io.IOException;
import java.io.UnsupportedEncodingException; import java.io.UnsupportedEncodingException;
import java.net.URL; import java.net.URL;
import java.net.URLEncoder; import java.net.URLEncoder;
import java.security.SignatureException; import java.security.SignatureException;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.*; import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.SimpleTimeZone;
import java.util.UUID;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.Logger; import java.util.logging.Logger;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import com.egolm.common.HttpUtil;
import sun.misc.BASE64Encoder;
/** /**
* 视频点播OpenAPI调用示例 * 视频点播OpenAPI调用示例
* 以GetVideoPlayAuth接口为例,其他接口请替换相应接口名称及私有参数 * 以GetVideoPlayAuth接口为例,其他接口请替换相应接口名称及私有参数
*/ */
@SuppressWarnings("restriction")
public class AliyunSign { public class AliyunSign {
//账号AK信息请填写(必选) //账号AK信息请填写(必选)
private static String access_key_id = "LTAIOtHCCpDLXYp8"; private static String access_key_id = "LTAIOtHCCpDLXYp8";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment