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

Class PemBlock

A PEM-encoded block (RFC 7468). A PEM block is a base64-encoded DER blob wrapped in text labels.

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

Constructors

View Source

PemBlock(string, byte[])

Initializes a new instance of the PemBlock class.

Declaration
public PemBlock(string label, byte[] derData)
Parameters
Type Name Description
string label

Specifies the label value.

byte[] derData

The der data used by the operation.

Properties

View Source

DerData

Gets the decoded DER bytes.

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

Label

Gets the PEM label (e.g. RSA PRIVATE KEY).

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

DR-IT Software documentation

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

Generated by DocFX