Send feedback
Class KeyUsage.KeyUsageOptions (2.57.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.57.0 keyboard_arrow_down
public static final class KeyUsage . KeyUsageOptions extends GeneratedMessageV3 implements KeyUsage . KeyUsageOptionsOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CERT_SIGN_FIELD_NUMBER
public static final int CERT_SIGN_FIELD_NUMBER
Field Value
Type
Description
int
CONTENT_COMMITMENT_FIELD_NUMBER
public static final int CONTENT_COMMITMENT_FIELD_NUMBER
Field Value
Type
Description
int
CRL_SIGN_FIELD_NUMBER
public static final int CRL_SIGN_FIELD_NUMBER
Field Value
Type
Description
int
DATA_ENCIPHERMENT_FIELD_NUMBER
public static final int DATA_ENCIPHERMENT_FIELD_NUMBER
Field Value
Type
Description
int
DECIPHER_ONLY_FIELD_NUMBER
public static final int DECIPHER_ONLY_FIELD_NUMBER
Field Value
Type
Description
int
DIGITAL_SIGNATURE_FIELD_NUMBER
public static final int DIGITAL_SIGNATURE_FIELD_NUMBER
Field Value
Type
Description
int
ENCIPHER_ONLY_FIELD_NUMBER
public static final int ENCIPHER_ONLY_FIELD_NUMBER
Field Value
Type
Description
int
KEY_AGREEMENT_FIELD_NUMBER
public static final int KEY_AGREEMENT_FIELD_NUMBER
Field Value
Type
Description
int
KEY_ENCIPHERMENT_FIELD_NUMBER
public static final int KEY_ENCIPHERMENT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static KeyUsage . KeyUsageOptions getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static KeyUsage . KeyUsageOptions . Builder newBuilder ()
newBuilder(KeyUsage.KeyUsageOptions prototype)
public static KeyUsage . KeyUsageOptions . Builder newBuilder ( KeyUsage . KeyUsageOptions prototype )
public static KeyUsage . KeyUsageOptions parseDelimitedFrom ( InputStream input )
public static KeyUsage . KeyUsageOptions parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static KeyUsage . KeyUsageOptions parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage . KeyUsageOptions parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static KeyUsage . KeyUsageOptions parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage . KeyUsageOptions parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static KeyUsage . KeyUsageOptions parseFrom ( CodedInputStream input )
public static KeyUsage . KeyUsageOptions parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static KeyUsage . KeyUsageOptions parseFrom ( InputStream input )
public static KeyUsage . KeyUsageOptions parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static KeyUsage . KeyUsageOptions parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage . KeyUsageOptions parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<KeyUsage . KeyUsageOptions > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCertSign()
public boolean getCertSign ()
The key may be used to sign certificates.
bool cert_sign = 6;
Returns
Type
Description
boolean
The certSign.
getContentCommitment()
public boolean getContentCommitment ()
The key may be used for cryptographic commitments. Note that this may
also be referred to as "non-repudiation".
bool content_commitment = 2;
Returns
Type
Description
boolean
The contentCommitment.
getCrlSign()
public boolean getCrlSign ()
The key may be used sign certificate revocation lists.
bool crl_sign = 7;
Returns
Type
Description
boolean
The crlSign.
getDataEncipherment()
public boolean getDataEncipherment ()
The key may be used to encipher data.
bool data_encipherment = 4;
Returns
Type
Description
boolean
The dataEncipherment.
getDecipherOnly()
public boolean getDecipherOnly ()
The key may be used to decipher only.
bool decipher_only = 9;
Returns
Type
Description
boolean
The decipherOnly.
getDefaultInstanceForType()
public KeyUsage . KeyUsageOptions getDefaultInstanceForType ()
getDigitalSignature()
public boolean getDigitalSignature ()
The key may be used for digital signatures.
bool digital_signature = 1;
Returns
Type
Description
boolean
The digitalSignature.
getEncipherOnly()
public boolean getEncipherOnly ()
The key may be used to encipher only.
bool encipher_only = 8;
Returns
Type
Description
boolean
The encipherOnly.
getKeyAgreement()
public boolean getKeyAgreement ()
The key may be used in a key agreement protocol.
bool key_agreement = 5;
Returns
Type
Description
boolean
The keyAgreement.
getKeyEncipherment()
public boolean getKeyEncipherment ()
The key may be used to encipher other keys.
bool key_encipherment = 3;
Returns
Type
Description
boolean
The keyEncipherment.
getParserForType()
public Parser<KeyUsage . KeyUsageOptions > getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public KeyUsage . KeyUsageOptions . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KeyUsage . KeyUsageOptions . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public KeyUsage . KeyUsageOptions . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]