Share via


ConfigurationEncryption Class

Provide encryption for configuration.

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.MediaServices.Client.ConfigurationEncryption

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

Syntax

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

The ConfigurationEncryption type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property KeyIdentifier Gets the key identifier.

Top

Methods

  Name Description
Public method Decrypt Decrypts the specified encrypted value.
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 Encrypt Encrypts the configuration.
Public method EncryptContentKeyToCertificate Encrypts the content key using the specified 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 GetInitializationVector Gets the initialization vector.
Public method GetInitializationVectorAsString Gets the initialization vector as string.
Public methodStatic member GetInitializationVectorFromString Gets the initialization vector from string.
Public method GetKeyIdentifierAsString Gets the key identifier as string.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
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