System.Security.Cryptography.Pkcs.Pkcs12SafeBag
Defines the core behavior of a SafeBag value from the PKCS#12 specification and provides a base for derived classes.
Gets the modifiable collection of attributes to encode with the SafeBag value.
Gets the ASN.1 BER encoding of the contents of this SafeBag.
protected Pkcs12SafeBag(string bagIdValue, ReadOnlyMemory<byte> encodedBagValue, bool skipCopy = false)
Called from constructors in derived classes to initialize the Pkcs12SafeBag class.
Encodes the SafeBag value and returns it as a byte array.
Gets the Object Identifier (OID) identifying the content type of this SafeBag.
Attempts to encode the SafeBag value into a provided buffer.