Class SubjectRequestMode (1.7.0)

SubjectRequestMode(value)

Describes the way in which a Certificate's Subject and/or SubjectAltNames will be resolved.

Values: SUBJECT_REQUEST_MODE_UNSPECIFIED (0): Not specified. DEFAULT (1): 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. REFLECTED_SPIFFE (2): A mode reserved for special cases. Indicates that the certificate should have one or more 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.