Google Cloud Data Loss Prevention v2 API - Class CryptoKey (4.8.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
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
CryptoKeySourceOneofCase

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