91快播 v3.3.0版本的 MD5 值为:094b9519ad2388a8147509cb8a126145
以下内容为反编译后的 C5633.java 源代码,内容仅作参考
package anta.ỹ;
import android.net.Uri;
import android.text.TextUtils;
import anta.ச.C1804;
import anta.න.C2046;
import anta.Ꮩ.C3335;
import anta.ᕐ.C3788;
import anta.ỹ.InterfaceC5640;
import anta.⁀.C5881;
import anta.⁀.C5930;
import anta.⁀.InterfaceC5902;
import anta.㮌.C9125;
import com.google.android.exoplayer2.upstream.DataSourceInputStream;
import java.io.IOException;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.UUID;
public final class C5633 implements InterfaceC5660 {
public final InterfaceC5902.InterfaceC5904 f13256;
public final boolean f13257;
public final String f13258;
public final Map<String, String> f13259;
public C5633(String str, boolean z, InterfaceC5902.InterfaceC5904 interfaceC5904) {
C1804.m1884((z && TextUtils.isEmpty(str)) ? false : true);
this.f13256 = interfaceC5904;
this.f13258 = str;
this.f13257 = z;
this.f13259 = new HashMap();
}
public static byte[] m5294(InterfaceC5902.InterfaceC5904 interfaceC5904, String str, byte[] bArr, Map<String, String> map) {
Map<String, List<String>> map2;
List<String> list;
C5930 c5930 = new C5930(interfaceC5904.createDataSource());
Collections.emptyMap();
Uri parse = Uri.parse(str);
C1804.m1895(parse, "The uri must be set.");
C5881 c5881 = new C5881(parse, 0L, 2, bArr, map, 0L, -1L, null, 1, null);
int i = 0;
C5881 c58812 = c5881;
while (true) {
try {
DataSourceInputStream dataSourceInputStream = new DataSourceInputStream(c5930, c58812);
try {
byte[] m3488 = C3335.m3488(dataSourceInputStream);
int i2 = C3335.f8136;
try {
dataSourceInputStream.close();
} catch (IOException unused) {
}
return m3488;
} catch (InterfaceC5902.C5908 e) {
int i3 = e.responseCode;
String str2 = null;
if (((i3 == 307 || i3 == 308) && i < 5) && (map2 = e.headerFields) != null && (list = map2.get("Location")) != null && !list.isEmpty()) {
str2 = list.get(0);
}
throw e;
}
} catch (Exception e2) {
Uri uri = c5930.f13847;
Objects.requireNonNull(uri);
throw new C5638(c5881, uri, c5930.mo970(), c5930.f13848, e2);
}
}
}
public byte[] m5295(UUID uuid, InterfaceC5640.C5641 c5641) {
String str;
String str2 = c5641.f13268;
if (this.f13257 || TextUtils.isEmpty(str2)) {
str2 = this.f13258;
}
if (!TextUtils.isEmpty(str2)) {
HashMap hashMap = new HashMap();
UUID uuid2 = C3788.f9590;
if (uuid2.equals(uuid)) {
str = "text/xml";
} else {
str = C3788.f9589.equals(uuid) ? "application/json" : "application/octet-stream";
}
hashMap.put("Content-Type", str);
if (uuid2.equals(uuid)) {
hashMap.put("SOAPAction", "http://schemas.microsoft.com/DRM/2007/03/protocols/AcquireLicense");
}
synchronized (this.f13259) {
hashMap.putAll(this.f13259);
}
return m5294(this.f13256, str2, c5641.f13267, hashMap);
}
Map emptyMap = Collections.emptyMap();
Uri uri = Uri.EMPTY;
C1804.m1895(uri, "The uri must be set.");
throw new C5638(new C5881(uri, 0L, 1, null, emptyMap, 0L, -1L, null, 0, null), Uri.EMPTY, C2046.f5286, 0L, new IllegalStateException("No license URL"));
}
public byte[] m5296(UUID uuid, InterfaceC5640.C5644 c5644) {
String str = c5644.f13270;
String m3499 = C3335.m3499(c5644.f13269);
return m5294(this.f13256, C9125.m8059(m3499.length() + C9125.m8079(str, 15), str, "&signedRequest=", m3499), null, Collections.emptyMap());
}
}