Class KeyUsageParams
Parameters for specifying the allowed uses for an X.509 certificate.
Inherited Members
Namespace: Ng911CertUtils
Assembly: Ng911Lib.dll
Syntax
public class KeyUsageParams
Constructors
| Edit this page View SourceKeyUsageParams()
Default constructor.
Declaration
public KeyUsageParams()
Properties
| Edit this page View SourceclientAuthentication
The certificate can be used for authenticating as a client.
Declaration
public bool clientAuthentication { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
codeSigning
The certificate can be used for code signing. The digitalSignature usage parameter must also be true.
Declaration
public bool codeSigning { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
crlSign
The key can be used to sign a certificate revocation list (CRL).
Declaration
public bool crlSign { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
dataEncipherment
The key can be used for data encryption.
Declaration
public bool dataEncipherment { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
decipherOnly
The key can be used for decryption only.
Declaration
public bool decipherOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
digitalSignature
The key can be used as a digital signature.
Declaration
public bool digitalSignature { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
encipherOnly
The key can be used for encryption only.
Declaration
public bool encipherOnly { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
keyAgreement
The key can be used to determine key agreement, such as a key created using the Diffie-Hellman key agreement algorithm.
Declaration
public bool keyAgreement { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
keyCertSign
The key can be used to sign certificates.
Declaration
public bool keyCertSign { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
keyEncipherment
The key can be used for key encryption.
Declaration
public bool keyEncipherment { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
nonRepudiation
The public key can be used to verify digital signatures other than signatures on certificates.
Declaration
public bool nonRepudiation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
serverAuthentication
The certificate can be used for authenticating as a server
Declaration
public bool serverAuthentication { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |