Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
PKCS7.ReadFromFile
Reads certificate and private key from a PKCS#7 file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Certificates | 9.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "PKCS7.ReadFromFile"; Path ) More
Parameters
Parameter | Description | Example |
---|---|---|
Path | The native file path to the PKCS#7 file. | "/Users/cs/Desktop/test.pem" |
Result
Returns PKCS7 reference number or error.
Description
Reads certificate and private key from a PKCS#7 file.Please call PKCS7.Release later to release memory.
See also
- PKCS12.ReadFromFile
- PKCS7.Release
- PKCS7.SignedDataCert
- PKCS7.SignedDataCertCount
- PKCS7.SignedDataContent
- PKey.ReadFromFile
- X509.ReadFromFile
Release notes
- Version 10.2
- Changed PKCS7.ReadFromFile to better report error messages from OpenSSL.
This function checks for a license.
Created 6th March 2019, last changed 6th March 2019