<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Crmf.OldCertIDControl

public class OldCertIDControl : IControl
Carrier for an old certificate ID control, naming the certificate a request is asking to have replaced - RFC 4211 sec. 6.5.
public CertId CertId { get; }

Return the certificate ID associated with this control.

public DerObjectIdentifier Type { get; }

Return the type of this control.

public Asn1Encodable Value { get; }

Return the certificate ID associated with this control.

public OldCertIDControl(CertId certId)

Basic constructor - build from the ID of the certificate to be replaced.

public OldCertIDControl(X509Name issuer, DerInteger serialNumber)

Basic constructor - build from the issuer and serial number of the certificate to be replaced.