Interface PublicKeyOrBuilder (2.15.0)

public interface PublicKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getKey()

public abstract ByteString getKey()

Required. A public key. Padding and encoding varies by 'KeyType' and is described along with the KeyType values.

bytes key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The key.

getType()

public abstract PublicKey.KeyType getType()

Required. The type of public key.

.google.cloud.security.privateca.v1beta1.PublicKey.KeyType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PublicKey.KeyType

The type.

getTypeValue()

public abstract int getTypeValue()

Required. The type of public key.

.google.cloud.security.privateca.v1beta1.PublicKey.KeyType type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.