Επεξεργασία

Κοινή χρήση μέσω


Pkcs12SafeContentsBag Class

Definition

Represents the SafeContentsBag from PKCS#12, a container whose contents are a PKCS#12 SafeContents value. This class cannot be inherited.

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
Inheritance
Pkcs12SafeContentsBag

Properties

Attributes

Gets the modifiable collection of attributes to encode with the SafeBag value.

(Inherited from Pkcs12SafeBag)
EncodedBagValue

Gets the ASN.1 BER encoding of the contents of this SafeBag.

(Inherited from Pkcs12SafeBag)
SafeContents

Gets the SafeContents value contained within this bag.

Methods

Encode()

Encodes the SafeBag value and returns it as a byte array.

(Inherited from Pkcs12SafeBag)
Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBagId()

Gets the Object Identifier (OID) identifying the content type of this SafeBag.

(Inherited from Pkcs12SafeBag)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)
TryEncode(Span<Byte>, Int32)

Attempts to encode the SafeBag value into a provided buffer.

(Inherited from Pkcs12SafeBag)

Applies to

See also