X509Crl class
Wrapper around OpenSSL X509_CRL.
Properties
- baseCrlNumber → BigInt?
-
Base CRL number of the delta CRL indicator extension (2.5.29.27).
no setter
- crlNumber → BigInt?
-
CRL number extension (2.5.29.20).
no setter
-
handle
→ Pointer<
X509_CRL> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDeltaCrl → bool
-
Whether this CRL is a delta CRL, i.e. it carries a delta CRL indicator.
no setter
- isNull → bool
-
Returns true if the underlying pointer is null.
no setterinherited
- issuer → String
-
Issuer DN of this CRL, in the same format as X509Certificate.issuer.
no setter
- nextUpdate → DateTime?
-
Date by which the next CRL is expected (nextUpdate).
no setter
-
revokedEntries
→ List<
X509RevokedEntry> -
Every revoked entry, in the order the CRL lists them.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thisUpdate → DateTime?
-
Issue date of this CRL (thisUpdate, X509_CRL_get0_lastUpdate).
no setter
- version → int
-
CRL version: 1 for v1, 2 for v2 (the encoded value is zero-based).
no setter
Methods
-
attachFinalizer(
NativeFinalizer finalizer, Pointer< Void> token, {int? externalSize}) → void -
Attaches this Dart object to the native pointer so that
finalizercallsfreeFuncon_ptrwhen this object is GC'd.inherited -
dispose(
) → void -
Manually dispose the native object.
Note: The Finalizer must support detachment if we want to do this safely,
but NativeFinalizer automatically handles detached objects if we passed
detach: this.override -
isCertificateRevoked(
X509Certificate certificate) → bool - Convenience check using certificate serial number.
-
isExpired(
[DateTime? reference]) → bool -
Whether
reference(defaults to now) is past nextUpdate. -
isSerialRevoked(
int serialNumber) → bool -
Checks if
serialNumberappears in this CRL revoked entries. -
isSerialRevokedBigInt(
BigInt serialNumber) → bool -
Checks if
serialNumberappears in revoked entries. -
isSerialRevokedDecimal(
String serialNumberDecimal) → bool -
Checks if decimal
serialNumberDecimalappears in revoked entries. -
isSerialRevokedHex(
String serialHex) → bool -
Checks if hexadecimal
serialHexappears in revoked entries. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDer(
) → Uint8List - Encodes CRL to DER bytes.
-
toPem(
) → String - Encodes CRL to PEM.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited