CryptoSys PKI Toolkit Manual

X509.Options Enumeration

Options to create X.509 certificate/certificate request

Syntax

[C#]
[FlagsAttribute]
public enum Options
[VB.NET]
<FlagsAttribute> _
Public Enumeration Options

Members

Member nameDescription
None
Default options
SigAlg_Sha1WithRSAEncryption
Sign with sha1WithRSAEncryption
SigAlg_Md5WithRSAEncryption
Sign with md5WithRSAEncryption
SigAlg_Md2WithRSAEncryption
Sign with md2WithRSAEncryption
SigAlg_Sha256WithRSAEncryption
Sign with sha256WithRSAEncryption
SigAlg_Sha384WithRSAEncryption
Sign with sha384WithRSAEncryption
SigAlg_Sha512WithRSAEncryption
Sign with sha512WithRSAEncryption
SigAlg_Sha224WithRSAEncryption
Sign with sha224WithRSAEncryption
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]
Latin1
Decode Unicode or UTF-8 string as Latin-1, if possible
UTF8String
Encode distinguished name as UTF8String [default = PrintableString]
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]

Remarks

Only include one option for the signature algorithm.

[Contents] [Index]

[HOME]   [NEXT: Example code in VB.NET (VB2005/8/x)...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.