Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从我的数据库中解析一个 pkcs12 文件,我使用命令load_pkcs12 ,但是这个命令在参数中获取一个文件,或者我想使用我通过get查询获得的数据库中的一个对象。我需要如何进行?
load_pkcs12
get
解决方案 :
blob_file = Xx.objects.get(id=X_id).pkcs12 p12 = load_pkcs12(blob_file,'password')