allstars v1.0.7版本的 MD5 值为:b2f9c811cb17ebef182dbe530299e37a
以下内容为反编译后的 n.java 源代码,内容仅作参考
package com.iptv.vsaclient.a;
import android.annotation.TargetApi;
import android.text.TextUtils;
import com.google.android.exoplayer.d.q;
import com.google.android.exoplayer.i.al;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
@TargetApi(18)
public class n implements q {
private static final Map a;
static {
HashMap hashMap = new HashMap();
hashMap.put("Content-Type", "text/xml");
hashMap.put("SOAPAction", "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense");
a = hashMap;
}
@Override
public byte[] a(UUID uuid, com.google.android.exoplayer.d.h hVar) {
String b = hVar.b();
if (TextUtils.isEmpty(b)) {
b = "http://playready.directtaps.net/pr/svc/rightsmanager.asmx";
}
return al.a(b, hVar.a(), a);
}
@Override
public byte[] a(UUID uuid, com.google.android.exoplayer.d.j jVar) {
return al.a(jVar.b() + "&signedRequest=" + new String(jVar.a()), (byte[]) null, (Map) null);
}
}