Add SignedCms to the TypeForwards in the System.Security.Cryptography.Pkcs facade...
[mono-project.git] / mcs / class / System.Security / System.Security.Cryptography.Pkcs / Pkcs12SecretBag.NotSupported.cs
blob65552677408a02c1a03daa0f84dcf3c28bf9dd83
1 using System;
2 using System.Security.Cryptography;
3 using System.Security.Cryptography.Pkcs;
5 namespace System.Security.Cryptography.Pkcs {
6 /// <summary>Represents the SecretBag from PKCS#12, a container whose contents are arbitrary data with a type identifier. This class cannot be inherited.</summary>
7 public sealed class Pkcs12SecretBag : Pkcs12SafeBag {
8 /// <summary>Gets a memory value containing the BER-encoded contents of the bag.</summary>
9 /// <returns>A memory value containing the BER-encoded contents of the bag.</returns>
10 public ReadOnlyMemory<byte> SecretValue {
11 get {
12 throw new PlatformNotSupportedException ();
16 internal Pkcs12SecretBag ()
17 : base (null, default(ReadOnlyMemory<byte>)) {
18 throw new PlatformNotSupportedException ();
21 /// <summary>Gets the Object Identifier (OID) which identifies the data type of the secret value.</summary>
22 /// <returns>The Object Identifier (OID) which identifies the data type of the secret value.</returns>
23 public Oid GetSecretType () {
24 throw new PlatformNotSupportedException ();