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.
- 25 properties
- property AuthorityKeyIdentifier as String New in 25.5
- property BasicConstraints as String New in 25.5
- property CertificatePolicies as String New in 25.5
- property Description as String
- property ExtendedKeyUsage as String New in 25.5
- property ExtendedKeyUsageValue as Integer New in 25.5
- property Handle as Integer
- property IssuerAlternativeName as String New in 25.5
- property IssuerName as Dictionary
- property KeyUsage as String New in 25.5
- property KeyUsageValue as Integer New in 25.5
- property Name as String
- property NameConstraints as String New in 25.5
- property PolicyConstraints as String New in 25.5
- property PolicyMappings as String New in 25.5
- property PublicKey as PKeyMBS
- property SerialNumber as String
- property SubjectAlternativeName as String New in 25.5
- property SubjectKeyIdentifier as String New in 25.5
- 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.
Blog Entries
- News from the MBS Xojo Plugins Version 25.3
- 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
- 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 25.5
- Added more properties to X509MBS class for debugging.
- 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.
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
- PKeyMBS.GenerateRootCertificate(Fields as Dictionary, params as SignCertificateParametersMBS = nil) as X509MBS
- PKeyMBS.SignCertificate(params as SignCertificateParametersMBS) as X509MBS
Some properties using for this class:
- SignCertificateParametersMBS.RootCert as X509MBS
Some examples using this class:
Some related classes:
The items on this page are in the following plugins: MBS Encryption Plugin.