sslConfiguration QML Type

sslConfiguration 클래스는 SSL 연결의 구성과 상태를 보관합니다. 더 보기...

Import Statement: import QtNetwork
Since: Qt 6.7

속성

방법

상세 설명

sslConfiguration은 개방형 SSL 연결에 대한 정보를 전달하고 애플리케이션이 해당 연결의 특정 기능을 제어할 수 있도록 하는 데 사용됩니다. sslConfiguration은 QSslConfiguration 객체를 내부에 캡슐화합니다. sslConfiguration은 ctor에서 defaultSslCongiguration을 호출합니다.

QSslConfiguration참조하세요 .

속성 문서

ciphers : string

이 구성에 대한 암호화 암호 집합을 콜론으로 구분된 암호 집합 이름 목록인 ciphers 로 보유합니다.

QSslConfiguration::ciphers도 참조하십시오 .


peerVerifyDepth : int

SSL 핸드셰이크 단계에서 검사할 상대방의 인증서 체인에 있는 최대 인증서 수를 보유하거나 최대 깊이가 설정되지 않은 경우 0(기본값)으로 하여 전체 인증서 체인을 검사해야 함을 나타냅니다.

QSslConfiguration::peerVerifyDepth참조하세요 .


peerVerifyMode : enumeration

PeerVerifyMode 열거 값을 보유합니다.

QSslSocket::PeerVerifyMode도 참조 하세요.


protocol : enumeration

SslProtocol 열거 값을 보유합니다.

QSsl::SslProtocol도 참조하세요 .


sessionTicket : bytearray

SSL 핸드셰이크에 사용된 세션 티켓을 ASN.1 형식으로 보유하며, 예를 들어 디스크에 지속되기에 적합합니다.

QSslConfiguration::sessionTicket도 참조 하세요.


sslOptions : QList

구성에 의해 활성화된 SslOption 값의 목록을 보유합니다.

QSsl::SslOption도 참조 하세요.


메서드 문서

void setCertificateFiles(const QStringList &certificateFiles)

이 함수는 사용자가 제공한 인증서 목록 certificateFiles 을 구성에 로드합니다.


void setPrivateKey(const QQmlSslKey &privateKey)

이 함수는 구성에 사용자 정의 개인 키 값 privateKey 을 설정합니다.

QSslKeysslKey도 참조 하세요.


© 2025 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.