- 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 ConstantDescriptionRepresentingQCryptographicHash::
Blake2b_160 RepresentingQCryptographicHash::
Blake2b_256 RepresentingQCryptographicHash::
Blake2b_384 RepresentingQCryptographicHash::
Blake2b_512 RepresentingQCryptographicHash::
Blake2s_128 RepresentingQCryptographicHash::
Blake2s_160 RepresentingQCryptographicHash::
Blake2s_224 RepresentingQCryptographicHash::
Blake2s_256 RepresentingQCryptographicHash::
Keccak_224 RepresentingQCryptographicHash::
Keccak_256 RepresentingQCryptographicHash::
Keccak_384 RepresentingQCryptographicHash::
Keccak_512 RepresentingQCryptographicHash::
Md4 RepresentingQCryptographicHash::
Md5 RepresentingQCryptographicHash::
NumAlgorithms RepresentingQCryptographicHash::
RealSha3_224 RepresentingQCryptographicHash::
RealSha3_256 RepresentingQCryptographicHash::
RealSha3_384 RepresentingQCryptographicHash::
RealSha3_512 RepresentingQCryptographicHash::
Sha1 RepresentingQCryptographicHash::
Sha224 RepresentingQCryptographicHash::
Sha256 RepresentingQCryptographicHash::
Sha3_224 RepresentingQCryptographicHash::
Sha3_256 RepresentingQCryptographicHash::
Sha3_384 RepresentingQCryptographicHash::
Sha3_512 RepresentingQCryptographicHash::
Sha384 RepresentingQCryptographicHash::
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.QtAbstractEnumerator
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
-