using System; using System.Security.Cryptography.Pkcs; namespace System.Security.Cryptography.Pkcs { /// Represents the ShroudedKeyBag from PKCS#12, a container whose contents are a PKCS#8 EncryptedPrivateKeyInfo. This class cannot be inherited. public sealed class Pkcs12ShroudedKeyBag : Pkcs12SafeBag { /// Gets a memory value containing the PKCS#8 EncryptedPrivateKeyInfo value transported by this bag. /// A memory value containing the PKCS#8 EncryptedPrivateKeyInfo value transported by this bag. public ReadOnlyMemory EncryptedPkcs8PrivateKey { get { throw new PlatformNotSupportedException (); } } /// Initializes a new instance of the from an existing encoded PKCS#8 EncryptedPrivateKeyInfo value. /// A BER-encoded PKCS#8 EncryptedPrivateKeyInfo value. /// /// to store without making a defensive copy; otherwise, . The default is . /// The parameter does not represent a single ASN.1 BER-encoded value. public Pkcs12ShroudedKeyBag (ReadOnlyMemory encryptedPkcs8PrivateKey, bool skipCopy = false) : base (null, default(ReadOnlyMemory)) { throw new PlatformNotSupportedException (); } } }