X509CRLEntry(String, NullableDateTime, Int32) Constructor
Initializes a new instance of the X509CRLEntry class from a serial number, revocation date and revocation reason code.
Namespace: SysadminsLV.PKI.Cryptography.X509CertificatesAssembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
public X509CRLEntry(
string serialNumber,
DateTime? revocationDate = null,
int reasonCode = 0
)
Public Sub New (
serialNumber As String,
Optional revocationDate As DateTime? = Nothing,
Optional reasonCode As Integer = 0
)
public:
X509CRLEntry(
String^ serialNumber,
Nullable<DateTime> revocationDate = nullptr,
int reasonCode = 0
)
new :
serialNumber : string *
?revocationDate : Nullable<DateTime> *
?reasonCode : int
(* Defaults:
let _revocationDate = defaultArg revocationDate null
let _reasonCode = defaultArg reasonCode 0
*)
-> X509CRLEntry
Parameters
- serialNumber String
-
Specifies the revoked certificate serial number. Serial number must be a hex string. It may be lower/upper case and may contain single space
between octets.
- revocationDate NullableDateTime (Optional)
-
Specifies the date and time when certificate is considered explicitly untrusted (revoked). If the parameter is null, a current date and time
is used.
- reasonCode Int32 (Optional)
-
Specifies the revocation reason. The value can be one of specified in the ReasonCode, except: Hold Certificate
and Release From Hold. Default parameter value is Unspecified.