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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["The webpage provides documentation for the `CryptoKey` class within the `Google.Cloud.Dlp.V2` namespace, showing a version history from 2.15.0 up to the latest, which is 4.16.0."],["`CryptoKey` is a data encryption key (DEK), and it should be protected by setting the appropriate IAM policy when used with Cloud Key Management Service (Cloud KMS) to prevent unauthorized unwrapping."],["The `CryptoKey` class can be instantiated with either a default constructor (`CryptoKey()`) or a copy constructor (`CryptoKey(CryptoKey other)`) and is related to IMessage, IEquatable, IDeepCloneable, and IBufferMessage interfaces."],["`CryptoKey` objects can represent keys that are wrapped by Cloud KMS (`KmsWrapped`), transient (`Transient`), or unwrapped (`Unwrapped`), and the state is represented in the `SourceCase` property."],["The webpage details inherited members such as GetHashCode(), GetType(), MemberwiseClone(), and ToString() from the base Object class, and shows the Google.Cloud.Dlp.V2.dll assembly."]]],[]]