mirror of
https://github.com/QuasarApp/qca.git
synced 2025-05-03 22:59:32 +00:00
Add initial support for special fields that are
found in Extended Validation certificates. The spec for this can be seen at http://www.cabforum.org/EV_Certificate_Guidelines_-_Draft_10-2...pdf, Section 6 provides the information on the certificate contents. Note that this is based on an draft of the "guidelines", and there could be some changes (although it is pretty unlikely - this part of the spec has been pretty stable for a while). svn path=/trunk/kdesupport/qca/; revision=601153
This commit is contained in:
parent
cea70d6595
commit
8e1bfd5cff
@ -57,24 +57,38 @@ namespace QCA
|
|||||||
|
|
||||||
This enumeration provides the values that may appear in a
|
This enumeration provides the values that may appear in a
|
||||||
CertificateInfo key field. These are from RFC3280
|
CertificateInfo key field. These are from RFC3280
|
||||||
(http://www.ietf.org/rfc/rfc3280.text) except where shown.
|
(http://www.ietf.org/rfc/rfc3280.txt) except where shown.
|
||||||
|
|
||||||
|
The entries for IncorporationLocality, IncorporationState
|
||||||
|
and IncorporationCountry are the same as Locality, State
|
||||||
|
and Country respectively, except that the Extended
|
||||||
|
Validation (EV) certificate guidelines (published by the
|
||||||
|
%Certificate Authority / Browser Forum, see
|
||||||
|
http://www.cabforum.org) distinguish between the place of
|
||||||
|
where the company does business (which is the Locality /
|
||||||
|
State / Country combination) and the jurisdiction where the
|
||||||
|
company is legally incorporated (the IncorporationLocality
|
||||||
|
/ IncorporationState / IncorporationCountry combination).
|
||||||
|
|
||||||
\sa Certificate::subjectInfo() and Certificate::issuerInfo()
|
\sa Certificate::subjectInfo() and Certificate::issuerInfo()
|
||||||
\sa CRL::issuerInfo()
|
\sa CRL::issuerInfo()
|
||||||
*/
|
*/
|
||||||
enum CertificateInfoType
|
enum CertificateInfoType
|
||||||
{
|
{
|
||||||
CommonName, ///< The common name (eg person)
|
CommonName, ///< The common name (eg person)
|
||||||
Email, ///< Email address
|
Email, ///< Email address
|
||||||
Organization, ///< An organisation (eg company)
|
Organization, ///< An organisation (eg company)
|
||||||
OrganizationalUnit, ///< An part of an organisation (eg a division or branch)
|
OrganizationalUnit, ///< An part of an organisation (eg a division or branch)
|
||||||
Locality, ///< The locality (eg a shire, or part of a state)
|
Locality, ///< The locality (eg city, a shire, or part of a state)
|
||||||
State, ///< The state within the country
|
IncorporationLocality, ///< The locality of incorporation (EV certificates)
|
||||||
Country, ///< The country
|
State, ///< The state within the country
|
||||||
URI, ///< Uniform Resource Identifier
|
IncorporationState, ///< The state of incorporation (EV certificates)
|
||||||
DNS, ///< DNS name
|
Country, ///< The country
|
||||||
IPAddress, ///< IP address
|
IncorporationCountry, ///< The country of incorporation (EV certificates)
|
||||||
XMPP ///< XMPP address (see http://www.ietf.org/rfc/rfc3920.txt)
|
URI, ///< Uniform Resource Identifier
|
||||||
|
DNS, ///< DNS name
|
||||||
|
IPAddress, ///< IP address
|
||||||
|
XMPP ///< XMPP address (see http://www.ietf.org/rfc/rfc3920.txt)
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user