Interface KeyUsageOrBuilder (2.50.0)

public interface KeyUsageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseKeyUsage()

public abstract KeyUsage.KeyUsageOptions getBaseKeyUsage()

Describes high-level ways in which a key may be used.

.google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions base_key_usage = 1;

Returns
Type Description
KeyUsage.KeyUsageOptions

The baseKeyUsage.

getBaseKeyUsageOrBuilder()

public abstract KeyUsage.KeyUsageOptionsOrBuilder getBaseKeyUsageOrBuilder()

Describes high-level ways in which a key may be used.

.google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions base_key_usage = 1;

Returns
Type Description
KeyUsage.KeyUsageOptionsOrBuilder

getExtendedKeyUsage()

public abstract KeyUsage.ExtendedKeyUsageOptions getExtendedKeyUsage()

Detailed scenarios in which a key may be used.

.google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions extended_key_usage = 2;

Returns
Type Description
KeyUsage.ExtendedKeyUsageOptions

The extendedKeyUsage.

getExtendedKeyUsageOrBuilder()

public abstract KeyUsage.ExtendedKeyUsageOptionsOrBuilder getExtendedKeyUsageOrBuilder()

Detailed scenarios in which a key may be used.

.google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions extended_key_usage = 2;

Returns
Type Description
KeyUsage.ExtendedKeyUsageOptionsOrBuilder

getUnknownExtendedKeyUsages(int index)

public abstract ObjectId getUnknownExtendedKeyUsages(int index)

Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

repeated .google.cloud.security.privateca.v1beta1.ObjectId unknown_extended_key_usages = 3;

Parameter
Name Description
index int
Returns
Type Description
ObjectId

getUnknownExtendedKeyUsagesCount()

public abstract int getUnknownExtendedKeyUsagesCount()

Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

repeated .google.cloud.security.privateca.v1beta1.ObjectId unknown_extended_key_usages = 3;

Returns
Type Description
int

getUnknownExtendedKeyUsagesList()

public abstract List<ObjectId> getUnknownExtendedKeyUsagesList()

Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

repeated .google.cloud.security.privateca.v1beta1.ObjectId unknown_extended_key_usages = 3;

Returns
Type Description
List<ObjectId>

getUnknownExtendedKeyUsagesOrBuilder(int index)

public abstract ObjectIdOrBuilder getUnknownExtendedKeyUsagesOrBuilder(int index)

Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

repeated .google.cloud.security.privateca.v1beta1.ObjectId unknown_extended_key_usages = 3;

Parameter
Name Description
index int
Returns
Type Description
ObjectIdOrBuilder

getUnknownExtendedKeyUsagesOrBuilderList()

public abstract List<? extends ObjectIdOrBuilder> getUnknownExtendedKeyUsagesOrBuilderList()

Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.

repeated .google.cloud.security.privateca.v1beta1.ObjectId unknown_extended_key_usages = 3;

Returns
Type Description
List<? extends com.google.cloud.security.privateca.v1beta1.ObjectIdOrBuilder>

hasBaseKeyUsage()

public abstract boolean hasBaseKeyUsage()

Describes high-level ways in which a key may be used.

.google.cloud.security.privateca.v1beta1.KeyUsage.KeyUsageOptions base_key_usage = 1;

Returns
Type Description
boolean

Whether the baseKeyUsage field is set.

hasExtendedKeyUsage()

public abstract boolean hasExtendedKeyUsage()

Detailed scenarios in which a key may be used.

.google.cloud.security.privateca.v1beta1.KeyUsage.ExtendedKeyUsageOptions extended_key_usage = 2;

Returns
Type Description
boolean

Whether the extendedKeyUsage field is set.