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  

X509.SerialNumber

Queries the serial number.

Component Version macOS Windows Linux Server iOS SDK
Certificates 7.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "X509.SerialNumber"; X509Ref )   More

Parameters

Parameter Description Example
X509Ref The reference to the X509 certificate. $cert

Result

Returns text or error.

Description

Queries the serial number.

Examples

Shows the serial number:

Show Custom Dialog ["Serial Number"; MBS( "X509.SerialNumber"; $cert )]

Shows serial and description:

Set Variable [$cert; Value:MBS( "X509.ReadFromFile"; "/Users/cs/Desktop/test.pem" )]
Show Custom Dialog ["Serial"; MBS( "X509.SerialNumber"; $cert )]
Show Custom Dialog ["Description"; MBS( "X509.Description"; $cert )]
Set Variable [$r; Value:MBS( "X509.Release"; $cert)]

See also

Created 23th December 2016, last changed 14th March 2017


X509.ReleaseAll - X509.ShowDialog

Feedback: Report problem or ask question.