- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QCryptographicHash.Algorithm>
,Constable
- Enclosing class:
QCryptographicHash
Java wrapper for Qt enum QCryptographicHash::Algorithm
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresenting QCryptographicHash::Blake2b_160Representing QCryptographicHash::Blake2b_256Representing QCryptographicHash::Blake2b_384Representing QCryptographicHash::Blake2b_512Representing QCryptographicHash::Blake2s_128Representing QCryptographicHash::Blake2s_160Representing QCryptographicHash::Blake2s_224Representing QCryptographicHash::Blake2s_256Representing QCryptographicHash::Keccak_224Representing QCryptographicHash::Keccak_256Representing QCryptographicHash::Keccak_384Representing QCryptographicHash::Keccak_512Representing QCryptographicHash::Md4Representing QCryptographicHash::Md5Representing QCryptographicHash::NumAlgorithmsRepresenting QCryptographicHash::RealSha3_224Representing QCryptographicHash::RealSha3_256Representing QCryptographicHash::RealSha3_384Representing QCryptographicHash::RealSha3_512Representing QCryptographicHash::Sha1Representing QCryptographicHash::Sha224Representing QCryptographicHash::Sha256Representing QCryptographicHash::Sha3_224Representing QCryptographicHash::Sha3_256Representing QCryptographicHash::Sha3_384Representing QCryptographicHash::Sha3_512Representing QCryptographicHash::Sha384Representing QCryptographicHash::Sha512 -
Method Summary
Modifier and TypeMethodDescriptionstatic QCryptographicHash.Algorithm
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QCryptographicHash.Algorithm
Returns the enum constant of this type with the specified name.static QCryptographicHash.Algorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
Md4
Representing QCryptographicHash::Md4
-
Md5
Representing QCryptographicHash::Md5
-
Sha1
Representing QCryptographicHash::Sha1
-
Sha224
Representing QCryptographicHash::Sha224
-
Sha256
Representing QCryptographicHash::Sha256
-
Sha384
Representing QCryptographicHash::Sha384
-
Sha512
Representing QCryptographicHash::Sha512
-
Keccak_224
Representing QCryptographicHash::Keccak_224
-
Keccak_256
Representing QCryptographicHash::Keccak_256
-
Keccak_384
Representing QCryptographicHash::Keccak_384
-
Keccak_512
Representing QCryptographicHash::Keccak_512
-
RealSha3_224
Representing QCryptographicHash::RealSha3_224
-
RealSha3_256
Representing QCryptographicHash::RealSha3_256
-
RealSha3_384
Representing QCryptographicHash::RealSha3_384
-
RealSha3_512
Representing QCryptographicHash::RealSha3_512
-
Sha3_224
Representing QCryptographicHash::Sha3_224
-
Sha3_256
Representing QCryptographicHash::Sha3_256
-
Sha3_384
Representing QCryptographicHash::Sha3_384
-
Sha3_512
Representing QCryptographicHash::Sha3_512
-
Blake2b_160
Representing QCryptographicHash::Blake2b_160
-
Blake2b_256
Representing QCryptographicHash::Blake2b_256
-
Blake2b_384
Representing QCryptographicHash::Blake2b_384
-
Blake2b_512
Representing QCryptographicHash::Blake2b_512
-
Blake2s_128
Representing QCryptographicHash::Blake2s_128
-
Blake2s_160
Representing QCryptographicHash::Blake2s_160
-
Blake2s_224
Representing QCryptographicHash::Blake2s_224
-
Blake2s_256
Representing QCryptographicHash::Blake2s_256
-
NumAlgorithms
Representing QCryptographicHash::NumAlgorithms
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-