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 |
---|---|---|
ReadOnlyMemory<byte> | channelMacKey | |
ReadOnlyMemory<byte> | channelEncryptionKey | |
ReadOnlyMemory<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()