# Certificate Authority v1 API - Enum SubjectRequestMode (3.12.0)

3.12.0 (latest) 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public enum SubjectRequestMode

Reference documentation and code samples for the Certificate Authority v1 API enum SubjectRequestMode.

Describes the way in which a
\[Certificate\]\[google.cloud.security.privateca.v1.Certificate\]'s
\[Subject\]\[google.cloud.security.privateca.v1.Subject\] and/or
\[SubjectAltNames\]\[google.cloud.security.privateca.v1.SubjectAltNames\] will be
resolved.

## Namespace

[Google.Cloud.Security.PrivateCA.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)

## Assembly

Google.Cloud.Security.PrivateCA.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Default` | The default mode used in most cases. Indicates that the certificate's \[Subject\]\[google.cloud.security.privateca.v1.Subject\] and/or \[SubjectAltNames\]\[google.cloud.security.privateca.v1.SubjectAltNames\] are specified in the certificate request. This mode requires the caller to have the `privateca.certificates.create` permission. |
| `RdnSequence` | A mode used to get an accurate representation of the Subject field's distinguished name. Indicates that the certificate's \[Subject\]\[google.cloud.security.privateca.v1.Subject\] and/or \[SubjectAltNames\]\[google.cloud.security.privateca.v1.SubjectAltNames\] are specified in the certificate request. When parsing a PEM CSR this mode will maintain the sequence of RDNs found in the CSR's subject field in the issued \[Certificate\]\[google.cloud.security.privateca.v1.Certificate\]. This mode requires the caller to have the `privateca.certificates.create` permission. |
| `ReflectedSpiffe` | A mode reserved for special cases. Indicates that the certificate should have one SPIFFE \[SubjectAltNames\]\[google.cloud.security.privateca.v1.SubjectAltNames\] set by the service based on the caller's identity. This mode will ignore any explicitly specified \[Subject\]\[google.cloud.security.privateca.v1.Subject\] and/or \[SubjectAltNames\]\[google.cloud.security.privateca.v1.SubjectAltNames\] in the certificate request. This mode requires the caller to have the `privateca.certificates.createForSelf` permission. |
| `Unspecified` | Not specified. |