sslDtlsConfiguration QML Type
sslDtlsConfiguration 클래스는 SSL 연결의 DTLS 기본 구성 및 상태를 보관합니다. 더 보기...
| 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)
상세 설명
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도 참조하십시오 .
sslOptionFlags : QSsl::SslOptions [since 6.11]
구성에서 활성화된 SslOption 값들의 비트별 OR 연산 결과를 저장합니다.
기본값은 QSslConfiguration::defaultDtlsConfiguration()에서 설정된 값과 동일합니다.
이 속성은 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.