本页内容

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.