Share via


Pkcs12SafeContentsBag 類別

定義

代表來自 PKCS#12 的 SafeContentsBag,其內容為 PKCS#12 SafeContents 值的容器。 此類別無法獲得繼承。

public ref class Pkcs12SafeContentsBag sealed : System::Security::Cryptography::Pkcs::Pkcs12SafeBag
public sealed class Pkcs12SafeContentsBag : System.Security.Cryptography.Pkcs.Pkcs12SafeBag
type Pkcs12SafeContentsBag = class
    inherit Pkcs12SafeBag
Public NotInheritable Class Pkcs12SafeContentsBag
Inherits Pkcs12SafeBag
繼承
Pkcs12SafeContentsBag

屬性

Attributes

取得可修改的屬性集合,以使用 SafeBag 值進行編碼。

(繼承來源 Pkcs12SafeBag)
EncodedBagValue

取得此 SafeBag 內容的 ASN.1 BER 編碼。

(繼承來源 Pkcs12SafeBag)
SafeContents

取得此包中包含的 SafeContents 值。

方法

Encode()

將 SafeBag 值編碼,並將其傳回作為位元組陣列。

(繼承來源 Pkcs12SafeBag)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetBagId()

取得識別此 SafeBag 內容類型的物件識別碼 (OID)。

(繼承來源 Pkcs12SafeBag)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
TryEncode(Span<Byte>, Int32)

嘗試將 SafeBag 值編碼成提供的緩衝區。

(繼承來源 Pkcs12SafeBag)

適用於

另請參閱