All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.logic.kotlin.enums.HashingAlgorithm.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.logic.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The signing or hashing algorithm.
 */
public enum class HashingAlgorithm(
    public val javaValue: com.pulumi.azurenative.logic.enums.HashingAlgorithm,
) : ConvertibleToJava {
    NotSpecified(com.pulumi.azurenative.logic.enums.HashingAlgorithm.NotSpecified),
    None(com.pulumi.azurenative.logic.enums.HashingAlgorithm.None),
    MD5(com.pulumi.azurenative.logic.enums.HashingAlgorithm.MD5),
    SHA1(com.pulumi.azurenative.logic.enums.HashingAlgorithm.SHA1),
    SHA2256(com.pulumi.azurenative.logic.enums.HashingAlgorithm.SHA2256),
    SHA2384(com.pulumi.azurenative.logic.enums.HashingAlgorithm.SHA2384),
    SHA2512(com.pulumi.azurenative.logic.enums.HashingAlgorithm.SHA2512),
    ;

    override fun toJava(): com.pulumi.azurenative.logic.enums.HashingAlgorithm = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.logic.enums.HashingAlgorithm): HashingAlgorithm = HashingAlgorithm.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy