display pki rsa local-key-pair { pem | pkcs12 } filename [ password password ]
display pki rsa local-key-pair [ name key-name ] public [ temporary ]
Parameter | Description | Value |
---|---|---|
pem | Indicates that the file format is PEM. | - |
pkcs12 | Indicates that the file format is PKCS12. | - |
filename | Specifies the name of the file that contains the RSA key pair. | The file name must already exist. |
password password | Specifies the decryption password of RSA key pair. The value must be the same as the password configured using the pki export rsa-key-pair command. | The value must be the name of an existing decryption password of the RSA key pair. |
name key-name | Specifies the RSA key pair name. | The RSA key pair name must already exist. |
temporary | Displays information about the RSA key pair saved in the temporary zone. | - |
This command shows information about the RSA key pair and public key, including key pair creation time, key pair name, whether the key can be exported, and public key information.
If key-name is not specified, all RSA key pairs and public keys are displayed. If key-name is specified, the specified RSA key pair and public key are displayed.
# Display information about all RSA key pairs.
<HUAWEI> display pki rsa local-key-pair public
=====================================================
Time of Key pair created: 17:43:42 2016/4/18
Key Name: abc
Key Index: 0
Key Modules: 2048 bit
Key Exportable: Yes
Key Type: RSA signature key
=====================================================
Key code:
30820109
02820100
C23344E1 B2C2D653 EB134011 9266C6CC 7C18C45F
440AF31F 98B29D4C D436757B F6785BB5 09EFA2A1
09FDBB24 62F1914D 4F10678F 3BE8E3C0 E6F02FC9
AFE2ADDE 98E07D2C A5732288 A5280D2B 6A785F59
A8D19D37 9B80F7EF 1B15FB77 BD9C54D0 01AF270F
90258F65 1A631282 50002C4F 23EF0482 1F62E356
AC700041 B31AB3B4 5C7EB4C0 AFF2E5AF 3DDA4F4E
F5B86502 08BA7AFE 37204C67 7149AE52 1462F25E
16B777E8 E71BCFBE 0E9E02A7 C5FE6120 304BE6C3
CEB2575A EA24EBB6 BA420994 C50F3662 D8F24F25
0D833865 5A127754 2E954F7F 16292DAA AF9D2371
E669ADFF 4EA9FFF8 CE8488D7 344EBCEB AAA74116
B30EF506 C64A726E B1013CB4 E8FA6707
0203
010001
Item |
Description |
---|---|
Time of Key pair created |
Time when the RSA key pair is created. |
Key Name |
Name of a key pair. It is configured using the pki rsa local-key-pair create command. |
Key Index |
Index of the key. |
Key Modules |
Number of bits of the key. |
Key Exportable |
Whether the key can be exported. |
Key Type |
Type of the key. |
Key code |
Public key in the RSA key pair. |