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

com.pulumi.gcp.apigee.kotlin.outputs.KeystoresAliasesPkcs12CertsInfoCertInfo.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.apigee.kotlin.outputs

import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property basicConstraints (Output)
 * X.509 basic constraints extension.
 * @property expiryDate (Output)
 * X.509 notAfter validity period in milliseconds since epoch.
 * @property isValid (Output)
 * Flag that specifies whether the certificate is valid.
 * Flag is set to Yes if the certificate is valid, No if expired, or Not yet if not yet valid.
 * @property issuer (Output)
 * X.509 issuer.
 * @property publicKey (Output)
 * Public key component of the X.509 subject public key info.
 * @property serialNumber (Output)
 * X.509 serial number.
 * @property sigAlgName (Output)
 * X.509 signatureAlgorithm.
 * @property subject (Output)
 * X.509 subject.
 * @property subjectAlternativeNames (Output)
 * X.509 subject alternative names (SANs) extension.
 * @property validFrom (Output)
 * X.509 notBefore validity period in milliseconds since epoch.
 * @property version (Output)
 * X.509 version.
 */
public data class KeystoresAliasesPkcs12CertsInfoCertInfo(
    public val basicConstraints: String? = null,
    public val expiryDate: String? = null,
    public val isValid: String? = null,
    public val issuer: String? = null,
    public val publicKey: String? = null,
    public val serialNumber: String? = null,
    public val sigAlgName: String? = null,
    public val subject: String? = null,
    public val subjectAlternativeNames: List? = null,
    public val validFrom: String? = null,
    public val version: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.apigee.outputs.KeystoresAliasesPkcs12CertsInfoCertInfo): KeystoresAliasesPkcs12CertsInfoCertInfo = KeystoresAliasesPkcs12CertsInfoCertInfo(
            basicConstraints = javaType.basicConstraints().map({ args0 -> args0 }).orElse(null),
            expiryDate = javaType.expiryDate().map({ args0 -> args0 }).orElse(null),
            isValid = javaType.isValid().map({ args0 -> args0 }).orElse(null),
            issuer = javaType.issuer().map({ args0 -> args0 }).orElse(null),
            publicKey = javaType.publicKey().map({ args0 -> args0 }).orElse(null),
            serialNumber = javaType.serialNumber().map({ args0 -> args0 }).orElse(null),
            sigAlgName = javaType.sigAlgName().map({ args0 -> args0 }).orElse(null),
            subject = javaType.subject().map({ args0 -> args0 }).orElse(null),
            subjectAlternativeNames = javaType.subjectAlternativeNames().map({ args0 -> args0 }),
            validFrom = javaType.validFrom().map({ args0 -> args0 }).orElse(null),
            version = javaType.version().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy