using System;
using System.Security.Cryptography.Pkcs;
namespace System.Security.Cryptography.Pkcs {
/// Represents the KeyBag from PKCS#12, a container whose contents are a PKCS#8 PrivateKeyInfo. This class cannot be inherited.
public sealed class Pkcs12KeyBag : Pkcs12SafeBag {
/// Gets a memory value containing the PKCS#8 PrivateKeyInfo value transported by this bag.
/// A memory value containing the PKCS#8 PrivateKeyInfo value transported by this bag.
public ReadOnlyMemory Pkcs8PrivateKey {
get {
throw new PlatformNotSupportedException ();
}
}
/// Initializes a new instance of the from an existing encoded PKCS#8 PrivateKeyInfo value.
/// A BER-encoded PKCS#8 PrivateKeyInfo 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 Pkcs12KeyBag (ReadOnlyMemory pkcs8PrivateKey, bool skipCopy = false)
: base (null, default(ReadOnlyMemory)) {
throw new PlatformNotSupportedException ();
}
}
}