Edit

Share via


Pkcs12KeyBag.Pkcs8PrivateKey Property

Definition

Gets a memory value containing the PKCS#8 PrivateKeyInfo value transported by this bag.

public:
 property ReadOnlyMemory<System::Byte> Pkcs8PrivateKey { ReadOnlyMemory<System::Byte> get(); };
public ReadOnlyMemory<byte> Pkcs8PrivateKey { get; }
member this.Pkcs8PrivateKey : ReadOnlyMemory<byte>
Public ReadOnly Property Pkcs8PrivateKey As ReadOnlyMemory(Of Byte)

Property Value

A memory value containing the PKCS#8 PrivateKeyInfo value transported by this bag.

Remarks

No validation is performed that the returned value is a valid PKCS#8 PrivateKeyInfo value.

This property is an alias for the Pkcs12SafeBag.EncodedBagValue property.

Applies to