Options to create X.509 certificate/CRL/certificate signing request [DEPRECATED]
[ObsoleteAttribute("There is a better alternative method that avoids using these deprecated options.", false)] [FlagsAttribute] public enum Options
<ObsoleteAttribute("There is a better alternative method that avoids using these deprecated options.", _ False)> _ <FlagsAttribute> _ Public Enumeration Options
Member name | Description | |
---|---|---|
None | Default options | |
SigAlg_Sha1WithRSAEncryption | Sign with sha1WithRSAEncryption (rsa-sha1) | |
SigAlg_Md5WithRSAEncryption | Sign with md5WithRSAEncryption (rsa-md5) [legacy, not recommended] | |
SigAlg_Md2WithRSAEncryption | Sign with md2WithRSAEncryption [legacy, definitely not recommended] | |
SigAlg_Sha256WithRSAEncryption | Sign with sha256WithRSAEncryption (rsa-sha256) | |
SigAlg_Sha384WithRSAEncryption | Sign with sha384WithRSAEncryption (rsa-sha384) | |
SigAlg_Sha512WithRSAEncryption | Sign with sha512WithRSAEncryption (rsa-sha512) | |
SigAlg_Sha224WithRSAEncryption | Sign with sha224WithRSAEncryption (rsa-sha224) | |
FormatPem | Create in PEM (base64) format (default for CSR request) | |
FormatBinary | Create in binary format (default for certificate) | |
RequestKludge | Create a request with the "kludge" that omits the strictly mandatory attributes completely [default = include attributes with zero-length field] | |
UTF8String | Encode distinguished name as UTF8String [default = PrintableString] | |
Latin1 | Output with Unicode or UTF-8 string re-encoded as Latin-1, if possible | |
Ldap | Output distinguished name in LDAP string representation | |
Decimal | Output serial number in decimal format [default = hex] | |
NoBasicConstraints | Disable the BasicConstraints extension [default = include] | |
SetAsCA | Set the BasicConstraints subject type to be a CA [default = End Entity] | |
VersionOne | Create a Version 1 certificate, i.e. no extensions [default = Version 3] | |
AuthKeyId | Add the issuer's KeyIdentifier, if present, as an AuthorityKeyIdentifer [default = do not add] |