Platforms to show: All Mac Windows Linux Cross-Platform
X509MBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Encryption and Hash | MBS Encryption Plugin | 17.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Currently this class only implements a part of the X509 functionality of OpenSSL. If needed, we could add more.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 12 properties
- property Description as String
- property Handle as Integer
- property IssuerName as Dictionary
- property Name as String
- property PublicKey as PKeyMBS
- property SerialNumber as String
- property SubjectName as Dictionary
- property ValidNotAfter as Date
- property ValidNotAfterDateTime as DateTime
- property ValidNotBefore as Date
- property ValidNotBeforeDateTime as DateTime
- property Version as Integer
- 4 methods
- method Constructor Private
- method Copy as X509MBS
- method Data as String
- method Verify(PublicKey as PKeyMBS) as Integer
- 5 shared methods
- shared method CheckCertificates(rootCertificates() as X509MBS, certificate as X509MBS, intermediates() as X509MBS = nil) as Boolean
- shared method Open(Data as MemoryBlock) as X509MBS
- shared method Open(Data as String) as X509MBS
- shared method ReadFromPkcs12(Data as String, Pass as String, byref PKey as PKeyMBS, byref Cert as X509MBS, byref certs() as X509MBS) as Boolean
- shared method ReadFromPkcs7(Data as String, Pass as String, byref certs() as X509MBS) as Boolean
This class has no sub classes.
Some methods using this class:
- OpenSSLMBS.PKCS7SignData(Certificate as X509MBS, PrivateKey as PKeyMBS, certs() as X509MBS = nil, data as string, flags as Integer = 0) as string
- OpenSSLMBS.SMimePKCS7Decrypt(InputData as string, Certificate as X509MBS, SignKey as PKeyMBS) as String
- OpenSSLMBS.SMimePKCS7Encrypt(InputData as string, Certificate as X509MBS) as String
- OpenSSLMBS.SMimePKCS7Sign(InputData as string, Certificate as X509MBS, SignKey as PKeyMBS) as String
- OpenSSLMBS.SMimePKCS7Verify(InputData as string, Certificate as X509MBS) as String
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 24.3pr7
- News from the MBS Xojo Plugins Version 22.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 22.1
- MBS Xojo Plugins, version 22.1pr1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 21.1
- MBS Xojo Plugins, version 21.1pr6
- News from the MBS Xojo Plugins Version 20.3
- MBS Xojo Plugins, version 20.3pr9
- Sign PDF with DynaPDF and your custom signature
- MonkeyBread Software Releases the MBS Xojo plug-ins in version 17.0
Xojo Developer Magazine
Videos
Release notes
- Version 24.3
- Improved X509MBS.Open to read binary certificates, too.
- Version 22.1
- Added CheckCertificates and Verify for X509MBS class.
- Version 21.1
- Added ReadFromPkcs7 function for X509MBS class.
- Version 20.3
- Added ValidNotBefore and ValidNotAfter properties for X509MBS class.
- Version 17.0
- Added X509MBS and PKeyMBS class for reading details from certificates.
The items on this page are in the following plugins: MBS Encryption Plugin.