Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

StreamSec.DSI.PkixCRL

Feature notes: PKIX / CMS implementation notes

Classes, interfaces and records

classeDSIPkixCRLIssuer

inherits from eDSIPkix

This CRL's issuer is not authoritative for the certificate under test: the issuers differ and the certificate delegates nothing to this CRL issuer through its CRLDistributionPoints (RFC 5280 sec. 4.2.1.13 / 5.1.2.1). Part of the PKIX branch of the DSI exception hierarchy (eDSIPkix, StreamSec.DSI.PkixSigned).

(no public members)

interfaceiCRLExtensions

(no public members)

interfaceiRevokedCertificate

(no public members)

interfaceiCRLExtnValue

(no public members)

interfaceiEntryExtnValue

(no public members)

interfaceiTBSCertList

inherits from iASN1CustomStruct

The parsed tbsCertList (to-be-signed CertificateList) body of an X.509 CRL, RFC 5280 section 5.1. An application walks this via iCertificateList.tbsCertList when it needs to inspect a CRL's raw fields directly (issuer, validity window, the revoked-entry list) rather than call the higher-level iCertificateList query methods (IsRevoked, GetCRLNumber, etc.) that already interpret them. Not client/server specific: it is plain PKIX data used the same way by any relying party (TLS client verifying a server chain or TLS server verifying a client chain in mTLS) and by CA-authoring code that just produced it via tCertificateList.RevokeCertificate.

function get_crlExtensions: iCRLExtensions;
backing getter for crlExtensions; apps read the property instead
function get_issuer: iName;
backing getter for issuer; apps read the property instead
function get_nextUpdate: iTime;
backing getter for nextUpdate; apps read the property instead
function get_revokedCertificates(aIndex: Integer): iRevokedCertificate;
backing getter for the indexed revokedCertificates property; apps use the property instead
function get_revokedCertificatesCount: Integer;
backing getter for revokedCertificatesCount; apps read the property instead
function get_signatureAlgorithm: iSignatureAlgorithmIdentifier;
backing getter for signatureAlgorithm; apps read the property instead
function get_thisUpdate: iTime;
backing getter for thisUpdate; apps read the property instead
function get_version: iASN1Integer;
backing getter for version; apps read the property instead
property version: iASN1Integer read get_version;
version of the encoded CRL: v1 (absent/0) or v2 (extensions present); relevant when deciding whether crlExtensions can be assumed populated.
property signatureAlgorithm: iSignatureAlgorithmIdentifier read get_signatureAlgorithm;
Algorithm identifier the CRL was (or will be) signed with; compare against the issuing CA's public key algorithm when hand-verifying a CRL outside the normal chain-validation path.
property issuer: iName read get_issuer;
The CRL issuer's distinguished name; a relying party matches this against a candidate CA's subject (see IsAllegedCRLIssuer) to decide whether the CRL applies to that CA.
property thisUpdate: iTime read get_thisUpdate;
CRL "effective as of" timestamp (thisUpdate, RFC 5280 5.1.2.4); together with nextUpdate this bounds the CRL's validity window used by freshness/staleness checks (e.g. IsCRLFresh in StreamSec.DSI.PkixKeyFilter.pas).
property nextUpdate: iTime read get_nextUpdate;
Optional "next publication expected" timestamp; absent for CRLs that are only ever reissued on demand. Full description »
property revokedCertificatesCount: Integer read get_revokedCertificatesCount;
Number of entries in the revokedCertificates list; iterate 0..Count-1 with revokedCertificates to scan every revocation record yourself instead of calling iCertificateList.IsRevoked for a single serial.
property revokedCertificates[aIndex: Integer]: iRevokedCertificate read get_revokedCertificates;
Indexed access to each revoked-certificate entry (serial + date + per-entry extensions); used when auditing or displaying a CRL's full contents rather than just testing one certificate.
property crlExtensions: iCRLExtensions read get_crlExtensions;
CRL-wide extensions (CRL number, delta-indicator, issuing distribution point, authority key id); iCertificateList's GetCRLNumber/GetBaseCRLNumber/IsAllegedCRLIssuer read these under the hood, so most applications go through those instead of this property directly.

classtTBSCertList

inherits from tASN1CustomStruct

implements iTBSCertList

property version: iASN1Integer read get_version; property signatureAlgorithm: iSignatureAlgorithmIdentifier read get_signatureAlgorithm; property issuer: iName read get_issuer; property thisUpdate: iTime read get_thisUpdate; property nextUpdate: iTime read get_nextUpdate; property revokedCertificatesCount: Integer read get_revokedCertificatesCount; property revokedCertificates[aIndex: Integer]: iRevokedCertificate read get_revokedCertificates; property crlExtensions: iCRLExtensions read get_crlExtensions;

interfaceiIssuingDistPointSyntax

inherits from iASN1CustomStruct

Decoded value of the IssuingDistributionPoint CRL extension (RFC 5280 section 5.2.5), reached via iCRLExtnValue.AsCeIssuingDistributionPoint. An application rarely builds one of these directly; it is mainly consulted by the trust-store's CRL-management logic (see AddCRL in StreamSec.Mobile.X509Comp.pas) to tell a full CRL apart from a partitioned or delta CRL scope and to decide which CRL supersedes another for a given CA. Same PKIX meaning on the TLS client (verifying a server chain) and the TLS server (verifying a client chain under mTLS) side.

function get_distributionPoint: iDistributionPointName;
backing getter for distributionPoint; apps read the property instead
function get_indirectCrl: Boolean;
backing getter for indirectCrl
function get_onlyContainsCacerts: Boolean;
backing getter for onlyContainsCacerts
function get_onlyContainsUserCerts: Boolean;
backing getter for onlyContainsUserCerts
function get_onlySomeReasons: tReasonFlags;
backing getter for onlySomeReasons
procedure set_indirectCrl(const aValue: Boolean);
backing setter for indirectCrl; only exercised by CA-side code authoring the issuingDistributionPoint scope, not by a relying party
procedure set_onlyContainsCacerts(const aValue: Boolean);
backing setter for onlyContainsCacerts; CA-authoring path only
procedure set_onlyContainsUserCerts(const aValue: Boolean);
backing setter for onlyContainsUserCerts; CA-authoring path only
procedure set_onlySomeReasons(const aValue: tReasonFlags);
backing setter for onlySomeReasons; CA-authoring path only
function CompareIssuingDistributionPoints(const aDistPoint: iIssuingDistPointSyntax): Integer;
Compares this scope against aDistPoint (same distribution point, cert-type flags, and reason coverage) to decide whether one CRL's scope subsumes another's; used by AddCRL to detect a superseding CRL for the same CA.
property distributionPoint: iDistributionPointName read get_distributionPoint;
Names the specific distribution point this CRL covers, when the CA partitions revocations across several CRLs instead of publishing one CRL per CA.
property onlyContainsUserCerts: Boolean read get_onlyContainsUserCerts write set_onlyContainsUserCerts;
True if this CRL only lists revoked end-entity (non-CA) certificates; narrows which certificates a relying party should even check against it.
property onlyContainsCacerts: Boolean read get_onlyContainsCacerts write set_onlyContainsCacerts;
True if this CRL only lists revoked CA certificates.
property onlySomeReasons: tReasonFlags read get_onlySomeReasons write set_onlySomeReasons;
Bitmask of revocation reasons this (partial) CRL covers; a relying party must consult other CRLs for reasons not included here.
property indirectCrl: Boolean read get_indirectCrl write set_indirectCrl;
True if entries in this CRL may have been revoked by an authority other than the CRL issuer (indirect CRL, RFC 5280 5.3.3); when set, per-entry certificateIssuer extensions (iEntryExtnValue.AsCeCertificateIssuer) must be checked rather than assuming the CRL's own issuer.

classtIssuingDistPointSyntax

inherits from tASN1CustomStruct

implements iIssuingDistPointSyntax

function CompareIssuingDistributionPoints(const aDistPoint: iIssuingDistPointSyntax): Integer; property distributionPoint: iDistributionPointName read get_distributionPoint; property onlyContainsUserCerts: Boolean read get_onlyContainsUserCerts write set_onlyContainsUserCerts; property onlyContainsCacerts: Boolean read get_onlyContainsCacerts write set_onlyContainsCacerts; property onlySomeReasons: tReasonFlags read get_onlySomeReasons write set_onlySomeReasons; property indirectCrl: Boolean read get_indirectCrl write set_indirectCrl;

interfaceiCRLExtension

inherits from iASN1CustomStruct

One raw CRL-wide extension entry (an ASN.1 extnId/critical/extnValue triple, mirroring the per-certificate iExtension pattern but for a CRL's tbsCertList.crlExtensions). An application normally reaches the decoded value via iCertificateList/iTBSCertList.crlExtensions.UniqueItems, which hides this record; use this interface directly only when walking every extension present on a CRL rather than looking up one you already know the OID of. Same on TLS client and server, since CRL parsing is protocol-neutral PKIX code.

function get_critical: Boolean;
backing getter for critical
function get_extnId: ObjectIdentifier;
backing getter for extnId
function get_extnValue: iCRLExtnValue;
backing getter for extnValue
procedure set_critical(const aValue: Boolean);
backing setter for critical; only a CA authoring a CRL sets this
procedure set_extnId(const aValue: ObjectIdentifier);
backing setter for extnId; only a CA authoring a CRL sets this
property extnId: ObjectIdentifier read get_extnId write set_extnId;
Object identifier naming which extension this is (e.g. id-ce-cRLNumber); check this before dereferencing extnValue's specific As... property.
property critical: Boolean read get_critical write set_critical;
Per RFC 5280, an unrecognized critical extension must cause the whole CRL to be rejected by a strict validator; non-critical unknown extensions may be ignored.
property extnValue: iCRLExtnValue read get_extnValue;
The decoded extension payload (see iCRLExtnValue.Choice/AsCe... to interpret it).

classtCRLExtension

inherits from tASN1CustomStruct

implements iCRLExtension

property extnId: ObjectIdentifier read get_extnId write set_extnId; property critical: Boolean read get_critical write set_critical; property extnValue: iCRLExtnValue read get_extnValue;

interfaceiCRLExtensions

inherits from iASN1CustomStruct

The CRL-wide extensions collection, reached via iTBSCertList.crlExtensions or iCertificateList.tbsCertList.crlExtensions. Applications almost always go through the UniqueItems default property (e.g. as GetCRLNumber and GetBaseCRLNumber do internally) rather than scanning Items by position.

function get_Items(aIndex: Integer): iCRLExtension;
backing getter for the positional Items property
function get_UniqueItems(aIndex: tCRLExtnValueEnum): iCRLExtnValue;
backing getter for UniqueItems; finds (or, on a writable struct, adds) the extension of the requested kind
property Items[aIndex: Integer]: iCRLExtension read get_Items;
Positional access to the raw extension entries, in encoded order; use when enumerating everything present rather than looking up a known extension type.
property UniqueItems[aIndex: tCRLExtnValueEnum]: iCRLExtnValue read get_UniqueItems; default;
Looks up (and, if absent, creates on the writable/read-only-false struct) the single extension of the given kind by tCRLExtnValueEnum; this is how GetCRLNumber, GetBaseCRLNumber and IsAllegedCRLIssuer find id-ce-cRLNumber/id-ce-deltaCRLIndicator/id-ce-authorityKeyIdentifier.

classtCRLExtensions

inherits from tASN1CustomOFStruct

implements iCRLExtensions

property Items[aIndex: Integer]: iCRLExtension read get_Items; property UniqueItems[aIndex: tCRLExtnValueEnum]: iCRLExtnValue read get_UniqueItems; default;

interfaceiEntryExtension

inherits from iASN1CustomStruct

The per-revoked-certificate counterpart of iCRLExtension: one extension entry attached to a single iRevokedCertificate.crlEntryExtensions item (e.g. reasonCode, invalidityDate, certificateIssuer for an indirect CRL entry) rather than to the CRL as a whole. Same PKIX meaning regardless of which side (TLS client or server) is doing the revocation check.

function get_critical: Boolean;
backing getter for critical
function get_extnId: ObjectIdentifier;
backing getter for extnId
function get_extnValue: iEntryExtnValue;
backing getter for extnValue
procedure set_critical(const aValue: Boolean);
backing setter for critical; only a CA authoring a revoked-cert entry sets this
procedure set_extnId(const aValue: ObjectIdentifier);
backing setter for extnId; only a CA authoring a revoked-cert entry sets this
property extnId: ObjectIdentifier read get_extnId write set_extnId;
Object identifier for this per-entry extension (e.g. id-ce-reasonCode, id-ce-certificateIssuer).
property critical: Boolean read get_critical write set_critical;
Whether an unrecognized instance of this extension must cause the entry (and per RFC 5280 arguably the whole CRL) to be treated as unusable by a strict validator.
property extnValue: iEntryExtnValue read get_extnValue;
The decoded per-entry extension payload; see iEntryExtnValue.Choice/AsCe... to interpret it.

classtEntryExtension

inherits from tASN1CustomStruct

implements iEntryExtension

property extnId: ObjectIdentifier read get_extnId write set_extnId; property critical: Boolean read get_critical write set_critical; property extnValue: iEntryExtnValue read get_extnValue;

interfaceiEntryExtensions

inherits from iASN1CustomStruct

A single revoked-certificate entry's extensions collection (reached via iRevokedCertificate.crlEntryExtensions). Application code that just wants the reason/date for one entry typically uses the UniqueItems default property, exactly as tCertificateList.IsRevoked and RevokeCertificate do internally to read/write reasonCode, invalidityDate and certificateIssuer.

function get_Items(aIndex: Integer): iEntryExtension;
backing getter for the positional Items property
function get_UniqueItems(aIndex: tEntryExtnValueEnum): iEntryExtnValue;
backing getter for UniqueItems; finds (or, on a writable struct, adds) the per-entry extension of the requested kind
property Items[aIndex: Integer]: iEntryExtension read get_Items;
Positional access to this entry's raw extension list, in encoded order.
property UniqueItems[aIndex: tEntryExtnValueEnum]: iEntryExtnValue read get_UniqueItems; default;
Looks up (or creates) the single extension of the given kind for this revoked-certificate entry by tEntryExtnValueEnum; this is what RevokeCertificate uses to set reasonCode/invalidityDate/certificateIssuer and what IsRevoked uses to read certificateIssuer back for indirect-CRL matching.

classtEntryExtensions

inherits from tASN1CustomOFStruct

implements iEntryExtensions

property Items[aIndex: Integer]: iEntryExtension read get_Items; property UniqueItems[aIndex: tEntryExtnValueEnum]: iEntryExtnValue read get_UniqueItems; default;

interfaceiRevokedCertificate

inherits from iASN1CustomStruct

One entry in a CRL's revokedCertificates list. An application obtains these via iTBSCertList.revokedCertificates (indexed) rather than constructing them; tCertificateList.IsRevoked scans exactly this collection by userCertificate serial number to answer whether a given certificate is revoked, and RevokeCertificate appends a new entry here when acting as the CA that maintains the CRL. Identical meaning on either side of a TLS handshake, since revocation status is a plain PKIX fact about a certificate, not something specific to client or server.

function get_crlEntryExtensions: iEntryExtensions;
backing getter for crlEntryExtensions
function get_revocationDate: iTime;
backing getter for revocationDate
function get_userCertificate: iASN1Integer;
backing getter for userCertificate
property userCertificate: iASN1Integer read get_userCertificate;
Serial number of the revoked certificate; this is the field IsRevoked compares against the certificate under test.
property revocationDate: iTime read get_revocationDate;
Timestamp the certificate was revoked (or is deemed revoked from), set by RevokeCertificate to the current time when adding the entry.
property crlEntryExtensions: iEntryExtensions read get_crlEntryExtensions;
Per-entry extensions (reason, invalidity date, issuing CA for indirect CRLs); see iEntryExtensions.UniqueItems.

classtRevokedCertificate

inherits from tASN1CustomStruct

implements iRevokedCertificate

property userCertificate: iASN1Integer read get_userCertificate; property revocationDate: iTime read get_revocationDate; property crlEntryExtensions: iEntryExtensions read get_crlEntryExtensions;

classtSequenceOfRevokedCertificate

inherits from tASN1CustomOFStruct

(no public members)

interfaceiCertificateList

inherits from iSigned

A decoded (and, on the CA-authoring side, signable) X.509 CRL (CertificateList, RFC 5280 section 5.1). This is the interface an application actually uses: iCertificateList.IsRevoked/GetCRLNumber/ IsAllegedCRLIssuer are how a relying party's trust store checks revocation (see AddCRL/IsRevoked in StreamSec.Mobile.X509Comp.pas, which is shared, protocol-neutral chain-validation code invoked identically whether the app is a TLS client verifying a server chain or a TLS server verifying a client chain under mTLS), while RevokeCertificate is only meaningful for code that plays the CA role and maintains its own CRL (see TstX509TrustedCertificates.RevokeCertificate in stX509.pas). Being iSigned, an iCertificateList also has to be signed (or its signature verified) like any other PKIX signed structure.

function get_tbsCertList: iTBSCertList;
backing getter for tbsCertList; internal wiring, apps read the tbsCertList property
function GetCRLNumber: Int64;
Reads the id-ce-cRLNumber extension (or -1 if absent); used together with GetBaseCRLNumber by the trust store's AddCRL to detect which of several CRLs from the same issuer is the most current (RFC 5280 5.2.3).
function GetBaseCRLNumber: Int64;
Reads the id-ce-deltaCRLIndicator extension (or -1 if this is not a delta CRL); a delta CRL's BaseCRLNumber names the full CRL it is an update to, per RFC 5280 5.2.4.
function IsAllegedCRLIssuer(const aCACert: iCertificate): Boolean;
True if this CRL's issuer name (and, if present, its authorityKeyIdentifier) matches aCACert, i.e. this CRL could plausibly have been issued by that CA; a relying party uses this to shortlist candidate CRLs for a certificate before calling IsRevoked.
function IsRevoked(const aCert: iCertificate): Integer;
Returns the index into tbsCertList.revokedCertificates if aCert's serial number appears in this CRL (matching indirect-CRL issuer extensions when needed), or a negative value if not found; this is the actual revocation check a relying party calls during chain validation.
procedure RevokeCertificate(const aCert : iCertificate; aReason : tCRLReason; aHoldInstruction: ObjectIdentifier; aInvalidityDate : TDateTime); overload;
CA-authoring operation: appends a new revoked-certificate entry for aCert with an explicit reason/hold-instruction/invalidity-date, then the CRL must be (re)signed; only meaningful for application code acting as the certificate authority, not for a plain TLS client or server verifying peers.
procedure RevokeCertificate(const aCert: iCertificate); overload;
CA-authoring operation: same as the 4-argument overload but without a specific reason/hold-instruction/invalidity-date recorded.
property tbsCertList: iTBSCertList read get_tbsCertList;
The decoded tbsCertList body (issuer, validity window, revoked entries, CRL extensions); most callers use the higher-level methods above instead of walking this directly.

classtCertificateList

inherits from tSigned

implements iCertificateList

function GetCRLNumber: Int64; function GetBaseCRLNumber: Int64; function IsAllegedCRLIssuer(const aCACert: iCertificate): Boolean; function IsRevoked(const aCert: iCertificate): Integer; procedure RevokeCertificate(const aCert : iCertificate; aReason : tCRLReason; aHoldInstruction: ObjectIdentifier; aInvalidityDate : TDateTime); overload; procedure RevokeCertificate(const aCert: iCertificate); overload; property tbsCertList: iTBSCertList read get_tbsCertList;

interfaceiCRLExtnValue

inherits from iASN1CustomInstance

A CHOICE-typed decoded value for one CRL-wide extension (reached via iCRLExtension.extnValue or, more commonly, iCRLExtensions.UniqueItems); exactly one of the AsCe... properties is meaningful at a time, selected by Choice/the extension's OID. Application code normally goes through UniqueItems (which both selects and decodes in one step) rather than inspecting Choice manually. Same on TLS client or server; this is protocol-neutral PKIX CRL parsing.

function get_AsCeAuthorityKeyIdentifier: iAuthorityKeyIdentifier;
backing getter; also selects the authorityKeyIdentifier arm
function get_AsCeCrlnumber: iASN1Integer;
backing getter; also selects the cRLNumber arm
function get_AsCeDeltaCrlindicator: iASN1Integer;
backing getter; also selects the deltaCRLIndicator arm
function get_AsCeIssuerAltName: iGeneralNames;
backing getter; also selects the issuerAltName arm
function get_AsCeIssuingDistributionPoint: iIssuingDistPointSyntax;
backing getter; also selects the issuingDistributionPoint arm
function get_Choice: tCRLExtnValueEnum;
backing getter for Choice
procedure set_Choice(const aValue: tCRLExtnValueEnum);
backing setter for Choice; cvUndefined is ignored
property Choice: tCRLExtnValueEnum read get_Choice write set_Choice;
Which of the AsCe... variants is currently populated; set this (or use UniqueItems, which sets it for you) before writing a new extension into a CRL you are building.
property AsCeAuthorityKeyIdentifier: iAuthorityKeyIdentifier read get_AsCeAuthorityKeyIdentifier;
id-ce-authorityKeyIdentifier: identifies the issuing CA's key; IsAllegedCRLIssuer compares this against the candidate CA's subject key identifier to confirm the CRL belongs to that CA.
property AsCeIssuerAltName: iGeneralNames read get_AsCeIssuerAltName;
id-ce-issuerAltName: alternative names for the CRL issuer, mirroring a certificate's subjectAltName but for the entity that issued this CRL.
property AsCeCrlnumber: iASN1Integer read get_AsCeCrlnumber;
id-ce-cRLNumber: monotonically increasing sequence number for this CRL; read via iCertificateList.GetCRLNumber rather than here directly in most code.
property AsCeDeltaCrlindicator: iASN1Integer read get_AsCeDeltaCrlindicator;
id-ce-deltaCRLIndicator: marks this CRL as a delta CRL and names the base full CRL's number; read via iCertificateList.GetBaseCRLNumber in most code.
property AsCeIssuingDistributionPoint: iIssuingDistPointSyntax read get_AsCeIssuingDistributionPoint;
id-ce-issuingDistributionPoint: scopes this CRL to a distribution point / cert-type / reason subset; see iIssuingDistPointSyntax for how the trust store uses this to compare CRLs.

classtCRLExtnValue

property Choice: tCRLExtnValueEnum read get_Choice write set_Choice; property AsCeAuthorityKeyIdentifier: iAuthorityKeyIdentifier read get_AsCeAuthorityKeyIdentifier implements iAuthorityKeyIdentifier; property AsCeIssuerAltName: iGeneralNames read get_AsCeIssuerAltName implements iGeneralNames; property AsCeCrlnumber: iASN1Integer read get_AsCeCrlnumber; property AsCeDeltaCrlindicator: iASN1Integer read get_AsCeDeltaCrlindicator; property AsCeIssuingDistributionPoint: iIssuingDistPointSyntax read get_AsCeIssuingDistributionPoint implements iIssuingDistPointSyntax;

classtCRLReasonEnum

inherits from tASN1Enumerated

(no public members)

classtCRLExtnValueInformationObject

inherits from tASN1TypeIdentifier

(no public members)

interfaceiEntryExtnValue

inherits from iASN1CustomInstance

The CHOICE-typed decoded value for one per-entry (revoked-certificate) extension, reached via iEntryExtension.extnValue or, more commonly, iEntryExtensions.UniqueItems. tCertificateList.RevokeCertificate writes AsCeReasonCode/AsCeInvalidityDate/AsCeCertificateIssuer here when a CA application revokes a certificate; IsRevoked reads AsCeCertificateIssuer back when matching entries in an indirect CRL. Same meaning regardless of whether the consuming code is a TLS client or server.

function get_AsCeCertificateIssuer: iGeneralNames;
backing getter; also selects the certificateIssuer arm
function get_AsCeInstructionCode: ObjectIdentifier;
backing getter; also selects the instructionCode arm
function get_AsCeInvalidityDate: tDateTime;
backing getter; also selects the invalidityDate arm
function get_AsCeReasonCode: tCRLReason;
backing getter; also selects the reasonCode arm
function get_Choice: tEntryExtnValueEnum;
backing getter for Choice
procedure set_AsCeInstructionCode(const aValue: ObjectIdentifier);
backing setter for the instructionCode arm; CA-authoring path only
procedure set_AsCeInvalidityDate(const aValue: tDateTime);
backing setter for the invalidityDate arm; driven by RevokeCertificate on the CA side
procedure set_AsCeReasonCode(const aValue: tCRLReason);
backing setter for the reasonCode arm; driven by RevokeCertificate on the CA side
procedure set_Choice(const aValue: tEntryExtnValueEnum);
backing setter for Choice
property Choice: tEntryExtnValueEnum read get_Choice write set_Choice;
Which of the AsCe... variants is populated; UniqueItems sets this for you, so most code never touches it directly.
property AsCeReasonCode: tCRLReason read get_AsCeReasonCode write set_AsCeReasonCode;
id-ce-reasonCode: why the certificate was revoked (tCRLReason); set by RevokeCertificate's 4-argument overload.
property AsCeInstructionCode: ObjectIdentifier read get_AsCeInstructionCode write set_AsCeInstructionCode;
id-ce-instructionCode: an OID naming an action to take on encountering this revocation (e.g. hold instructions). Read/write accessor for the extension value; note that RevokeCertificate's aHoldInstruction argument is not actually stored here by the current implementation, so a CA authoring a hold-instruction entry must set this property itself.
property AsCeInvalidityDate: tDateTime read get_AsCeInvalidityDate write set_AsCeInvalidityDate;
id-ce-invalidityDate: when the key is believed to have been compromised or the certificate otherwise became invalid, which may predate revocationDate; set by RevokeCertificate's aInvalidityDate argument.
property AsCeCertificateIssuer: iGeneralNames read get_AsCeCertificateIssuer;
id-ce-certificateIssuer: names the actual issuing CA of this entry when the CRL is an indirect CRL (iIssuingDistPointSyntax.indirectCrl) covering certificates from more than one issuer; IsRevoked checks this to confirm an entry really applies to the certificate being tested.

classtEntryExtnValue

property Choice: tEntryExtnValueEnum read get_Choice write set_Choice; property AsCeReasonCode: tCRLReason read get_AsCeReasonCode write set_AsCeReasonCode; property AsCeInstructionCode: ObjectIdentifier read get_AsCeInstructionCode write set_AsCeInstructionCode; property AsCeInvalidityDate: tDateTime read get_AsCeInvalidityDate write set_AsCeInvalidityDate; property AsCeCertificateIssuer: iGeneralNames read get_AsCeCertificateIssuer implements iGeneralNames;

classtEntryExtnValueInformationObject

inherits from tASN1TypeIdentifier

(no public members)

Types (enumerations, sets, aliases)

enumtCRLExtnValueEnum

  tCRLExtnValueEnum = (cvUndefined,
                       cvCeAuthorityKeyIdentifier,
                       cvCeIssuerAltName,
                       cvCeCRlnumber,
                       cvCeDeltaCrlindicator,
                       cvCeIssuingDistributionPoint);

enumtEntryExtnValueEnum

  tEntryExtnValueEnum = (eeUndefined,
                         eeCeReasonCode,
                         eeCeInstructionCode,
                         eeCeInvalidityDate,
                         eeCeCertificateIssuer);

enumtCRLReason

  tCRLReason = (CrlUnused0,
                CrlKeyCompromise,
                CrlCACompromise,
                CrlAffiliationChanged,
                CrlSuperseded,
                CrlCessationOfOperation,
                CrlCertificateHold,
                CrlUnused7,
                CrlRemoveFromCRL,
                // RFC 5280 sec.5.3.1 defines two further reason codes. They were
                // missing here, so the derived ENUMERATED range stopped at 8 and a
                // CRL entry carrying reason 9 or 10 (real CAs use privilegeWithdrawn
                // - e.g. DigiCert) failed to parse with "Value is too large for
                // transform", surfacing as a fatal certificate_unknown. Appended at
                // the end so existing ordinals 0..8 are unchanged.
                CrlPrivilegeWithdrawn,   // 9
                CrlAACompromise);        // 10

Routines