Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
package com.amazonaws.auth;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.Properties;
/* loaded from: classes.dex */
public class PropertiesCredentials implements AWSCredentials {
public final String accessKey;
public final String secretAccessKey;
@Override // com.amazonaws.auth.AWSCredentials
public String getAWSAccessKeyId() {
return this.accessKey;
}
@Override // com.amazonaws.auth.AWSCredentials
public String getAWSSecretKey() {
return this.secretAccessKey;
}
public PropertiesCredentials(File file) {
if (!file.exists()) {
throw new FileNotFoundException("File doesn't exist: " + file.getAbsolutePath());
}
FileInputStream fileInputStream = new FileInputStream(file);
try {
Properties properties = new Properties();
properties.load(fileInputStream);
if (properties.getProperty("accessKey") == null || properties.getProperty("secretKey") == null) {
throw new IllegalArgumentException("The specified file (" + file.getAbsolutePath() + ") doesn't contain the expected properties 'accessKey' and 'secretKey'.");
}
this.accessKey = properties.getProperty("accessKey");
this.secretAccessKey = properties.getProperty("secretKey");
} finally {
try {
fileInputStream.close();
} catch (IOException unused) {
}
}
}
}