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.
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; }
Key wrapped using Cloud KMS
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 |