Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Reads a certificate from a PEM file.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Certificates | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native file path to the PEM file. | "/Users/cs/Desktop/test.pem" |
Returns X509 reference number or error.
Reads a certificate and shows name:
Set Variable [$cert; Value:MBS( "X509.ReadFromFile"; "/Users/cs/Desktop/test.pem" )]
If [MBS("IsError")]
Show Custom Dialog ["Error"; $cert]
Else
Show Custom Dialog ["Name"; MBS( "X509.Name"; $cert )]
Set Variable [$r; Value:MBS( "X509.Release"; $cert )]
End If
Created 23th December 2016, last changed 23th December 2016
X509.ReadFromContainer - X509.Release
Feedback: Report problem or ask question.