Qt Jambi Home

com.trolltech.qt.network
Enum QSsl.KeyAlgorithm

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

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

Describes the different key algorithms supported by QSslKey.


Enum Constant Summary
Dsa
          The DSA algorithm.
Rsa
          The RSA algorithm.
 
Method Summary
static QSsl.KeyAlgorithm 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.KeyAlgorithm valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static QSsl.KeyAlgorithm[] 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

Rsa

public static final QSsl.KeyAlgorithm Rsa

The RSA algorithm.


Dsa

public static final QSsl.KeyAlgorithm Dsa

The DSA algorithm.

Method Detail

values

public static final QSsl.KeyAlgorithm[] 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.KeyAlgorithm c : QSsl.KeyAlgorithm.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.KeyAlgorithm 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.KeyAlgorithm resolve(int value)

Qt Jambi Home