sslConfiguration QML Type
sslConfiguration 클래스는 SSL 연결의 구성 및 상태를 저장합니다. 더 보기...
| Import Statement: | import QtNetwork |
| Since: | Qt 6.7 |
속성
- ciphers : string
- peerVerifyDepth : int
- peerVerifyMode : enumeration
- protocol : enumeration
- sessionTicket : bytearray
- sslOptionFlags : QSsl::SslOptions
(since 6.11)
방법
- void setCertificateFiles(const QStringList &certificateFiles)
- void setPrivateKey(const QQmlSslKey &privateKey)
상세 설명
sslConfiguration은 열린 SSL 연결에 대한 정보를 전달하고, 애플리케이션이 해당 연결의 특정 기능을 제어할 수 있도록 하는 데 사용됩니다. sslConfiguration은 내부에 QSslConfiguration 객체를 캡슐화합니다. sslConfiguration의 기본값은 QSslConfiguration::defaultConfiguration 를 호출하여 초기화됩니다.
QSslConfiguration도 참조하십시오 .
속성 설명
ciphers : string
이 구성에 대한 암호화 암호 모음(cipher suite)을 콜론(:)으로 구분된 암호 모음 이름 목록인 ` 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도 참조하십시오 .
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 을 구성에 설정합니다.
© 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.