Java 为什么jarsigner可以签署Android apk?
根据我在Java中的经验,Java 为什么jarsigner可以签署Android apk?,java,android,Java,Android,根据我在Java中的经验,jarsigner用于为Java存档(JAR)文件生成签名,并验证已签名JAR文件的签名 令我惊讶的是,Android还使用了与JAR格式不同的jarsigner jarsigner是否不要求将二进制文件打包到JAR中?它是如何工作的?APK文件只是包含不同内容的zip文件 从 APK文件只是包含不同内容的zip文件 从 The JAR feature enables the packaging of class files, images, sounds, and
jarsigner
用于为Java存档(JAR)文件生成签名,并验证已签名JAR文件的签名
令我惊讶的是,Android还使用了与JAR格式不同的jarsigner
jarsigner
是否不要求将二进制文件打包到JAR中?它是如何工作的?APK文件只是包含不同内容的zip文件
从
APK文件只是包含不同内容的zip文件 从
The JAR feature enables the packaging of class files, images, sounds, and
other digital data in a single file for faster and easier distribution. A tool
named jar enables developers to produce JAR files.
(Technically, any zip file can also be considered a JAR file, although when
created by the jar command or processed by the jarsigner command, JAR files
also contain a META-INF/MANIFEST.MF file.)