Interface X509ParametersOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
X509Parameters,X509Parameters.Builder
@Generated
public interface X509ParametersOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAdditionalExtensions(int index) Optional.intOptional.Optional.getAdditionalExtensionsOrBuilder(int index) Optional.List<? extends X509ExtensionOrBuilder>Optional.getAiaOcspServers(int index) Optional.com.google.protobuf.ByteStringgetAiaOcspServersBytes(int index) Optional.intOptional.Optional.Optional.Optional.Optional.Optional.Optional.Optional.getPolicyIds(int index) Optional.intOptional.Optional.getPolicyIdsOrBuilder(int index) Optional.List<? extends ObjectIdOrBuilder>Optional.booleanOptional.booleanOptional.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKeyUsage
boolean hasKeyUsage()Optional. Indicates the intended use for keys that correspond to a certificate.
.google.cloud.security.privateca.v1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the keyUsage field is set.
-
getKeyUsage
KeyUsage getKeyUsage()Optional. Indicates the intended use for keys that correspond to a certificate.
.google.cloud.security.privateca.v1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The keyUsage.
-
getKeyUsageOrBuilder
KeyUsageOrBuilder getKeyUsageOrBuilder()Optional. Indicates the intended use for keys that correspond to a certificate.
.google.cloud.security.privateca.v1.KeyUsage key_usage = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasCaOptions
boolean hasCaOptions()Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate. If not specified, a default basic constraints extension with `is_ca=false` will be added for leaf certificates.
.google.cloud.security.privateca.v1.X509Parameters.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the caOptions field is set.
-
getCaOptions
X509Parameters.CaOptions getCaOptions()Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate. If not specified, a default basic constraints extension with `is_ca=false` will be added for leaf certificates.
.google.cloud.security.privateca.v1.X509Parameters.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The caOptions.
-
getCaOptionsOrBuilder
X509Parameters.CaOptionsOrBuilder getCaOptionsOrBuilder()Optional. Describes options in this [X509Parameters][google.cloud.security.privateca.v1.X509Parameters] that are relevant in a CA certificate. If not specified, a default basic constraints extension with `is_ca=false` will be added for leaf certificates.
.google.cloud.security.privateca.v1.X509Parameters.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPolicyIdsList
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPolicyIds
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPolicyIdsCount
int getPolicyIdsCount()Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPolicyIdsOrBuilderList
List<? extends ObjectIdOrBuilder> getPolicyIdsOrBuilderList()Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPolicyIdsOrBuilder
Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
repeated .google.cloud.security.privateca.v1.ObjectId policy_ids = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getAiaOcspServersList
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the aiaOcspServers.
-
getAiaOcspServersCount
int getAiaOcspServersCount()Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of aiaOcspServers.
-
getAiaOcspServers
Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The aiaOcspServers at the given index.
-
getAiaOcspServersBytes
com.google.protobuf.ByteString getAiaOcspServersBytes(int index) Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.
repeated string aia_ocsp_servers = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aiaOcspServers at the given index.
-
hasNameConstraints
boolean hasNameConstraints()Optional. Describes the X.509 name constraints extension.
.google.cloud.security.privateca.v1.X509Parameters.NameConstraints name_constraints = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the nameConstraints field is set.
-
getNameConstraints
X509Parameters.NameConstraints getNameConstraints()Optional. Describes the X.509 name constraints extension.
.google.cloud.security.privateca.v1.X509Parameters.NameConstraints name_constraints = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The nameConstraints.
-
getNameConstraintsOrBuilder
X509Parameters.NameConstraintsOrBuilder getNameConstraintsOrBuilder()Optional. Describes the X.509 name constraints extension.
.google.cloud.security.privateca.v1.X509Parameters.NameConstraints name_constraints = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getAdditionalExtensionsList
List<X509Extension> getAdditionalExtensionsList()Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAdditionalExtensions
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAdditionalExtensionsCount
int getAdditionalExtensionsCount()Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAdditionalExtensionsOrBuilderList
List<? extends X509ExtensionOrBuilder> getAdditionalExtensionsOrBuilderList()Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getAdditionalExtensionsOrBuilder
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];
-