com.pulumi.gcp.containeranalysis.kotlin.outputs.OccurenceAttestationSignature.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.containeranalysis.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property publicKeyId The identifier for the public key that verifies this
* signature. MUST be an RFC3986 conformant
* URI. * When possible, the key id should be an
* immutable reference, such as a cryptographic digest.
* Examples of valid values:
* * OpenPGP V4 public key fingerprint. See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr
* for more details on this scheme.
* * `openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA`
* * RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization):
* * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU"
* - - -
* @property signature The content of the signature, an opaque bytestring.
* The payload that this signature verifies MUST be
* unambiguously provided with the Signature during
* verification. A wrapper message might provide the
* payload explicitly. Alternatively, a message might
* have a canonical serialization that can always be
* unambiguously computed to derive the payload.
*/
public data class OccurenceAttestationSignature(
public val publicKeyId: String,
public val signature: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.containeranalysis.outputs.OccurenceAttestationSignature): OccurenceAttestationSignature = OccurenceAttestationSignature(
publicKeyId = javaType.publicKeyId(),
signature = javaType.signature().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy