com.trolltech.qt.network
Class QSslCertificate.SubjectInfo

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.network.QSslCertificate.SubjectInfo
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QSslCertificate

public static final class QSslCertificate.SubjectInfo
extends java.lang.Enum
implements QtEnumerator

Describes keys that you can pass to QSslCertificate::issuerInfo() or QSslCertificate::subjectInfo() to get information about the certificate issuer or subject.

See Also:
Serialized Form

Field Summary
static QSslCertificate.SubjectInfo CommonName
          "CN" The common name; most often this is used to store the host name.
static QSslCertificate.SubjectInfo CountryName
          "C" The country.
static QSslCertificate.SubjectInfo LocalityName
          "L" The locality.
static QSslCertificate.SubjectInfo Organization
          "O" The name of the organization.
static QSslCertificate.SubjectInfo OrganizationalUnitName
          "OU" The organizational unit name.
static QSslCertificate.SubjectInfo StateOrProvinceName
          "ST" The state or province.
 
Method Summary
static QSslCertificate.SubjectInfo resolve(int value)
          Returns the QSslCertificate$SubjectInfo constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QSslCertificate.SubjectInfo valueOf(java.lang.String name)
           
static QSslCertificate.SubjectInfo[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Organization

public static final QSslCertificate.SubjectInfo Organization
"O" The name of the organization.


CommonName

public static final QSslCertificate.SubjectInfo CommonName
"CN" The common name; most often this is used to store the host name.


LocalityName

public static final QSslCertificate.SubjectInfo LocalityName
"L" The locality.


OrganizationalUnitName

public static final QSslCertificate.SubjectInfo OrganizationalUnitName
"OU" The organizational unit name.


CountryName

public static final QSslCertificate.SubjectInfo CountryName
"C" The country.


StateOrProvinceName

public static final QSslCertificate.SubjectInfo StateOrProvinceName
"ST" The state or province.

Method Detail

values

public static QSslCertificate.SubjectInfo[] values()

valueOf

public static QSslCertificate.SubjectInfo valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QSslCertificate.SubjectInfo resolve(int value)
Returns the QSslCertificate$SubjectInfo constant with the specified int.