Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

X509.SubjectName

The subject name.

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

Parameters

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

Result

Returns text or error.

Description

The subject name.
Returns a list of key=value entries.

Examples

Shows subject name:

Set Variable [$cert; Value:MBS( "X509.Read"; test::Cert )]
If [MBS("IsError")]
    Show Custom Dialog ["Error"; $cert]
Else
    Show Custom Dialog ["SubjectName"; MBS( "X509.SubjectName"; $cert )]
    Set Variable [$r; Value:MBS( "X509.Release"; $cert )]
End If

See also

This function checks for a license.

Created 23th December 2016, last changed 23th December 2016


X509.ShowDialog - X509.ValidNotAfter