propertyTstBaseCertificateGenerator.CertificateWizard
property CertificateWizard: tNewCertificateWizardEnum read fCertificateWizard write SetCertificateWizard;
Applications set CertificateWizard to select the profile of the certificate to be created (ncwRootCA, ncwCA, ncwEndEntityCA, ncwServer, ncwClient, ncwCodeSigning or ncwEMail). Setting it also seeds the Extensions set with the extensions typical for that profile (e.g. Basic Constraints, Key Usage, Authority/Subject Key Identifier), so it is normally set before configuring Extensions. When CertificateWizard = ncwRootCA the issuer-certificate and issuer-private-key events are skipped and the certificate is self-signed (OnGetSerial still fires). ncwServer vs ncwClient primarily affect the Extended Key Usage imposed for the TLS server vs client role.