using System; using System.Security.Cryptography; using System.Security.Cryptography.Pkcs; namespace System.Security.Cryptography.Pkcs { /// Represents the SecretBag from PKCS#12, a container whose contents are arbitrary data with a type identifier. This class cannot be inherited. public sealed class Pkcs12SecretBag : Pkcs12SafeBag { /// Gets a memory value containing the BER-encoded contents of the bag. /// A memory value containing the BER-encoded contents of the bag. public ReadOnlyMemory SecretValue { get { throw new PlatformNotSupportedException (); } } internal Pkcs12SecretBag () : base (null, default(ReadOnlyMemory)) { throw new PlatformNotSupportedException (); } /// Gets the Object Identifier (OID) which identifies the data type of the secret value. /// The Object Identifier (OID) which identifies the data type of the secret value. public Oid GetSecretType () { throw new PlatformNotSupportedException (); } } }