key-usage

Function

The key-usage command configures the purpose description for a certificate public key.

The undo key-usage command deletes the purpose description of a certificate public key.

By default, a certificate public key does not have a purpose description.

Format

key-usage { encipherment | signature }

undo key-usage

Parameters

Parameter Description Value
encipherment Specifies a certificate public key for encryption. -
signature Specifies a certificate public key for signature. -

Views

PKI realm view

Default Level

2: Configuration level

Usage Guidelines

After a purpose description is configured for a certificate public key, the CA server can obtain the purpose of the public key during certificate enrollment through SCEP.

Example

# Set the purpose description for the certificate public key to signature.
<sysname> system-view
[sysname] pki realm e
[sysname-pki-realm-e] key-usage signature

Copyright © Huawei Technologies Co., Ltd.