X509CrlBuilder class
Builder for X509 CRLs.
- Implemented types
Constructors
- X509CrlBuilder(OpenSSL _context)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRevokedSerial(
{required int serialNumber, required DateTime revocationTime}) → void - Adds a revoked certificate entry (serial as int).
-
addRevokedSerialBigInt(
{required BigInt serialNumber, required DateTime revocationTime}) → void - Adds a revoked certificate entry (serial as BigInt).
-
addRevokedSerialHex(
{required String serialHex, required DateTime revocationTime}) → void - Adds a revoked certificate entry (serial as hex string).
-
addRevokedSerialWithReason(
{required int serialNumber, required DateTime revocationTime, required int reasonCode, bool critical = false}) → void - Adds a revoked certificate entry with CRL reason.
-
addRevokedSerialWithReasonBigInt(
{required BigInt serialNumber, required DateTime revocationTime, required int reasonCode, bool critical = false}) → void - Adds a revoked certificate entry with CRL reason (serial as BigInt).
-
dispose(
) → void - Releases native resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAuthorityKeyIdentifierFromIssuer(
{required X509Certificate issuerCert, bool critical = false}) → void - Adds Authority Key Identifier extension to the CRL using issuer cert.
-
setCrlNumber(
{required int number, bool critical = false}) → void - Sets CRL Number extension (RFC 5280).
-
setCrlNumberBigInt(
{required BigInt number, bool critical = false}) → void - Sets CRL Number extension (RFC 5280) using BigInt.
-
setDeltaCrlIndicator(
{required int baseCrlNumber, bool critical = true}) → void - Sets Delta CRL indicator (RFC 5280) referencing base CRL number.
-
setDeltaCrlIndicatorBigInt(
{required BigInt baseCrlNumber, bool critical = true}) → void - Sets Delta CRL indicator (RFC 5280) using BigInt base CRL number.
-
setIssuerFromCertificate(
X509Certificate issuerCert) → void - Sets issuer name from certificate subject.
-
setIssuerName(
{String? commonName, String? organization, String? country, String? locality, String? state, String? unit}) → void - Sets issuer name from attributes.
-
setUpdateTimes(
{required DateTime thisUpdate, required DateTime nextUpdate}) → void - Sets lastUpdate (thisUpdate) and nextUpdate.
-
sign(
{required EvpPkey issuerKey, String hashAlgorithm = 'SHA256'}) → X509Crl - Signs the CRL and returns a managed wrapper.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited