Androidのパッケージ署名には、Android Studio のコマンドラインユーティリティの一部として提供されているApksigner ユーティリティを使用します。Apksignerは、当社のPKCS11ライブラリを使用します。
Integrate Apksigner with Signing Manager Controller (SMCTL) for simplified signing. Alternatively, you can sign directly with Apksigner and reference your private key stored in Software Trust Manager.
.aab
.apk
Install build tools
Install Apksigner
There are two ways to install Apksigner. The easiest method is to download the Android SDK because Apksigner is included in the download, however the Android SDK is a big file. Alternatively, you can install Apksigner by using installing build tools and downloading Android Studio.
Operating systems use the environment variable called PATH to determine where executable files are stored on your system. Use the PATH environment variable to store the file path to your signing tools to ensure that the CLI can reference these signing tools.
Apksigner uses a configuration file to integrate with Software Trust Manager PKCS11 library.
Follow these instructions to download Software Trust Manager PKCS11 library and create the configuration file.
You can sign with Apksigner directly or via DigiCert's signing tools integrated with Apksigner: