public static final class KeyUsage.ExtendedKeyUsageOptions extends GeneratedMessageV3 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.v1.KeyUsage.ExtendedKeyUsageOptions
Static Fields
CLIENT_AUTH_FIELD_NUMBER
public static final int CLIENT_AUTH_FIELD_NUMBER
Field Value
CODE_SIGNING_FIELD_NUMBER
public static final int CODE_SIGNING_FIELD_NUMBER
Field Value
EMAIL_PROTECTION_FIELD_NUMBER
public static final int EMAIL_PROTECTION_FIELD_NUMBER
Field Value
OCSP_SIGNING_FIELD_NUMBER
public static final int OCSP_SIGNING_FIELD_NUMBER
Field Value
SERVER_AUTH_FIELD_NUMBER
public static final int SERVER_AUTH_FIELD_NUMBER
Field Value
TIME_STAMPING_FIELD_NUMBER
public static final int TIME_STAMPING_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static KeyUsage.ExtendedKeyUsageOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static KeyUsage.ExtendedKeyUsageOptions.Builder newBuilder()
Returns
newBuilder(KeyUsage.ExtendedKeyUsageOptions prototype)
public static KeyUsage.ExtendedKeyUsageOptions.Builder newBuilder(KeyUsage.ExtendedKeyUsageOptions prototype)
Parameter
Returns
public static KeyUsage.ExtendedKeyUsageOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyUsage.ExtendedKeyUsageOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage.ExtendedKeyUsageOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KeyUsage.ExtendedKeyUsageOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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;
Returns
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;
Returns
Type | Description |
boolean | The codeSigning.
|
getDefaultInstanceForType()
public KeyUsage.ExtendedKeyUsageOptions getDefaultInstanceForType()
Returns
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;
Returns
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;
Returns
Type | Description |
boolean | The ocspSigning.
|
getParserForType()
public Parser<KeyUsage.ExtendedKeyUsageOptions> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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;
Returns
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;
Returns
Type | Description |
boolean | The timeStamping.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public KeyUsage.ExtendedKeyUsageOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KeyUsage.ExtendedKeyUsageOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public KeyUsage.ExtendedKeyUsageOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions