我从某个类似的地方得到myfile.pem
:
Bag Attributes
localKeyID: 01 00 00 00
Microsoft CSP Name: Microsoft Enhanced Cryptographic Provider v1.0
friendlyName: le-Administrator-a40d2803-ae0e-5b5a-8c16-f379ea22e803
Key Attributes
X509v3 Key Usage: 80
-----BEGIN PRIVATE KEY-----
Something secret
-----END PRIVATE KEY-----
Bag Attributes
localKeyID: 01 00 00 00
friendlyName: Myapp
subject=/C=IR/ST=THR/O=Myapp/CN=\xD8\xB4\xDA\xA9\xD9\x88\xD8\xB1\xDB\x8C \xD9\x75\xD9\x82\xD8\xAF\xD9\x85 \xE2\x80\x93 \xDB\xB1\xDB\xB0\xDB\xB0\xDB\xB0\xDB\xB0\xD9\xB064692851
issuer=/DC=ir/DC=pnaco/CN=PNA Terminal CA
-----BEGIN CERTIFICATE-----
Something binary data
-----END CERTIFICATE-----
我想加密一些消息并使用此文件发送。我该怎么办?