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

Class SubjectPublicKeyInfo

A SubjectPublicKeyInfo structure (RFC 5280 §4.1.2.7). Contains the algorithm identifier and the public key bits.

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

Constructors

View Source

SubjectPublicKeyInfo(AlgorithmIdentifier, byte[])

Initializes a new instance of the SubjectPublicKeyInfo class.

Declaration
public SubjectPublicKeyInfo(AlgorithmIdentifier algorithm, byte[] publicKey)
Parameters
Type Name Description
AlgorithmIdentifier algorithm

Specifies the algorithm value.

byte[] publicKey

The public key used by the operation.

Properties

View Source

Algorithm

Gets the algorithm identifier.

Declaration
public AlgorithmIdentifier Algorithm { get; }
Property Value
Type Description
AlgorithmIdentifier
View Source

PublicKey

Gets the public key bytes (BIT STRING content without the unused-bits prefix). For RSA, this is the DER-encoded RSAPublicKey.

Declaration
public byte[] PublicKey { 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