在本页

sslKey QML Type

sslKey 类提供了私钥和公钥的接口。更多

Import Statement: import QtNetwork
Since: Qt 6.7
In C++: QSslKey

属性

详细说明

sslKey 提供了管理密钥的 API。QML sslKey 类基于Q_GADGET ,它根据 QML 属性生成QSslKey 对象。

另请参阅 QSslKey

属性文档

keyAlgorithm : enumeration

包含 KeyAlgorithm 枚举值。

另请参阅 QSsl::KeyAlgorithm

keyFile : string

保存*.pem 密钥文件的路径。

keyFormat : enumeration

包含 EncodingFormat 枚举值。

另请参阅 QSsl::EncodingFormat

keyPassPhrase : bytearray

保存用于解密QSslKey 的值。

另请参阅 QSslKey

keyType : enumeration

保存 KeyType 枚举值。

另请参阅 QSsl::KeyType

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.