/// <summary>
 /// Construct revoked certificate with serialnumber,
 /// actual UTC time and the CRL reason.
 /// </summary>
 /// <param name="serialNumber">The serial number</param>
 /// <param name="crlReason">The reason for revocation</param>
 public RevokedCertificate(byte[] serialNumber, CRLReason crlReason)
     : this(serialNumber)
 {
     if (crlReason != CRLReason.Unspecified)
     {
         CrlEntryExtensions.Add(X509Extensions.BuildX509CRLReason(crlReason));
     }
 }
 /// <summary>
 /// Construct revoked certificate with serialnumber,
 /// actual UTC time and the CRL reason.
 /// </summary>
 /// <param name="serialNumber">The serial number</param>
 /// <param name="crlReason">The reason for revocation</param>
 public RevokedCertificate(string serialNumber, CRLReason crlReason)
     : this(serialNumber)
 {
     CrlEntryExtensions.Add(X509Extensions.BuildX509CRLReason(crlReason));
 }