Adds a CRL extension (e.g., CRL number, authority key identifier).
The extension to add
This builder for chaining
Adds multiple CRL extensions.
The extensions to add
This builder for chaining
Adds a revoked certificate entry.
Revoked certificate details, or a RevokedCertificate instance
This builder for chaining
Builds and signs the CRL.
Promise resolving to the signed CertificateList
Revokes a certificate by reference. Uses the certificate's serial number and the current time as the revocation date if not provided.
The certificate to revoke
OptionalrevocationDate: DateThe revocation date (defaults to now)
This builder for chaining
Sets the signature algorithm.
Algorithm parameters or SignatureAlgorithmIdentifier
This builder for chaining
Sets the CRL issuer (the CA name).
Issuer DN as string or Name object
This builder for chaining
Sets the issuer from a CA certificate's subject.
The CA certificate
This builder for chaining
Sets the nextUpdate time (when the next CRL will be issued). Defaults to 30 days after thisUpdate if not set.
The next update date
This builder for chaining
Sets the private key for signing the CRL.
The CA's private key
This builder for chaining
Sets the thisUpdate time (when this CRL was issued). Defaults to current time if not set.
The issue date
This builder for chaining
Builder class for creating X.509 Certificate Revocation Lists (CRLs).
Provides a fluent API for constructing CRLs with revoked certificates, extensions, and signing them with a CA's private key.
Example