FileEncryption Class

Provides file encryption.

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.MediaServices.Client.FileEncryption

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

Syntax

'Declaration
Public Class FileEncryption _
    Implements IDisposable
'Usage
Dim instance As FileEncryption
public class FileEncryption : IDisposable
public ref class FileEncryption : IDisposable
type FileEncryption =  
    class 
        interface IDisposable 
    end
public class FileEncryption implements IDisposable

The FileEncryption type exposes the following members.

Constructors

  Name Description
Public method FileEncryption() Initializes a new instance of the FileEncryption class.
Public method FileEncryption(array<Byte[], Guid) Initializes a new instance of the FileEncryption class.

Top

Properties

  Name Description
Public property KeyIdentifier Gets the key identifier.

Top

Methods

  Name Description
Public method CreateInitializationVectorForFile Creates the initialization vector for file.
Public method Dispose() Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected method Dispose(Boolean) Releases unmanaged and - optionally - managed resources.
Public method EncryptContentKeyToCertificate Encrypts the content key to certificate.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChecksum Gets the checksum.
Public method GetContentKey Gets the content key.
Public method GetHashCode (Inherited from Object.)
Public method GetInitializationVectorForFile Gets the initialization vector for file.
Public method GetKeyIdentifierAsString Gets the key identifier as string.
Public method GetTransform(String) Gets the file encryption transform.
Public method GetTransform(UInt64) Gets the file encryption transform.
Public method GetTransform(String, Int64) Gets the file encryption transform.
Public method GetTransform(UInt64, Int64) Gets the file encryption transform.
Public method GetType (Inherited from Object.)
Public method IsInitializationVectorPresent Determines whether the initialization vector is present for the specified file name.
Protected method MemberwiseClone (Inherited from Object.)
Public method SetInitializationVectorForFile Sets the initialization vector for file.
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member SchemeName The name of the encryption scheme.
Public fieldStatic member SchemeVersion The version of the encryption scheme.

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