public sealed class UnwrappedCryptoKey : IMessage<UnwrappedCryptoKey>, IEquatable<UnwrappedCryptoKey>, IDeepCloneable<UnwrappedCryptoKey>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class UnwrappedCryptoKey.
Using raw keys is prone to security risks due to accidentally
leaking the key. Choose another type of key if possible.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e class within the Google Cloud Data Loss Prevention (DLP) v2 API for .NET, with the current version being 4.14.0, however it also includes documentation for the latest version 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e class is used for handling encryption keys, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsing raw keys, as implemented in \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e is a security risk, therefore an alternative key is recommended if possible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e class includes a constructor for creating instances, both with and without providing an existing \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e, and a property \u003ccode\u003eKey\u003c/code\u003e of type \u003ccode\u003eByteString\u003c/code\u003e to define the cryptographic key, which must be 128, 192, or 256 bits in length.\u003c/p\u003e\n"]]],[],null,[]]