public sealed class Digest : IMessage<Digest>, IEquatable<Digest>, IDeepCloneable<Digest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class Digest.
A [Digest][google.cloud.kms.v1.Digest] holds a cryptographic message digest.
Namespace
Google.Cloud.Kms.V1Assembly
Google.Cloud.Kms.V1.dll
Constructors
Digest()
public Digest()
Digest(Digest)
public Digest(Digest other)
Parameter | |
---|---|
Name | Description |
other | Digest |
Properties
DigestCase
public Digest.DigestOneofCase DigestCase { get; }
Property Value | |
---|---|
Type | Description |
DigestDigestOneofCase |
HasSha256
public bool HasSha256 { get; }
Gets whether the "sha256" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSha384
public bool HasSha384 { get; }
Gets whether the "sha384" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSha512
public bool HasSha512 { get; }
Gets whether the "sha512" field is set
Property Value | |
---|---|
Type | Description |
bool |
Sha256
public ByteString Sha256 { get; set; }
A message digest produced with the SHA-256 algorithm.
Property Value | |
---|---|
Type | Description |
ByteString |
Sha384
public ByteString Sha384 { get; set; }
A message digest produced with the SHA-384 algorithm.
Property Value | |
---|---|
Type | Description |
ByteString |
Sha512
public ByteString Sha512 { get; set; }
A message digest produced with the SHA-512 algorithm.
Property Value | |
---|---|
Type | Description |
ByteString |