EncryptionUtils Class

Provides helpers for encryption.

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.MediaServices.Client.EncryptionUtils

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public NotInheritable Class EncryptionUtils
'Usage
public static class EncryptionUtils
public ref class EncryptionUtils abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type EncryptionUtils =  class end
public final class EncryptionUtils

The EncryptionUtils type exposes the following members.

Methods

  Name Description
Public methodStatic member CalculateChecksum Calculates the checksum.
Public methodStatic member DecryptSymmetricKey Decrypts the symmetric key.
Public methodStatic member EncryptSymmetricKey Encrypts the symmetric key.
Public methodStatic member EncryptSymmetricKeyData Encrypts the symmetric key data.
Public methodStatic member GetCertificateFromStore(String) Gets the certificate from store.
Public methodStatic member GetCertificateFromStore(String, StoreLocation) Gets the certificate from store.
Public methodStatic member GetKeyIdAsGuid Gets the key id as GUID.
Public methodStatic member GetKeyIdentifierAsString Gets the key identifier as string.
Public methodStatic member SaveCertificateToStore Saves the certificate to store.

Top

Fields

  Name Description
Public fieldStatic member IVSizeInBytesForAesCbc The IV size for AES Cbc.
Public fieldStatic member KeySizeInBitsForAes128 The key size for AES 128 in bits.
Public fieldStatic member KeySizeInBitsForAes256 The key size for AES 256 in bits.
Public fieldStatic member KeySizeInBytesForAes128 The key size for AES 128.
Public fieldStatic member KeySizeInBytesForAes256 The key size for AES 256.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace