CertificateKeyUsage

data class CertificateKeyUsage(val crlSign: Boolean? = null, val dataEncipherment: Boolean? = null, val decipherOnly: Boolean? = null, val digitalSignature: Boolean? = null, val encipherOnly: Boolean? = null, val keyAgreement: Boolean? = null, val keyCertSign: Boolean? = null, val keyEncipherment: Boolean? = null, val nonRepudiation: Boolean? = null)

Defines one or more purposes for which the key contained in the certificate can be used. Default value for each option is false.

Constructors

Link copied to clipboard
constructor(crlSign: Boolean? = null, dataEncipherment: Boolean? = null, decipherOnly: Boolean? = null, digitalSignature: Boolean? = null, encipherOnly: Boolean? = null, keyAgreement: Boolean? = null, keyCertSign: Boolean? = null, keyEncipherment: Boolean? = null, nonRepudiation: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val crlSign: Boolean? = null

Key can be used to sign CRLs.

Link copied to clipboard

Key can be used to decipher data.

Link copied to clipboard
val decipherOnly: Boolean? = null

Key can be used only to decipher data.

Link copied to clipboard

Key can be used for digital signing.

Link copied to clipboard
val encipherOnly: Boolean? = null

Key can be used only to encipher data.

Link copied to clipboard
val keyAgreement: Boolean? = null

Key can be used in a key-agreement protocol.

Link copied to clipboard
val keyCertSign: Boolean? = null

Key can be used to sign certificates.

Link copied to clipboard

Key can be used to encipher data.

Link copied to clipboard
val nonRepudiation: Boolean? = null

Key can be used for non-repudiation.