Class CryptoKey (3.4.0)

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

This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by Cloud Key Management Service (Cloud KMS). When using Cloud KMS to wrap or unwrap a DEK, be sure to set an appropriate IAM policy on the KEK to ensure an attacker cannot unwrap the DEK.

Inheritance

Object > CryptoKey

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

CryptoKey()

public CryptoKey()

CryptoKey(CryptoKey)

public CryptoKey(CryptoKey other)
Parameter
NameDescription
otherCryptoKey

Properties

KmsWrapped

public KmsWrappedCryptoKey KmsWrapped { get; set; }

Key wrapped using Cloud KMS

Property Value
TypeDescription
KmsWrappedCryptoKey

SourceCase

public CryptoKey.SourceOneofCase SourceCase { get; }
Property Value
TypeDescription
CryptoKey.SourceOneofCase

Transient

public TransientCryptoKey Transient { get; set; }

Transient crypto key

Property Value
TypeDescription
TransientCryptoKey

Unwrapped

public UnwrappedCryptoKey Unwrapped { get; set; }

Unwrapped crypto key

Property Value
TypeDescription
UnwrappedCryptoKey