

# EncryptionMethod


The encryption type.

## Contents


 ** CmafEncryptionMethod **   <a name="mediapackage-Type-EncryptionMethod-CmafEncryptionMethod"></a>
The encryption method to use.  
Type: String  
Valid Values: `CENC | CBCS`   
Required: No

 ** IsmEncryptionMethod **   <a name="mediapackage-Type-EncryptionMethod-IsmEncryptionMethod"></a>
The encryption method used for Microsoft Smooth Streaming (MSS) content. This specifies how the MSS segments are encrypted to protect the content during delivery to client players.  
Type: String  
Valid Values: `CENC`   
Required: No

 ** TsEncryptionMethod **   <a name="mediapackage-Type-EncryptionMethod-TsEncryptionMethod"></a>
The encryption method to use.  
Type: String  
Valid Values: `AES_128 | SAMPLE_AES`   
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/mediapackagev2-2022-12-25/EncryptionMethod) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/mediapackagev2-2022-12-25/EncryptionMethod) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/mediapackagev2-2022-12-25/EncryptionMethod) 