类 AppBundleSigner
java.lang.Object
io.github.amsonix.molt.internal.reschiper.bundle.AppBundleSigner
Utility class for signing an Android App Bundle (AAB) using a JarSigner.
-
构造器概要
构造器构造器说明AppBundleSigner(Path bundleFile) Constructs an AppBundleSigner with the provided AAB file path.AppBundleSigner(Path bundleFile, JarSigner.Signature signature) Constructs an AppBundleSigner with the provided AAB file path and signature. -
方法概要
修饰符和类型方法说明voidexecute()Executes the signing of the Android App Bundle (AAB) using the specified JarSigner signature.voidsetBundleSignature(JarSigner.Signature bundleSignature) Sets the signature to use for signing the AAB.
-
构造器详细资料
-
AppBundleSigner
Constructs an AppBundleSigner with the provided AAB file path and signature.- 参数:
bundleFile- The path to the Android App Bundle (AAB) file to sign.signature- The signature to use for signing the AAB.
-
AppBundleSigner
Constructs an AppBundleSigner with the provided AAB file path.- 参数:
bundleFile- The path to the Android App Bundle (AAB) file to sign.
-
-
方法详细资料
-
setBundleSignature
Sets the signature to use for signing the AAB.- 参数:
bundleSignature- The signature to use for signing the AAB.
-
execute
Executes the signing of the Android App Bundle (AAB) using the specified JarSigner signature.- 抛出:
IOException- If an I/O error occurs during the signing process.InterruptedException- If the signing process is interrupted.
-