• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SignedData

A CMS SignedData structure (RFC 5652 §5). Contains the digest algorithms, encapsulated content, certificates, and signer information.

Inheritance
object
SignedData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.Crypto.Cms
Assembly: DRIT.Mail.dll
Syntax
public sealed class SignedData

Constructors

View Source

SignedData(int, IReadOnlyList<AlgorithmIdentifier>, EncapsulatedContentInfo, IReadOnlyList<byte[]>, IReadOnlyList<SignerInfo>)

Initializes a new instance of the SignedData class.

Declaration
public SignedData(int version, IReadOnlyList<AlgorithmIdentifier> digestAlgorithms, EncapsulatedContentInfo encapContentInfo, IReadOnlyList<byte[]> certificates, IReadOnlyList<SignerInfo> signerInfos)
Parameters
Type Name Description
int version
IReadOnlyList<AlgorithmIdentifier> digestAlgorithms
EncapsulatedContentInfo encapContentInfo
IReadOnlyList<byte[]> certificates
IReadOnlyList<SignerInfo> signerInfos

Properties

View Source

Certificates

Gets the raw DER certificate bytes embedded in the SignedData.

Declaration
public IReadOnlyList<byte[]> Certificates { get; }
Property Value
Type Description
IReadOnlyList<byte[]>
View Source

DigestAlgorithms

Gets the set of digest algorithms used by the signers.

Declaration
public IReadOnlyList<AlgorithmIdentifier> DigestAlgorithms { get; }
Property Value
Type Description
IReadOnlyList<AlgorithmIdentifier>
View Source

EncapContentInfo

Gets the encapsulated content info.

Declaration
public EncapsulatedContentInfo EncapContentInfo { get; }
Property Value
Type Description
EncapsulatedContentInfo
View Source

SignerInfos

Gets the signer information.

Declaration
public IReadOnlyList<SignerInfo> SignerInfos { get; }
Property Value
Type Description
IReadOnlyList<SignerInfo>
View Source

Version

Gets the CMS version.

Declaration
public int Version { get; }
Property Value
Type Description
int
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX