Google Cloud Data Loss Prevention v2 API - Class CryptoKey (4.12.0)

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

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class CryptoKey.

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
Name Description
other CryptoKey

Properties

KmsWrapped

public KmsWrappedCryptoKey KmsWrapped { get; set; }

Key wrapped using Cloud KMS

Property Value
Type Description
KmsWrappedCryptoKey

SourceCase

public CryptoKey.SourceOneofCase SourceCase { get; }
Property Value
Type Description
CryptoKeySourceOneofCase

Transient

public TransientCryptoKey Transient { get; set; }

Transient crypto key

Property Value
Type Description
TransientCryptoKey

Unwrapped

public UnwrappedCryptoKey Unwrapped { get; set; }

Unwrapped crypto key

Property Value
Type Description
UnwrappedCryptoKey