Options to create X.509 certificate/certificate request
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Only include one option for the signature algorithm.
| Member Name | Description | Value |
|---|---|---|
| None | Default options | 0 |
| SigAlg_Sha1WithRSAEncryption | Sign with sha1WithRSAEncryption | 0 |
| SigAlg_Md5WithRSAEncryption | Sign with md5WithRSAEncryption | 1 |
| SigAlg_Md2WithRSAEncryption | Sign with md2WithRSAEncryption | 2 |
| SigAlg_Sha256WithRSAEncryption | Sign with sha256WithRSAEncryption | 3 |
| SigAlg_Sha384WithRSAEncryption | Sign with sha384WithRSAEncryption | 4 |
| SigAlg_Sha512WithRSAEncryption | Sign with sha512WithRSAEncryption | 5 |
| SigAlg_Sha224WithRSAEncryption | Sign with sha224WithRSAEncryption | 6 |
| FormatPem | Create in PEM (base64) format (default for CSR request) | 65536 |
| FormatBinary | Create in binary format (default for certificate) | 131072 |
| RequestKludge | Create a request with the "kludge" that omits the strictly mandatory attributes completely (default = include attributes with zero-length field) | 1048576 |
| Latin1 | Decode Unicode or UTF-8 string as Latin-1, if possible | 4194304 |
| UTF8String | Encode distinguished name as UTF8String (default = PrintableString) | 8388608 |
| NoBasicConstraints | Disable the BasicConstraints extension (default = include) | 33554432 |
| SetAsCA | Set the BasicConstraints subject type to be a CA (default = End Entity) | 67108864 |
| VersionOne | Create a Version 1 certificate, i.e. no extensions (default = Version 3) | 134217728 |
Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll)