Certificate Authority v1 API - Class PublicKey (3.4.0)

public sealed class PublicKey : IMessage<PublicKey>, IEquatable<PublicKey>, IDeepCloneable<PublicKey>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class PublicKey.

A [PublicKey][google.cloud.security.privateca.v1.PublicKey] describes a public key.

Inheritance

object > PublicKey

Namespace

Google.Cloud.Security.PrivateCA.V1

Assembly

Google.Cloud.Security.PrivateCA.V1.dll

Constructors

PublicKey()

public PublicKey()

PublicKey(PublicKey)

public PublicKey(PublicKey other)
Parameter
NameDescription
otherPublicKey

Properties

Format

public PublicKey.Types.KeyFormat Format { get; set; }

Required. The format of the public key.

Property Value
TypeDescription
PublicKeyTypesKeyFormat

Key

public ByteString Key { get; set; }

Required. A public key. The padding and encoding must match with the KeyFormat value specified for the format field.

Property Value
TypeDescription
ByteString