- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.0
- 2.3.0
- 2.2.5
public static final class KeyUsage.ExtendedKeyUsageOptions.Builder extends GeneratedMessageV3.Builder<KeyUsage.ExtendedKeyUsageOptions.Builder> implements KeyUsage.ExtendedKeyUsageOptionsOrBuilder
KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.
Protobuf type
google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KeyUsage.ExtendedKeyUsageOptions.BuilderImplements
KeyUsage.ExtendedKeyUsageOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KeyUsage.ExtendedKeyUsageOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
build()
public KeyUsage.ExtendedKeyUsageOptions build()
Type | Description |
KeyUsage.ExtendedKeyUsageOptions |
buildPartial()
public KeyUsage.ExtendedKeyUsageOptions buildPartial()
Type | Description |
KeyUsage.ExtendedKeyUsageOptions |
clear()
public KeyUsage.ExtendedKeyUsageOptions.Builder clear()
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
clearClientAuth()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearClientAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
bool client_auth = 2;
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearCodeSigning()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearCodeSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
bool code_signing = 3;
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearEmailProtection()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearEmailProtection()
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
bool email_protection = 4;
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public KeyUsage.ExtendedKeyUsageOptions.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
clearOcspSigning()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearOcspSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
bool ocsp_signing = 6;
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public KeyUsage.ExtendedKeyUsageOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
clearServerAuth()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearServerAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
bool server_auth = 1;
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clearTimeStamping()
public KeyUsage.ExtendedKeyUsageOptions.Builder clearTimeStamping()
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
bool time_stamping = 5;
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
clone()
public KeyUsage.ExtendedKeyUsageOptions.Builder clone()
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
getClientAuth()
public boolean getClientAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
bool client_auth = 2;
Type | Description |
boolean | The clientAuth. |
getCodeSigning()
public boolean getCodeSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
bool code_signing = 3;
Type | Description |
boolean | The codeSigning. |
getDefaultInstanceForType()
public KeyUsage.ExtendedKeyUsageOptions getDefaultInstanceForType()
Type | Description |
KeyUsage.ExtendedKeyUsageOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEmailProtection()
public boolean getEmailProtection()
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
bool email_protection = 4;
Type | Description |
boolean | The emailProtection. |
getOcspSigning()
public boolean getOcspSigning()
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
bool ocsp_signing = 6;
Type | Description |
boolean | The ocspSigning. |
getServerAuth()
public boolean getServerAuth()
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
bool server_auth = 1;
Type | Description |
boolean | The serverAuth. |
getTimeStamping()
public boolean getTimeStamping()
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
bool time_stamping = 5;
Type | Description |
boolean | The timeStamping. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(KeyUsage.ExtendedKeyUsageOptions other)
public KeyUsage.ExtendedKeyUsageOptions.Builder mergeFrom(KeyUsage.ExtendedKeyUsageOptions other)
Name | Description |
other | KeyUsage.ExtendedKeyUsageOptions |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KeyUsage.ExtendedKeyUsageOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public KeyUsage.ExtendedKeyUsageOptions.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KeyUsage.ExtendedKeyUsageOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
setClientAuth(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setClientAuth(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as "TLS WWW client authentication", though regularly used for non-WWW TLS.
bool client_auth = 2;
Name | Description |
value | boolean The clientAuth to set. |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setCodeSigning(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setCodeSigning(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as "Signing of downloadable executable code client authentication".
bool code_signing = 3;
Name | Description |
value | boolean The codeSigning to set. |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setEmailProtection(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setEmailProtection(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email protection".
bool email_protection = 4;
Name | Description |
value | boolean The emailProtection to set. |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
setOcspSigning(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setOcspSigning(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP responses".
bool ocsp_signing = 6;
Name | Description |
value | boolean The ocspSigning to set. |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |
setServerAuth(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setServerAuth(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as "TLS WWW server authentication", though regularly used for non-WWW TLS.
bool server_auth = 1;
Name | Description |
value | boolean The serverAuth to set. |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setTimeStamping(boolean value)
public KeyUsage.ExtendedKeyUsageOptions.Builder setTimeStamping(boolean value)
Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as "Binding the hash of an object to a time".
bool time_stamping = 5;
Name | Description |
value | boolean The timeStamping to set. |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final KeyUsage.ExtendedKeyUsageOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KeyUsage.ExtendedKeyUsageOptions.Builder |