public sealed class PublicKey : IMessage<PublicKey>, IEquatable<PublicKey>, IDeepCloneable<PublicKey>, IBufferMessage, IMessageReference documentation and code samples for the Certificate Authority v1 API class PublicKey.
A [PublicKey][google.cloud.security.privateca.v1.PublicKey] describes a public key.
Implements
IMessagePublicKey, IEquatablePublicKey, IDeepCloneablePublicKey, IBufferMessage, IMessageNamespace
Google.Cloud.Security.PrivateCA.V1Assembly
Google.Cloud.Security.PrivateCA.V1.dll
Constructors
PublicKey()
public PublicKey()PublicKey(PublicKey)
public PublicKey(PublicKey other)| Parameter | |
|---|---|
| Name | Description |
other |
PublicKey |
Properties
Format
public PublicKey.Types.KeyFormat Format { get; set; }Required. The format of the public key.
| Property Value | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
|