SslSettings.SslStrictKeyUsageValidation Property
Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9083)
SslStrictKeyUsageValidation
Gets or sets a key usage check mode for server certificate.
Declaration
public bool SslStrictKeyUsageValidation { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Remarks
Relaxed (default): | Check 'Extended Key Usage' extension (2.5.29.37). If not present, check 'Key Usage' extension (2.5.29.15). |
Strict: | If present, check both 'Extended Key Usage' extension (2.5.29.37) and 'Key Usage' extension (2.5.29.15). |
Extended Key Usage check: | If present, usage must contain ServerAuthentication or AnyPurpouse. |
Key Usage check: | If present, usage must contain KeyAgreement or KeyEncipherment or DigitalSignature. |