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

Class SignerIdentifier

Identifies a signer or recipient in a CMS structure (RFC 5652 §5.2, §6.2). Either by IssuerAndSerialNumber or by SubjectKeyIdentifier.

Inheritance
object
SignerIdentifier
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 SignerIdentifier

Constructors

View Source

SignerIdentifier(byte[])

Initializes a new instance of the SignerIdentifier class for a SubjectKeyIdentifier reference.

Declaration
public SignerIdentifier(byte[] subjectKeyIdentifier)
Parameters
Type Name Description
byte[] subjectKeyIdentifier

The subject key identifier identifier.

View Source

SignerIdentifier(byte[], byte[])

Initializes a new instance of the SignerIdentifier class for an IssuerAndSerialNumber reference.

Declaration
public SignerIdentifier(byte[] issuerName, byte[] serialNumber)
Parameters
Type Name Description
byte[] issuerName

A value indicating whether issuer name.

byte[] serialNumber

The serial number used by the operation.

Properties

View Source

IssuerName

Gets the DER-encoded issuer Name, or null if this is a SubjectKeyIdentifier.

Declaration
public byte[]? IssuerName { get; }
Property Value
Type Description
byte[]
View Source

SerialNumber

Gets the serial number (big-endian bytes), or null if this is a SubjectKeyIdentifier.

Declaration
public byte[]? SerialNumber { get; }
Property Value
Type Description
byte[]
View Source

SubjectKeyIdentifier

Gets the subject key identifier, or null if this is an IssuerAndSerialNumber.

Declaration
public byte[]? SubjectKeyIdentifier { get; }
Property Value
Type Description
byte[]
View Source

Type

Gets the identifier type.

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

DR-IT Software documentation

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

Generated by DocFX