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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
X509.Read
Reads a PEM certificate from text.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Certificates | 7.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example |
|---|---|---|
| Text | The certificate in PEM format as text. |
Result
Returns X509 reference number or error.
Description
Reads a PEM certificate from text.See also X509.ReadFromContainer for reading from container and X509.ReadFromFile to read from file on disk.
Examples
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
See also
- IsError
- X509.Description
- X509.IssuerName
- X509.Name
- X509.ReadFromContainer
- X509.ReadFromFile
- X509.Release
- X509.SerialNumber
- X509.ShowDialog
- X509.SubjectName
Release notes
- Version 9.1
- Added support for binary format to X509.Read, X509.ReadFromContainer and X509.ReadFromFile.
Created 23th December 2016, last changed 4th April 2017
X509.Name - X509.ReadFromContainer
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos