QSslEllipticCurve Class
타원 곡선 암호 알고리즘에서 사용하기 위한 타원 곡선을 나타냅니다. 더 보기...
헤더: | #include <QSslEllipticCurve> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Network) target_link_libraries(mytarget PRIVATE Qt6::Network) |
qmake: | QT += network |
- 상속된 멤버를 포함한 모든 멤버의 목록
- QSslEllipticCurve는 네트워크 프로그래밍 API의 일부입니다.
참고: 이 클래스의 모든 함수는 재인용됩니다.
공용 함수
QSslEllipticCurve() | |
bool | isTlsNamedCurve() const |
bool | isValid() const |
QString | longName() const |
QString | shortName() const |
정적 공용 멤버
QSslEllipticCurve | fromLongName(const QString &name) |
QSslEllipticCurve | fromShortName(const QString &name) |
관련 비회원
bool | operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
QDebug | operator<<(QDebug debug, QSslEllipticCurve curve) |
bool | operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs) |
상세 설명
QSslEllipticCurve 클래스는 타원 곡선 암호 알고리즘에서 사용하기 위한 타원 곡선을 나타냅니다.
타원 곡선은 "짧은 이름"(SN)(fromShortName())과 QSslConfiguration::supportedEllipticCurves() 호출을 통해 만들 수 있습니다.
QSslEllipticCurve 인스턴스는 동일성을 비교할 수 있으며 QHash 및 QSet 에서 키로 사용할 수 있습니다. QMap 에서 키로 사용할 수 없습니다.
참고: 이 클래스는 현재 OpenSSL에서만 지원됩니다.
멤버 함수 문서
[constexpr noexcept]
QSslEllipticCurve::QSslEllipticCurve()
잘못된 타원 곡선을 만듭니다.
isValid() 및 QSslConfiguration::supportedEllipticCurves()도 참조하십시오 .
[static]
QSslEllipticCurve QSslEllipticCurve::fromLongName(const QString &name)
명명된 커브 name 를 나타내는 QSslEllipticCurve 인스턴스를 반환합니다. name 은 커브의 긴 이름이며, 정확한 철자는 SSL 구현에 따라 다릅니다.
지정된 name 이 지원되지 않으면 잘못된 QSslEllipticCurve 인스턴스를 반환합니다.
참고: 이 함수의 OpenSSL 구현은 대소문자를 구분하여 이름을 처리합니다.
longName()도 참조하세요 .
[static]
QSslEllipticCurve QSslEllipticCurve::fromShortName(const QString &name)
명명된 커브 name 를 나타내는 QSslEllipticCurve 인스턴스를 반환합니다. name 은 커브의 일반적인 짧은 이름이며, RFC 4492(예: secp521r1
)로 표시되거나 NIST 짧은 이름(예: P-256
)으로 표시됩니다. 실제 인식되는 이름 집합은 SSL 구현에 따라 다릅니다.
지정된 name 이 지원되지 않으면 잘못된 QSslEllipticCurve 인스턴스를 반환합니다.
참고: 이 함수의 OpenSSL 구현은 대소문자를 구분하여 이름을 처리합니다.
shortName()도 참조하세요 .
[noexcept]
bool QSslEllipticCurve::isTlsNamedCurve() const
이 타원 곡선이 TLS에서 타원 곡선 암호를 사용할 때 키 교환에 사용할 수 있는 명명된 곡선 중 하나인 경우 true를 반환하고, 그렇지 않으면 false를 반환합니다.
[constexpr noexcept]
bool QSslEllipticCurve::isValid() const
이 타원 커브가 유효한 커브이면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.
QString QSslEllipticCurve::longName() const
이 커브의 기존 긴 이름을 반환합니다. 이 커브가 유효하지 않으면 빈 문자열을 반환합니다.
shortName()도 참조하십시오 .
QString QSslEllipticCurve::shortName() const
이 커브의 일반적인 짧은 이름을 반환합니다. 이 커브가 유효하지 않으면 빈 문자열을 반환합니다.
longName()도 참조하십시오 .
관련 비회원
[constexpr noexcept]
bool operator!=(QSslEllipticCurve lhs, QSslEllipticCurve rhs)
lhs 커브가 rhs 커브와 다른 커브를 나타내면 참을 반환하고, 그렇지 않으면 거짓을 반환합니다.
QDebug operator<<(QDebug debug, QSslEllipticCurve curve)
디버깅을 위해 타원 곡선 curve 을 디버그 객체 debug 에 씁니다.
디버깅 기법도참조하십시오 .
[constexpr noexcept]
bool operator==(QSslEllipticCurve lhs, QSslEllipticCurve rhs)
lhs 커브가 rhs 커브와 동일한 경우 참을 반환합니다;
© 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.