Class ManagedKey
Represents an encryption key that is part of a set of managed encryption keys.
Inherited Members
Namespace: PKWARE.Smartcrypt.MetaClient
Assembly: MetaClient.dll
Syntax
public sealed class ManagedKey
Constructors
ManagedKey(Int32, Byte[])
Creates a ManagedKey object with the specified key sequence and encryption key.
Declaration
public ManagedKey(int sequence, [NotNull] byte[] rawKey)
Parameters
Type | Name | Description |
---|---|---|
Int32 | sequence | Key sequence. |
Byte[] | rawKey | Raw encryption key. |
Properties
Sequence
Key sequence, starting a 1.
Declaration
public int Sequence { get; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
GetRawKey()
Returns the encryption key as a byte array.
Declaration
[NotNull]
public byte[] GetRawKey()
Returns
Type | Description |
---|---|
Byte[] | Byte array with the encryption key. |