ALEOS AF API Reference Guide 1.3
- Jul 1, 2016
- Author: Sierra Wireless
This provides detailed API documentation of all the Lua modules in ALEOS AF.
Module ssl.x509
X509 certificate management API
Type ssl.x509
| ssl.x509.load(str) |
Loads a X509 certificate from a string representation. |
Type cert
| cert.digest() | |
| cert.extensions() |
Retrieves the extension fields from certificate. |
| cert.issuer() |
Retrieves the Issuer from certificate. |
| cert.notafter() |
Returns the "not after" date. |
| cert.notbefore() |
Returns the "not before" date. |
| cert.perm() |
Exports the certificate as string in PEM format. |
| cert.serial() |
Return the serial number. |
| cert.setencode(e) |
Set the encode for ASN.1 string. |
| cert.subject() |
Retrieves the Subject from certificate. |
| cert.validat() |
Checks if the certificate is valid at a given time. |
Type ssl.x509
Field(s)
- ssl.x509.load(str)
-
Loads a X509 certificate from a string representation.
See cert.pem
Parameter
-
str:
Return value
-
Type cert
Field(s)
- cert.extensions()
-
Retrieves the extension fields from certificate.
- cert.issuer()
-
Retrieves the Issuer from certificate.
- cert.notafter()
-
Returns the "not after" date.
- cert.notbefore()
-
Returns the "not before" date.
- cert.perm()
-
Exports the certificate as string in PEM format.
See ssl.x509#load
- cert.serial()
-
Return the serial number.
- cert.setencode(e)
-
Set the encode for ASN.1 string.
Parameter
-
e: can be "ai5" or "utf8"
-
- cert.subject()
-
Retrieves the Subject from certificate.
- cert.validat()
-
Checks if the certificate is valid at a given time.
Comment
Forum