|
|
|
@ -35,7 +35,7 @@ import java.security.spec.X509EncodedKeySpec;
|
|
|
|
|
* created by Harrison on 2020/05/27 |
|
|
|
|
**/ |
|
|
|
|
public class DownloadUtils { |
|
|
|
|
private static final String REUSES_URL = CloudCenter.getInstance().acquireUrlByKind("af.reuseInfo") + "file/"; |
|
|
|
|
private static final String REUSES_URL = CloudCenter.getInstance().acquireUrlByKind("af.reuseInfo") + "file/download"; |
|
|
|
|
private static final String PACKAGE_REUSES_URL = CloudCenter.getInstance().acquireUrlByKind("af.reuseInfo") + "package/download/"; |
|
|
|
|
private static final String CERTIFICATE_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtsz62CPSWXZE/IYZRiAuTSZkw\n" + |
|
|
|
|
"1WOwer8+JFktK0uKLAUuQoBr+UjAMFtRA8W7JgKMDwZy/2liEAiXEOSPU/hrdV8D\n" + |
|
|
|
|