Interface X509ParametersOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
X509Parameters
,X509Parameters.Builder
public interface X509ParametersOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
.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.
.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.
.google.cloud.security.privateca.v1.X509Parameters.CaOptions ca_options = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getPolicyIdsList
List<ObjectId> 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
ObjectId getPolicyIds(int index)
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
ObjectIdOrBuilder getPolicyIdsOrBuilder(int index)
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
List<String> 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
String getAiaOcspServers(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 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
X509Extension getAdditionalExtensions(int index)
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
X509ExtensionOrBuilder getAdditionalExtensionsOrBuilder(int index)
Optional. Describes custom X.509 extensions.
repeated .google.cloud.security.privateca.v1.X509Extension additional_extensions = 5 [(.google.api.field_behavior) = OPTIONAL];
-
-