Share via


SecureStop2AESKey Constructors

Definition

Overloads

SecureStop2AESKey(Byte[], Guid)

Initializes a new instance of the SecureStop2AESKey class. The content key is specified by the caller.

SecureStop2AESKey(Guid, Byte[])

Initializes a new instance of the SecureStop2AESKey class. The key is auto-generated by the SDK using a key seed.

SecureStop2AESKey(Byte[], Guid)

Initializes a new instance of the SecureStop2AESKey class. The content key is specified by the caller.

public SecureStop2AESKey (byte[] keyBytes, Guid keyId);
new Microsoft.Media.Drm.SecureStop2AESKey : byte[] * Guid -> Microsoft.Media.Drm.SecureStop2AESKey
Public Sub New (keyBytes As Byte(), keyId As Guid)

Parameters

keyBytes
Byte[]

The secure stop 2 key itself.

keyId
Guid

The key identifier for this secure stop 2 key.

Applies to

SecureStop2AESKey(Guid, Byte[])

Initializes a new instance of the SecureStop2AESKey class. The key is auto-generated by the SDK using a key seed.

public SecureStop2AESKey (Guid keyId, byte[] secureStop2Seed);
new Microsoft.Media.Drm.SecureStop2AESKey : Guid * byte[] -> Microsoft.Media.Drm.SecureStop2AESKey
Public Sub New (keyId As Guid, secureStop2Seed As Byte())

Parameters

keyId
Guid

The key identifier for this secure stop 2 key.

secureStop2Seed
Byte[]

The secure stop 2 specific key seed value used to generate the key.

Exceptions

Thrown if secureStop2Seed is less than 30 bytes in size.

Applies to