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>)
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)
Overrides
toBuilder()
public KeyUsage.KeyUsageOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides