Interface KeyUsageOrBuilder (2.41.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.v1.KeyUsage.KeyUsageOptions base_key_usage = 1;

Returns
TypeDescription
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.v1.KeyUsage.KeyUsageOptions base_key_usage = 1;

Returns
TypeDescription
KeyUsage.KeyUsageOptionsOrBuilder

getExtendedKeyUsage()

public abstract KeyUsage.ExtendedKeyUsageOptions getExtendedKeyUsage()

Detailed scenarios in which a key may be used.

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

Returns
TypeDescription
KeyUsage.ExtendedKeyUsageOptions

The extendedKeyUsage.

getExtendedKeyUsageOrBuilder()

public abstract KeyUsage.ExtendedKeyUsageOptionsOrBuilder getExtendedKeyUsageOrBuilder()

Detailed scenarios in which a key may be used.

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

Returns
TypeDescription
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.v1.ObjectId unknown_extended_key_usages = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ObjectId unknown_extended_key_usages = 3;

Returns
TypeDescription
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.v1.ObjectId unknown_extended_key_usages = 3;

Returns
TypeDescription
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.v1.ObjectId unknown_extended_key_usages = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.ObjectId unknown_extended_key_usages = 3;

Returns
TypeDescription
List<? extends com.google.cloud.security.privateca.v1.ObjectIdOrBuilder>

hasBaseKeyUsage()

public abstract boolean hasBaseKeyUsage()

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

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

Returns
TypeDescription
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.v1.KeyUsage.ExtendedKeyUsageOptions extended_key_usage = 2;

Returns
TypeDescription
boolean

Whether the extendedKeyUsage field is set.