StaticKeys Constructor
StaticKeys(ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>, ReadOnlyMemory<Byte>)
Constructs an instance given the supplied keys. This class will
consider these keys to be the key set with the Key Version Number of
StaticKeys
object is created.
C#
public StaticKeys(ReadOnlyMemory<byte> channelMacKey, ReadOnlyMemory<byte> channelEncryptionKey, ReadOnlyMemory<byte> dataEncryptionKey)
Parameters
Type | Name | Description |
---|---|---|
System.ReadOnlyMemory<System.Byte> | channelMacKey | |
System.ReadOnlyMemory<System.Byte> | channelEncryptionKey | |
System.ReadOnlyMemory<System.Byte> | dataEncryptionKey |
StaticKeys()
Constructs an instance using the well-known default values; using these provides no security. This class will consider these keys to be the key set with the Key Version Number of 255 (0xFF).
C#
public StaticKeys()