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

System.Security.Cryptography.Pkcs.Pkcs9DocumentName

public sealed class Pkcs9DocumentName : Pkcs9AttributeObject
The Pkcs9DocumentName class defines the name of a CMS/PKCS #7 message.
public string DocumentName { get; }

The DocumentName property retrieves the document name.

The #ctor constructor creates an instance of the Pkcs9DocumentName class.

public Pkcs9DocumentName(string documentName)

The #ctor constructor creates an instance of the Pkcs9DocumentName class by using the specified name for the CMS/PKCS #7 message.

public Pkcs9DocumentName(byte[] encodedDocumentName)

The #ctor constructor creates an instance of the Pkcs9DocumentName class by using the specified array of byte values as the encoded name of the content of a CMS/PKCS #7 message.