Interface CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNamesOrBuilder

    • Method Detail

      • getAllowedDnsNamesList

        List<String> getAllowedDnsNamesList()
         Optional. Contains valid, fully-qualified host names. Glob patterns are also
         supported. To allow an explicit wildcard certificate, escape with
         backlash (i.e. `\*`).
         E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not
         `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set.
         E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not
         `foo.bar.com`.
         
        repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the allowedDnsNames.
      • getAllowedDnsNamesCount

        int getAllowedDnsNamesCount()
         Optional. Contains valid, fully-qualified host names. Glob patterns are also
         supported. To allow an explicit wildcard certificate, escape with
         backlash (i.e. `\*`).
         E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not
         `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set.
         E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not
         `foo.bar.com`.
         
        repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of allowedDnsNames.
      • getAllowedDnsNames

        String getAllowedDnsNames​(int index)
         Optional. Contains valid, fully-qualified host names. Glob patterns are also
         supported. To allow an explicit wildcard certificate, escape with
         backlash (i.e. `\*`).
         E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not
         `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set.
         E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not
         `foo.bar.com`.
         
        repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedDnsNames at the given index.
      • getAllowedDnsNamesBytes

        com.google.protobuf.ByteString getAllowedDnsNamesBytes​(int index)
         Optional. Contains valid, fully-qualified host names. Glob patterns are also
         supported. To allow an explicit wildcard certificate, escape with
         backlash (i.e. `\*`).
         E.g. for globbed entries: `*bar.com` will allow `foo.bar.com`, but not
         `*.bar.com`, unless the [allow_globbing_dns_wildcards][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allow_globbing_dns_wildcards] field is set.
         E.g. for wildcard entries: `\*.bar.com` will allow `*.bar.com`, but not
         `foo.bar.com`.
         
        repeated string allowed_dns_names = 1 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedDnsNames at the given index.
      • getAllowedUrisList

        List<String> getAllowedUrisList()
         Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
         match across path seperators (i.e. '/') use the double star glob
         pattern (i.e. '**').
         
        repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the allowedUris.
      • getAllowedUrisCount

        int getAllowedUrisCount()
         Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
         match across path seperators (i.e. '/') use the double star glob
         pattern (i.e. '**').
         
        repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of allowedUris.
      • getAllowedUris

        String getAllowedUris​(int index)
         Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
         match across path seperators (i.e. '/') use the double star glob
         pattern (i.e. '**').
         
        repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedUris at the given index.
      • getAllowedUrisBytes

        com.google.protobuf.ByteString getAllowedUrisBytes​(int index)
         Optional. Contains valid RFC 3986 URIs. Glob patterns are also supported. To
         match across path seperators (i.e. '/') use the double star glob
         pattern (i.e. '**').
         
        repeated string allowed_uris = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedUris at the given index.
      • getAllowedEmailAddressesList

        List<String> getAllowedEmailAddressesList()
         Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
         supported.
         
        repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the allowedEmailAddresses.
      • getAllowedEmailAddressesCount

        int getAllowedEmailAddressesCount()
         Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
         supported.
         
        repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of allowedEmailAddresses.
      • getAllowedEmailAddresses

        String getAllowedEmailAddresses​(int index)
         Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
         supported.
         
        repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedEmailAddresses at the given index.
      • getAllowedEmailAddressesBytes

        com.google.protobuf.ByteString getAllowedEmailAddressesBytes​(int index)
         Optional. Contains valid RFC 2822 E-mail addresses. Glob patterns are also
         supported.
         
        repeated string allowed_email_addresses = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedEmailAddresses at the given index.
      • getAllowedIpsList

        List<String> getAllowedIpsList()
         Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
         addresses and subnet ranges. Subnet ranges are specified using the
         '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
         are supported only for ip address entries (i.e. not for subnet ranges).
         
        repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        A list containing the allowedIps.
      • getAllowedIpsCount

        int getAllowedIpsCount()
         Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
         addresses and subnet ranges. Subnet ranges are specified using the
         '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
         are supported only for ip address entries (i.e. not for subnet ranges).
         
        repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The count of allowedIps.
      • getAllowedIps

        String getAllowedIps​(int index)
         Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
         addresses and subnet ranges. Subnet ranges are specified using the
         '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
         are supported only for ip address entries (i.e. not for subnet ranges).
         
        repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the element to return.
        Returns:
        The allowedIps at the given index.
      • getAllowedIpsBytes

        com.google.protobuf.ByteString getAllowedIpsBytes​(int index)
         Optional. Contains valid 32-bit IPv4 addresses and subnet ranges or RFC 4291 IPv6
         addresses and subnet ranges. Subnet ranges are specified using the
         '/' notation (e.g. 10.0.0.0/8, 2001:700:300:1800::/64). Glob patterns
         are supported only for ip address entries (i.e. not for subnet ranges).
         
        repeated string allowed_ips = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the allowedIps at the given index.
      • getAllowGlobbingDnsWildcards

        boolean getAllowGlobbingDnsWildcards()
         Optional. Specifies if glob patterns used for [allowed_dns_names][google.cloud.security.privateca.v1beta1.CertificateAuthority.CertificateAuthorityPolicy.AllowedSubjectAltNames.allowed_dns_names] allows
         wildcard certificates.
         
        bool allow_globbing_dns_wildcards = 5 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The allowGlobbingDnsWildcards.
      • getAllowCustomSans

        boolean getAllowCustomSans()
         Optional. Specifies if to allow custom X509Extension values.
         
        bool allow_custom_sans = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The allowCustomSans.