<PackageReference Include="System.Security.Cryptography.Pkcs" Version="11.0.0-preview.7.26381.103" />

System.Security.Cryptography.Pkcs.Pkcs12KeyBag

public sealed class Pkcs12KeyBag : Pkcs12SafeBag
Represents the KeyBag from PKCS#12, a container whose contents are a PKCS#8 PrivateKeyInfo. This class cannot be inherited.
namespace System.Security.Cryptography.Pkcs { public sealed class Pkcs12KeyBag : Pkcs12SafeBag { public ReadOnlyMemory<byte> Pkcs8PrivateKey { get; } public Pkcs12KeyBag(ReadOnlyMemory<byte> pkcs8PrivateKey, bool skipCopy = false); } }