propertyiGeneralName.Choice
property Choice: tGeneralNameEnum read get_Choice write set_Choice;
A single RFC 5280 GeneralName CHOICE. Read Choice first (or check the relevant tGeneralNameEnum) to learn which alternative is active, then read only the matching AsXxx property. Setting an AsXxx property (or Choice) switches the active alternative in place. Apps meet this when walking a certificate's SubjectAltName / IssuerAltName, CRL distribution points, name constraints or authority-info-access, and when building those extensions (e.g. adding a DNS SAN to a CSR).