目錄 / Table of Contents

Class OdfOpenPgpEncryptedKeyInfo

Namespace
OdfKit.Core
Assembly
OdfKit.dll

Describes an OpenPGP encrypted key entry read from manifest:encrypted-key. 描述從 manifest:encrypted-key 讀取的 OpenPGP 加密金鑰項目。

public sealed class OdfOpenPgpEncryptedKeyInfo
Inheritance
OdfOpenPgpEncryptedKeyInfo
Inherited Members

Constructors

OdfOpenPgpEncryptedKeyInfo()

public OdfOpenPgpEncryptedKeyInfo()

Properties

AlgorithmName

Gets or sets the algorithm identifier used to encrypt the session key packet. 取得或設定用於加密工作階段金鑰封包的演算法識別碼。

public string AlgorithmName { get; set; }

Property Value

string

CipherValue

Gets or sets the OpenPGP message that transports the package session key. 取得或設定用來傳送封裝工作階段金鑰的 OpenPGP 訊息。

public byte[] CipherValue { get; set; }

Property Value

byte[]

Remarks

This value is serialized as manifest:CipherValue. The optional KeyPacket property represents manifest:PGPKeyPacket and is not the encrypted session-key payload. 此值會序列化為 manifest:CipherValue。選用的 KeyPacket 代表 manifest:PGPKeyPacket,不是加密後的工作階段金鑰內容。

ExtensionProperties

Gets vendor-specific encrypted-key metadata properties. 取得供特定供應商使用的 encrypted-key 中繼資料屬性。

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

Property Value

Dictionary<string, string>

KeyId

Gets or sets the OpenPGP key identifier. 取得或設定 OpenPGP 金鑰識別碼。

public string KeyId { get; set; }

Property Value

string

KeyPacket

Gets or sets the encrypted session key packet. 取得或設定加密後的工作階段金鑰封包。

public byte[] KeyPacket { get; set; }

Property Value

byte[]

Recipient

Gets or sets the recipient display name or email address. 取得或設定收件者顯示名稱或電子郵件。

public string? Recipient { get; set; }

Property Value

string