createCertificate method
Creates a new empty X509 Certificate structure. Useful for building new certificates.
Implementation
X509Certificate createCertificate() {
final cert = bindings.X509_new();
if (cert == nullptr) {
throw OpenSslException('Failed to create X509 structure');
}
return X509Certificate(cert, this as dynamic);
}