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\u003eThe \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e class in the Google Cloud Data Loss Prevention v2 API is used for managing cryptographic keys, specifically raw keys, which are noted to be more prone to security risks.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation available is 4.16.0, however there are references to multiple versions, including 4.2.0, which the provided documentation specifically references, alongside many others between 2.15.0 and 4.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class, incorporating members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and another that takes an \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e object as a parameter, and it also includes a \u003ccode\u003eKey\u003c/code\u003e property of type \u003ccode\u003eByteString\u003c/code\u003e, which is required and used to store the cryptographic key.\u003c/p\u003e\n"]]],[],null,[]]