public static final class KeyUsage.KeyUsageOptions extends GeneratedMessageV3 implements KeyUsage.KeyUsageOptionsOrBuilder
Static Fields
CERT_SIGN_FIELD_NUMBER
public static final int CERT_SIGN_FIELD_NUMBER
Field Value
CONTENT_COMMITMENT_FIELD_NUMBER
public static final int CONTENT_COMMITMENT_FIELD_NUMBER
Field Value
CRL_SIGN_FIELD_NUMBER
public static final int CRL_SIGN_FIELD_NUMBER
Field Value
DATA_ENCIPHERMENT_FIELD_NUMBER
public static final int DATA_ENCIPHERMENT_FIELD_NUMBER
Field Value
DECIPHER_ONLY_FIELD_NUMBER
public static final int DECIPHER_ONLY_FIELD_NUMBER
Field Value
DIGITAL_SIGNATURE_FIELD_NUMBER
public static final int DIGITAL_SIGNATURE_FIELD_NUMBER
Field Value
ENCIPHER_ONLY_FIELD_NUMBER
public static final int ENCIPHER_ONLY_FIELD_NUMBER
Field Value
KEY_AGREEMENT_FIELD_NUMBER
public static final int KEY_AGREEMENT_FIELD_NUMBER
Field Value
KEY_ENCIPHERMENT_FIELD_NUMBER
public static final int KEY_ENCIPHERMENT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static KeyUsage.KeyUsageOptions getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static KeyUsage.KeyUsageOptions.Builder newBuilder()
Returns
newBuilder(KeyUsage.KeyUsageOptions prototype)
public static KeyUsage.KeyUsageOptions.Builder newBuilder(KeyUsage.KeyUsageOptions prototype)
Parameter
Returns
public static KeyUsage.KeyUsageOptions parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyUsage.KeyUsageOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KeyUsage.KeyUsageOptions parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage.KeyUsageOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KeyUsage.KeyUsageOptions parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage.KeyUsageOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyUsage.KeyUsageOptions parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KeyUsage.KeyUsageOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyUsage.KeyUsageOptions parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyUsage.KeyUsageOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KeyUsage.KeyUsageOptions parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KeyUsage.KeyUsageOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KeyUsage.KeyUsageOptions> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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()
Returns
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()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.KeyUsageOptions.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KeyUsage.KeyUsageOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public KeyUsage.KeyUsageOptions.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions