이 페이지에서

sslConfiguration QML Type

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

Import Statement: import QtNetwork
Since: Qt 6.7

속성

방법

상세 설명

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

QSslConfiguration참조하세요 .

속성 문서

ciphers : string

이 구성에 대한 암호화 암호 모음은 콜론으로 구분된 암호 모음 이름 목록인 ciphers 으로 유지합니다.

QSslConfiguration::ciphers도 참조하세요 .

peerVerifyDepth : int

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

QSslConfiguration::peerVerifyDepth참조하세요 .

peerVerifyMode : enumeration

피어확인모드 열거값을 보유합니다.

QSslSocket::PeerVerifyMode참조하세요 .

protocol : enumeration

SslProtocol 열거값을 보유합니다.

QSsl::SslProtocol참조하세요 .

sessionTicket : bytearray

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

QSslConfiguration::sessionTicket참조하세요 .

sslOptionFlags : QSsl::SslOptions [since 6.11]

구성에서 활성화된 SslOption 값의 비트별 OR을 보유합니다.

기본값은 QSslConfiguration::defaultConfiguration()로 설정한 것과 동일합니다.

이 프로퍼티는 Qt 6.11에 도입되었습니다.

QSsl::SslOptions참조하십시오 .

메서드 문서

void setCertificateFiles(const QStringList &certificateFiles)

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

void setPrivateKey(const QQmlSslKey &privateKey)

이 기능은 사용자 정의 개인 키 값을 설정합니다 privateKey.

QSslKeysslKey도 참조하세요 .

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