CertificateSubjectMode

enum CertificateSubjectMode : Enum<CertificateSubjectMode> , ConvertibleToJava<CertificateSubjectMode>

Immutable. Specifies how the Certificate's identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used.

Entries

Link copied to clipboard
Link copied to clipboard

The default mode used in most cases. Indicates that the certificate's Subject and/or SubjectAltNames are specified in the certificate request. This mode requires the caller to have the privateca.certificates.create permission.

Link copied to clipboard

A mode reserved for special cases. Indicates that the certificate should have one SPIFFE SubjectAltNames set by the service based on the caller's identity. This mode will ignore any explicitly specified Subject and/or SubjectAltNames in the certificate request. This mode requires the caller to have the privateca.certificates.createForSelf permission.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): CertificateSubjectMode
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: CertificateSubjectMode
Link copied to clipboard
Link copied to clipboard