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

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.outputs

import kotlin.Boolean
import kotlin.Suppress

/**
 *
 * @property certSign The key may be used to sign certificates.
 * @property contentCommitment The key may be used for cryptographic commitments. Note that this may also be referred to as "non-repudiation".
 * @property crlSign The key may be used sign certificate revocation lists.
 * @property dataEncipherment The key may be used to encipher data.
 * @property decipherOnly The key may be used to decipher only.
 * @property digitalSignature The key may be used for digital signatures.
 * @property encipherOnly The key may be used to encipher only.
 * @property keyAgreement The key may be used in a key agreement protocol.
 * @property keyEncipherment The key may be used to encipher other keys.
 */
public data class CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage(
    public val certSign: Boolean? = null,
    public val contentCommitment: Boolean? = null,
    public val crlSign: Boolean? = null,
    public val dataEncipherment: Boolean? = null,
    public val decipherOnly: Boolean? = null,
    public val digitalSignature: Boolean? = null,
    public val encipherOnly: Boolean? = null,
    public val keyAgreement: Boolean? = null,
    public val keyEncipherment: Boolean? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage): CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage =
            CertificateTemplatePredefinedValuesKeyUsageBaseKeyUsage(
                certSign = javaType.certSign().map({ args0 -> args0 }).orElse(null),
                contentCommitment = javaType.contentCommitment().map({ args0 -> args0 }).orElse(null),
                crlSign = javaType.crlSign().map({ args0 -> args0 }).orElse(null),
                dataEncipherment = javaType.dataEncipherment().map({ args0 -> args0 }).orElse(null),
                decipherOnly = javaType.decipherOnly().map({ args0 -> args0 }).orElse(null),
                digitalSignature = javaType.digitalSignature().map({ args0 -> args0 }).orElse(null),
                encipherOnly = javaType.encipherOnly().map({ args0 -> args0 }).orElse(null),
                keyAgreement = javaType.keyAgreement().map({ args0 -> args0 }).orElse(null),
                keyEncipherment = javaType.keyEncipherment().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy