Pkcs12SafeBag.EncodedBagValue Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the ASN.1 BER encoding of the contents of this SafeBag.
public:
property ReadOnlyMemory<System::Byte> EncodedBagValue { ReadOnlyMemory<System::Byte> get(); };
public ReadOnlyMemory<byte> EncodedBagValue { get; }
member this.EncodedBagValue : ReadOnlyMemory<byte>
Public ReadOnly Property EncodedBagValue As ReadOnlyMemory(Of Byte)
Property Value
The ASN.1 BER encoding of the contents of this SafeBag.
Remarks
In the encoded structure, the SafeBag.bagValue value is tagged as [0] EXPLICIT
. The value of this property is only the contents within the explicit tag.
The explicit tag is automatically applied by Encode() or TryEncode,
and is removed during Decode and similar methods.