Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Reads a PEM certificate from text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Certificates | 7.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Text | The certificate in PEM format as text. PEM file may contain multiple things like certificate and private or public key. |
Returns X509 reference number or error.
Reads a certificate and shows name:
Set Variable [$cert; Value:MBS( "X509.Read"; test::Cert )]
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
This function checks for a license.
Created 23th December 2016, last changed 24th August 2021