Class PublicKey (2.0.0)

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

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
PublicKey.Types.KeyFormat

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