<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.0" />

PkiArchiveControl

public class PkiArchiveControl : IControl
public static readonly int archiveRemGenPrivKey

public static readonly int encryptedPrivKey

public static readonly int keyGenParameters

public int ArchiveType { get; }

Return the archive control type, one of: encryptedPrivKey,keyGenParameters,or archiveRemGenPrivKey.

public bool EnvelopedData { get; }

Return whether this control contains enveloped data.

public DerObjectIdentifier Type { get; }

Return the type of this control.

public Asn1Encodable Value { get; }

Return the underlying ASN.1 object.

public PkiArchiveControl(PkiArchiveOptions pkiArchiveOptions)

Basic constructor - build from an PKIArchiveOptions structure.

Return the enveloped data structure contained in this control.

public bool IsEnvelopedData()

Return whether this control contains enveloped data.