이 페이지에서

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)

상세 설명

이 클래스는 현재 기술 미리 보기(Technology Preview)로 제공되므로, 이 클래스가 제공하는 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

X509DistinguishedName의 항목 유형을 포함하는 열거형.

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

멤버 함수 문서

QOpcUaX509DistinguishedName::QOpcUaX509DistinguishedName()

빈 X509DistinguishedName을 생성합니다.

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)

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

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

이 X509DistinguishedName의 값이 rhs 과 동일한 경우 true 을 반환합니다.

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