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

Class AlgorithmIdentifier

A CMS AlgorithmIdentifier (RFC 5652 §10.1). Contains an algorithm OID and optional parameters (raw DER bytes).

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

Constructors

View Source

AlgorithmIdentifier(string)

Initializes a new instance of the AlgorithmIdentifier class with no parameters.

Declaration
public AlgorithmIdentifier(string oid)
Parameters
Type Name Description
string oid

The oid identifier.

View Source

AlgorithmIdentifier(string, byte[]?)

Initializes a new instance of the AlgorithmIdentifier class.

Declaration
public AlgorithmIdentifier(string oid, byte[]? parameters)
Parameters
Type Name Description
string oid

The oid identifier.

byte[] parameters

Specifies the parameters value.

Properties

View Source

HasParameters

Gets a value indicating whether parameters are present.

Declaration
public bool HasParameters { get; }
Property Value
Type Description
bool
View Source

Oid

Gets the algorithm OID.

Declaration
public string Oid { get; }
Property Value
Type Description
string
View Source

Parameters

Gets the raw DER-encoded parameters, or null if absent.

Declaration
public byte[]? Parameters { get; }
Property Value
Type Description
byte[]
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX