Table of Contents

Class OdfEncryptionInfo

Namespace
OdfKit.Core
Assembly
OdfKit.dll

Describes the encryption metadata attached to an encrypted ODF package entry. 描述加密 ODF 封裝項目附帶的加密中繼資料。

public sealed class OdfEncryptionInfo
Inheritance
OdfEncryptionInfo
Inherited Members

Constructors

OdfEncryptionInfo()

public OdfEncryptionInfo()

Properties

AlgorithmName

Gets or sets the encryption algorithm identifier URI. 取得或設定加密演算法識別 URI。

public string AlgorithmName { get; set; }

Property Value

string

Checksum

Gets or sets the checksum bytes used to verify decrypted entry integrity. 取得或設定用於驗證解密後專案完整性的總和檢查碼位元組。

public byte[] Checksum { get; set; }

Property Value

byte[]

ChecksumType

Gets or sets the checksum algorithm used to verify decrypted entry bytes. 取得或設定用於驗證解密後專案位元組的總和檢查碼演算法。

public string ChecksumType { get; set; }

Property Value

string

ExtensionProperties

Gets or sets vendor-specific encryption metadata properties. 取得或設定供特定供應商使用的加密中繼資料屬性。

public Dictionary<string, string> ExtensionProperties { get; set; }

Property Value

Dictionary<string, string>

InitialisationVector

Gets or sets the initialization vector used by the content encryption algorithm. 取得或設定內容加密演算法使用的初始向量。

public byte[] InitialisationVector { get; set; }

Property Value

byte[]

IterationCount

Gets or sets the iteration count used by the key derivation function. 取得或設定金鑰衍生函式使用的反覆運算次數。

public int IterationCount { get; set; }

Property Value

int

KeyDerivationName

Gets or sets the key derivation function name. 取得或設定金鑰衍生函式名稱。

public string KeyDerivationName { get; set; }

Property Value

string

KeySize

Gets or sets the derived content encryption key size in bits. 取得或設定衍生內容加密金鑰的位元大小。

public int KeySize { get; set; }

Property Value

int

OpenPgpEncryptedKeys

Gets the OpenPGP encrypted key descriptors declared in manifest:encrypted-key. 取得 manifest:encrypted-key 宣告的 OpenPGP 加密金鑰描述集合。

public List<OdfOpenPgpEncryptedKeyInfo> OpenPgpEncryptedKeys { get; }

Property Value

List<OdfOpenPgpEncryptedKeyInfo>

Salt

Gets or sets the salt bytes used by the key derivation function. 取得或設定金鑰衍生函式使用的鹽值位元組。

public byte[] Salt { get; set; }

Property Value

byte[]

StartKeyGenerationName

Gets or sets the start-key generation algorithm name. 取得或設定起始金鑰產生演算法名稱。

public string? StartKeyGenerationName { get; set; }

Property Value

string

StartKeySize

Gets or sets the start-key size in bits. 取得或設定起始金鑰位元大小。

public int? StartKeySize { get; set; }

Property Value

int?