public sealed class CryptoKey : IMessage<CryptoKey>, IEquatable<CryptoKey>, IDeepCloneable<CryptoKey>, IBufferMessage, IMessageThis is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS). When using KMS to wrap/unwrap DEKs, be sure to set an appropriate IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot unwrap the data crypto key.
Implements
IMessage<CryptoKey>, IEquatable<CryptoKey>, IDeepCloneable<CryptoKey>, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
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; }Kms wrapped key
| Property Value | |
|---|---|
| Type | Description |
KmsWrappedCryptoKey |
|
SourceCase
public CryptoKey.SourceOneofCase SourceCase { get; }| Property Value | |
|---|---|
| Type | Description |
CryptoKey.SourceOneofCase |
|
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 |
|