Is there any python package for parsing pkcs7?
问题 I'm extracting features from Android .APK files with androguard and right now I need to extract the serial number(*) from its signature file (usually CERT.RSA). I've found asn1crypto, but I don't quite understand, how to use it with pkcs7. So is there any python package suitable for this purpose? (*): 回答1: Comment : I have pkcs7 as a memory object, not a file PyOpenSSL does not read from file ! OpenSSL.crypto.load_pkcs7_data(type, buffer) Load pkcs7 data from the string buffer encoded with