QOpcUaX509DistinguishedName Class

고유 이름 항목에 대한 정보입니다. 더 보기...

헤더: #include <QOpcUaX509DistinguishedName>
CMake: find_package(Qt6 REQUIRED COMPONENTS OpcUa)
target_link_libraries(mytarget PRIVATE Qt6::OpcUa)
qmake: QT += opcua

공용 타입

enum class Type { CommonName, CountryName, LocalityName, StateOrProvinceName, OrganizationName }

공용 함수

QOpcUaX509DistinguishedName()
QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs)
~QOpcUaX509DistinguishedName()
QString entry(QOpcUaX509DistinguishedName::Type type) const
void setEntry(QOpcUaX509DistinguishedName::Type type, const QString &value)
QOpcUaX509DistinguishedName &operator=(const QOpcUaX509DistinguishedName &rhs)
bool operator==(const QOpcUaX509DistinguishedName &rhs) const

정적 공용 멤버

QString typeToOid(QOpcUaX509DistinguishedName::Type type)

상세 설명

이 클래스는 현재 기술 미리보기로 제공되며, 따라서 클래스에서 제공하는 API 및 기능은 사전 통지 없이 언제든지 변경될 수 있습니다.

QOpcUaX509DistinguishedName dn;
dn.setEntry(QOpcUaX509DistinguishedName::Type::CommonName, "QtOpcUaViewer");
dn.setEntry(QOpcUaX509DistinguishedName::Type::CountryName, "DE");
dn.setEntry(QOpcUaX509DistinguishedName::Type::LocalityName, "Berlin");
dn.setEntry(QOpcUaX509DistinguishedName::Type::StateOrProvinceName, "Berlin");
dn.setEntry(QOpcUaX509DistinguishedName::Type::OrganizationName, "The Qt Company");

QOpcUaX509CertificateSigningRequest참조하세요 .

멤버 유형 문서

enum class QOpcUaX509DistinguishedName::Type

X509DistuishedName에 대한 항목 유형이 포함된 열거형입니다.

Constant설명
QOpcUaX509DistinguishedName::Type::CommonName0일반 이름
QOpcUaX509DistinguishedName::Type::CountryName1국가 이름
QOpcUaX509DistinguishedName::Type::LocalityName2지역 이름
QOpcUaX509DistinguishedName::Type::StateOrProvinceName3주 또는 도 이름
QOpcUaX509DistinguishedName::Type::OrganizationName4조직 이름

멤버 기능 문서

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName()

빈 X509DistuishedName을 생성합니다.

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName(const QOpcUaX509DistinguishedName &rhs)

rhs 에서 X509DistinguishedName을 생성합니다.

[noexcept] QOpcUaX509DistinguishedName::~QOpcUaX509DistinguishedName()

X509DistinguishedName 을 파괴합니다.

QString QOpcUaX509DistinguishedName::entry(QOpcUaX509DistinguishedName::Type type) const

type 에 대한 값을 반환합니다.

setEntry()도 참조하세요 .

void QOpcUaX509DistinguishedName::setEntry(QOpcUaX509DistinguishedName::Type type, const QString &value)

type 의 항목을 value 으로 설정합니다. 이미 존재하는 유형은 덮어씁니다.

entry()도 참조하세요 .

[static] QString QOpcUaX509DistinguishedName::typeToOid(QOpcUaX509DistinguishedName::Type type)

type 에 대한 개체 ID 문자열을 반환합니다.

QOpcUaX509DistinguishedName &QOpcUaX509DistinguishedName::operator=(const QOpcUaX509DistinguishedName &rhs)

이 X509DistuishedName에 rhs 의 값을 설정합니다.

bool QOpcUaX509DistinguishedName::operator==(const QOpcUaX509DistinguishedName &rhs) const

이 X509DistuishedName의 값이 rhs 과 같으면 true 을 반환합니다.

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