[[["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-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eEncryption\u003c/code\u003e class for the Transcoder v1 API is 2.9.0, with documentation available alongside historical versions ranging back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eEncryption\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Video.Transcoder.V1\u003c/code\u003e namespace within the Google.Cloud.Video.Transcoder.V1.dll assembly, offering video encryption settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryption\u003c/code\u003e class implements several interfaces including \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, providing various functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEncryption\u003c/code\u003e class supports different encryption configurations, including \u003ccode\u003eAes128\u003c/code\u003e, \u003ccode\u003eMpegCenc\u003c/code\u003e, and \u003ccode\u003eSampleAes\u003c/code\u003e, as well as the use of DRM systems and keys stored in Google Secret Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe class requires an identifier via its \u003ccode\u003eId\u003c/code\u003e property, and offers constructors for creating new instances or copying from existing \u003ccode\u003eEncryption\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,["# Transcoder v1 API - Class Encryption (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.9.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.8.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.7.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.6.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.5.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.4.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.3.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.2.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.1.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.0.0/Google.Cloud.Video.Transcoder.V1.Encryption)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/1.0.0/Google.Cloud.Video.Transcoder.V1.Encryption) \n\n public sealed class Encryption : IMessage\u003cEncryption\u003e, IEquatable\u003cEncryption\u003e, IDeepCloneable\u003cEncryption\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Transcoder v1 API class Encryption.\n\nEncryption settings. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Encryption \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Encryption](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Encryption), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Encryption](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Encryption), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Encryption](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Encryption), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Video.Transcoder.V1](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.Transcoder.V1.dll\n\nConstructors\n------------\n\n### Encryption()\n\n public Encryption()\n\n### Encryption(Encryption)\n\n public Encryption(Encryption other)\n\nProperties\n----------\n\n### Aes128\n\n public Encryption.Types.Aes128Encryption Aes128 { get; set; }\n\nConfiguration for AES-128 encryption.\n\n### DrmSystems\n\n public Encryption.Types.DrmSystems DrmSystems { get; set; }\n\nRequired. DRM system(s) to use; at least one must be specified. If a\nDRM system is omitted, it is considered disabled.\n\n### EncryptionModeCase\n\n public Encryption.EncryptionModeOneofCase EncryptionModeCase { get; }\n\n### Id\n\n public string Id { get; set; }\n\nRequired. Identifier for this set of encryption options.\n\n### MpegCenc\n\n public Encryption.Types.MpegCommonEncryption MpegCenc { get; set; }\n\nConfiguration for MPEG Common Encryption (MPEG-CENC).\n\n### SampleAes\n\n public Encryption.Types.SampleAesEncryption SampleAes { get; set; }\n\nConfiguration for SAMPLE-AES encryption.\n\n### SecretManagerKeySource\n\n public Encryption.Types.SecretManagerSource SecretManagerKeySource { get; set; }\n\nKeys are stored in Google Secret Manager.\n\n### SecretSourceCase\n\n public Encryption.SecretSourceOneofCase SecretSourceCase { get; }"]]