Qt Jambi Home

com.trolltech.qt.network
Enum QSsl.AlternateNameEntryType

java.lang.Object
  extended by java.lang.Enum<QSsl.AlternateNameEntryType>
      extended by com.trolltech.qt.network.QSsl.AlternateNameEntryType
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable<QSsl.AlternateNameEntryType>
Enclosing interface:
QSsl

public static enum QSsl.AlternateNameEntryType
extends java.lang.Enum<QSsl.AlternateNameEntryType>
implements QtEnumerator

Describes the key types for alternate name entries in QSslCertificate.

See Also:
QSslCertificate::alternateSubjectNames

Enum Constant Summary
DnsEntry
          A DNS host name entry; the entry contains a host name entry that the certificate is valid for.
EmailEntry
          An email entry; the entry contains an email address that the certificate is valid for.
 
Method Summary
static QSsl.AlternateNameEntryType resolve(int value)
           
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QSsl.AlternateNameEntryType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QSsl.AlternateNameEntryType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EmailEntry

public static final QSsl.AlternateNameEntryType EmailEntry

An email entry; the entry contains an email address that the certificate is valid for.


DnsEntry

public static final QSsl.AlternateNameEntryType DnsEntry

A DNS host name entry; the entry contains a host name entry that the certificate is valid for. The entry may contain wildcards.

Method Detail

values

public static final QSsl.AlternateNameEntryType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(QSsl.AlternateNameEntryType c : QSsl.AlternateNameEntryType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static QSsl.AlternateNameEntryType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

value

public int value()
Description copied from interface: QtEnumerator
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 QSsl.AlternateNameEntryType resolve(int value)

Qt Jambi Home