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

X509.ReadFromContainer

Reads a certificate from a container value.

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

Parameters

Parameter Description Example
Container The container with the certificate file.

Result

Returns X509 reference number or error.

Description

Reads a certificate from a container value.

Examples

Reads a certificate and shows name:

Set Variable [$cert; Value:MBS( "X509.ReadFromContainer";test::Container )]
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

See also

Release notes

This function checks for a license.

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


X509.Read - X509.ReadFromFile