Class CmsAttribute
A CMS authenticated/enveloped attribute (RFC 5652 §5.3). An attribute is an OID with one or more DER-encoded values.
Inherited Members
Namespace: DRIT.Mail.Rfc.Crypto.Cms
Assembly: DRIT.Mail.dll
Syntax
public sealed class CmsAttribute
Constructors
View SourceCmsAttribute(string, IReadOnlyList<byte[]>)
Initializes a new instance of the CmsAttribute class.
Declaration
public CmsAttribute(string oid, IReadOnlyList<byte[]> values)
Parameters
| Type | Name | Description |
|---|---|---|
| string | oid | The oid identifier. |
| IReadOnlyList<byte[]> | values | Specifies the values value. |
Properties
View SourceOid
Gets the attribute type OID.
Declaration
public string Oid { get; }
Property Value
| Type | Description |
|---|---|
| string |
Values
Gets the raw DER-encoded attribute values.
Declaration
public IReadOnlyList<byte[]> Values { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<byte[]> |