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.
[[["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."],[[["This webpage provides documentation for the `CryptoKey` class within the Google Cloud Data Loss Prevention v2 API for .NET, with the current version being 4.6.0."],["The `CryptoKey` class is a data encryption key (DEK) that can be used for wrapping or unwrapping data, often used with Cloud Key Management Service (Cloud KMS)."],["There are multiple versions of the API available, ranging from version 4.16.0 (latest) down to 2.15.0, with hyperlinks for each version's documentation."],["The `CryptoKey` class has properties such as `KmsWrapped`, `SourceCase`, `Transient`, and `Unwrapped` for managing different types of crypto keys and their states."],["The `CryptoKey` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from the base .NET object class."]]],[]]