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 documented with versioned references, ranging from the latest version 4.16.0 down to version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to handle cryptographic keys directly, but the documentation warns about security risks when using raw keys and advises choosing another key type if possible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities for message handling, equality comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a \u003ccode\u003eKey\u003c/code\u003e property, which is a required \u003ccode\u003eByteString\u003c/code\u003e representing a 128, 192, or 256-bit key, and provides two constructors, one default and one for creating a new instance from an existing \u003ccode\u003eUnwrappedCryptoKey\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]