androguard

Is there any python package for parsing pkcs7?

坚强是说给别人听的谎言 提交于 2020-05-30 07:08:21
问题 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

Is there any python package for parsing pkcs7?

一世执手 提交于 2020-05-30 07:07:08
问题 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

Is there any python package for parsing pkcs7?

吃可爱长大的小学妹 提交于 2020-05-30 07:07:05
问题 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