public sealed class GetPublicKeyRequest : IMessage<GetPublicKeyRequest>, IEquatable<GetPublicKeyRequest>, IDeepCloneable<GetPublicKeyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Key Management Service v1 API class GetPublicKeyRequest.
Request message for [KeyManagementService.GetPublicKey][google.cloud.kms.v1.KeyManagementService.GetPublicKey].
Implements
IMessageGetPublicKeyRequest, IEquatableGetPublicKeyRequest, IDeepCloneableGetPublicKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Constructors
GetPublicKeyRequest()
public GetPublicKeyRequest()GetPublicKeyRequest(GetPublicKeyRequest)
public GetPublicKeyRequest(GetPublicKeyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetPublicKeyRequest |
Properties
CryptoKeyVersionName
public CryptoKeyVersionName CryptoKeyVersionName { get; set; }CryptoKeyVersionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
CryptoKeyVersionName |
|
Name
public string Name { get; set; }Required. The [name][google.cloud.kms.v1.CryptoKeyVersion.name] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] public key to get.
| Property Value | |
|---|---|
| Type | Description |
string |
|
PublicKeyFormat
public PublicKey.Types.PublicKeyFormat PublicKeyFormat { get; set; }Optional. The [PublicKey][google.cloud.kms.v1.PublicKey] format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the [public_key][google.cloud.kms.v1.PublicKey.public_key] field in the requested format. Otherwise, the [pem][google.cloud.kms.v1.PublicKey.pem] field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.
| Property Value | |
|---|---|
| Type | Description |
PublicKeyTypesPublicKeyFormat |
|