mirror of
https://github.com/revanced/revanced-cli.git
synced 2024-12-13 05:37:45 +01:00
592dc1c64a
This commit allows setting the keystore as well as the keystore entry password, alias and signer. BREAKING CHANGE: This changes many signatures of existing APIs and adds new functions for signing
136 lines
7.2 KiB
Plaintext
136 lines
7.2 KiB
Plaintext
public final class app/revanced/lib/ApkUtils {
|
|
public static final field INSTANCE Lapp/revanced/lib/ApkUtils;
|
|
public final fun copyAligned (Ljava/io/File;Ljava/io/File;Lapp/revanced/patcher/PatcherResult;)V
|
|
public final fun sign (Ljava/io/File;Ljava/io/File;Lapp/revanced/lib/ApkUtils$SigningOptions;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/ApkUtils$SigningOptions {
|
|
public fun <init> (Ljava/io/File;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
public synthetic fun <init> (Ljava/io/File;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
public final fun getAlias ()Ljava/lang/String;
|
|
public final fun getKeyStore ()Ljava/io/File;
|
|
public final fun getKeyStorePassword ()Ljava/lang/String;
|
|
public final fun getPassword ()Ljava/lang/String;
|
|
public final fun getSigner ()Ljava/lang/String;
|
|
}
|
|
|
|
public final class app/revanced/lib/Options {
|
|
public static final field INSTANCE Lapp/revanced/lib/Options;
|
|
public final fun deserialize (Ljava/lang/String;)[Lapp/revanced/lib/Options$Patch;
|
|
public final fun serialize (Ljava/util/Set;Z)Ljava/lang/String;
|
|
public static synthetic fun serialize$default (Lapp/revanced/lib/Options;Ljava/util/Set;ZILjava/lang/Object;)Ljava/lang/String;
|
|
public final fun setOptions (Ljava/util/Set;Ljava/io/File;)V
|
|
public final fun setOptions (Ljava/util/Set;Ljava/lang/String;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/Options$Patch {
|
|
public final fun getOptions ()Ljava/util/List;
|
|
public final fun getPatchName ()Ljava/lang/String;
|
|
}
|
|
|
|
public final class app/revanced/lib/Options$Patch$Option {
|
|
public final fun getKey ()Ljava/lang/String;
|
|
public final fun getValue ()Ljava/lang/Object;
|
|
}
|
|
|
|
public abstract class app/revanced/lib/adb/AdbManager {
|
|
public static final field Companion Lapp/revanced/lib/adb/AdbManager$Companion;
|
|
public synthetic fun <init> (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
protected final fun getDevice ()Lse/vidstige/jadb/JadbDevice;
|
|
protected final fun getLogger ()Ljava/util/logging/Logger;
|
|
public fun install (Lapp/revanced/lib/adb/AdbManager$Apk;)V
|
|
public fun uninstall (Ljava/lang/String;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$Apk {
|
|
public fun <init> (Ljava/io/File;Ljava/lang/String;)V
|
|
public synthetic fun <init> (Ljava/io/File;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
public final fun getFile ()Ljava/io/File;
|
|
public final fun getPackageName ()Ljava/lang/String;
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$Companion {
|
|
public final fun getAdbManager (Ljava/lang/String;Z)Lapp/revanced/lib/adb/AdbManager;
|
|
public static synthetic fun getAdbManager$default (Lapp/revanced/lib/adb/AdbManager$Companion;Ljava/lang/String;ZILjava/lang/Object;)Lapp/revanced/lib/adb/AdbManager;
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$DeviceNotFoundException : java/lang/Exception {
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$FailedToFindInstalledPackageException : java/lang/Exception {
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$PackageNameRequiredException : java/lang/Exception {
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$RootAdbManager : app/revanced/lib/adb/AdbManager {
|
|
public static final field Utils Lapp/revanced/lib/adb/AdbManager$RootAdbManager$Utils;
|
|
public fun install (Lapp/revanced/lib/adb/AdbManager$Apk;)V
|
|
public fun uninstall (Ljava/lang/String;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$RootAdbManager$Utils {
|
|
}
|
|
|
|
public final class app/revanced/lib/adb/AdbManager$UserAdbManager : app/revanced/lib/adb/AdbManager {
|
|
public fun install (Lapp/revanced/lib/adb/AdbManager$Apk;)V
|
|
public fun uninstall (Ljava/lang/String;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/logging/Logger {
|
|
public static final field INSTANCE Lapp/revanced/lib/logging/Logger;
|
|
public final fun addHandler (Lkotlin/jvm/functions/Function3;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;)V
|
|
public final fun removeAllHandlers ()V
|
|
public final fun setDefault ()V
|
|
public final fun setFormat (Ljava/lang/String;)V
|
|
public static synthetic fun setFormat$default (Lapp/revanced/lib/logging/Logger;Ljava/lang/String;ILjava/lang/Object;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/signing/ApkSigner {
|
|
public static final field INSTANCE Lapp/revanced/lib/signing/ApkSigner;
|
|
public final fun newApkSignerBuilder (Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;Ljava/lang/String;Ljava/lang/String;)Lcom/android/apksig/ApkSigner$Builder;
|
|
public final fun newApkSignerBuilder (Ljava/security/KeyStore;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lcom/android/apksig/ApkSigner$Builder;
|
|
public final fun newKeyStore (Ljava/util/List;)Ljava/security/KeyStore;
|
|
public final fun newKeystore (Ljava/io/OutputStream;Ljava/lang/String;Ljava/util/List;)V
|
|
public final fun newPrivateKeyCertificatePair (Ljava/lang/String;Ljava/util/Date;)Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;
|
|
public static synthetic fun newPrivateKeyCertificatePair$default (Lapp/revanced/lib/signing/ApkSigner;Ljava/lang/String;Ljava/util/Date;ILjava/lang/Object;)Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;
|
|
public final fun readKeyCertificatePair (Ljava/security/KeyStore;Ljava/lang/String;Ljava/lang/String;)Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;
|
|
public final fun readKeyStore (Ljava/io/InputStream;Ljava/lang/String;)Ljava/security/KeyStore;
|
|
public final fun signApk (Lcom/android/apksig/ApkSigner$Builder;Ljava/io/File;Ljava/io/File;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/signing/ApkSigner$KeyStoreEntry {
|
|
public fun <init> (Ljava/lang/String;Ljava/lang/String;Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;)V
|
|
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
public final fun getAlias ()Ljava/lang/String;
|
|
public final fun getPassword ()Ljava/lang/String;
|
|
public final fun getPrivateKeyCertificatePair ()Lapp/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair;
|
|
}
|
|
|
|
public final class app/revanced/lib/signing/ApkSigner$PrivateKeyCertificatePair {
|
|
public fun <init> (Ljava/security/PrivateKey;Ljava/security/cert/X509Certificate;)V
|
|
public final fun getCertificate ()Ljava/security/cert/X509Certificate;
|
|
public final fun getPrivateKey ()Ljava/security/PrivateKey;
|
|
}
|
|
|
|
public final class app/revanced/lib/zip/ZipFile : java/io/Closeable {
|
|
public static final field ApkZipFile Lapp/revanced/lib/zip/ZipFile$ApkZipFile;
|
|
public fun <init> (Ljava/io/File;)V
|
|
public final fun addEntryCompressData (Lapp/revanced/lib/zip/structures/ZipEntry;[B)V
|
|
public fun close ()V
|
|
public final fun copyEntriesFromFileAligned (Lapp/revanced/lib/zip/ZipFile;Lkotlin/jvm/functions/Function1;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/zip/ZipFile$ApkZipFile {
|
|
public final fun getApkZipEntryAlignment ()Lkotlin/jvm/functions/Function1;
|
|
}
|
|
|
|
public final class app/revanced/lib/zip/structures/ZipEntry {
|
|
public static final field Companion Lapp/revanced/lib/zip/structures/ZipEntry$Companion;
|
|
public fun <init> (Ljava/lang/String;)V
|
|
}
|
|
|
|
public final class app/revanced/lib/zip/structures/ZipEntry$Companion {
|
|
}
|
|
|