Interface PublicKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublicKey
,PublicKey.Builder
public interface PublicKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicKey.KeyFormat
getFormat()
Required.int
getFormatValue()
Required.com.google.protobuf.ByteString
getKey()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getKey
com.google.protobuf.ByteString getKey()
Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
bytes key = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The key.
-
getFormatValue
int getFormatValue()
Required. The format of the public key.
.google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The enum numeric value on the wire for format.
-
getFormat
PublicKey.KeyFormat getFormat()
Required. The format of the public key.
.google.cloud.security.privateca.v1.PublicKey.KeyFormat format = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The format.
-
-