Show / Hide Table of Contents

Class PublicKey

The public keys for a given CryptoKeyVersion. Obtained via GetPublicKey.

Inheritance
object
PublicKey
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudKMS.v1.Data
Assembly: Google.Apis.CloudKMS.v1.dll
Syntax
public class PublicKey : IDirectResponseSchema

Properties

Algorithm

The Algorithm associated with this key.

Declaration
[JsonProperty("algorithm")]
public virtual string Algorithm { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

The name of the CryptoKeyVersion public key. Provided here for verification. NOTE: This field is in Beta.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Pem

The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).

Declaration
[JsonProperty("pem")]
public virtual string Pem { get; set; }
Property Value
Type Description
string

PemCrc32c

Integrity verification field. A CRC32C checksum of the returned PublicKey.pem. An integrity check of PublicKey.pem can be performed by computing the CRC32C checksum of PublicKey.pem and comparing your results to this field. Discard the response in case of non-matching checksum values, and perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type. NOTE: This field is in Beta.

Declaration
[JsonProperty("pemCrc32c")]
public virtual long? PemCrc32c { get; set; }
Property Value
Type Description
long?

ProtectionLevel

The ProtectionLevel of the CryptoKeyVersion public key.

Declaration
[JsonProperty("protectionLevel")]
public virtual string ProtectionLevel { get; set; }
Property Value
Type Description
string

PublicKeyFormat

The PublicKey format specified by the customer through the public_key_format field.

Declaration
[JsonProperty("publicKeyFormat")]
public virtual string PublicKeyFormat { get; set; }
Property Value
Type Description
string

PublicKeyValue

This field contains the public key (with integrity verification), formatted according to the public_key_format field.

Declaration
[JsonProperty("publicKey")]
public virtual ChecksummedData PublicKeyValue { get; set; }
Property Value
Type Description
ChecksummedData

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX