Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

stPkixQcs

Feature notes: PKIX / CMS implementation notes

Classes, interfaces and records

interfaceiIso4217CurrencyCode

(no public members)

interfaceiQCStatementInfo

(no public members)

interfaceiNameRegistrationAuthorities

inherits from iASN1CustomStruct

RFC 3739 SemanticsInformation.nameRegistrationAuthorities: a SEQUENCE OF GeneralName naming the registration authority (or authorities) responsible for the subject identifiers in a qualified certificate. An application reads this while inspecting a certificate's id-pe-qcStatements extension to learn which authority vouches for the subject's registered name; it is the same on both sides of a protocol, since it is certificate content, not a negotiated value.

function get_Items(aIndex: Integer): iGeneralName;
Getter for Items; see the property below.
function get_UniqueItems(aIndex: tGeneralNameEnum): iGeneralName;
Getter for UniqueItems; see the property below.
property Items[aIndex: Integer]: iGeneralName read get_Items;
Positional access to the registration authorities: Items[0], Items[1], ... in the order they were decoded. Use this when enumerating every listed authority as an application walks the SEQUENCE.
property UniqueItems[aIndex: tGeneralNameEnum]: iGeneralName read get_UniqueItems; default;
Selects the first authority of a given GeneralName kind (e.g. an rfc822 e-mail address or a URI), adding an empty one if none is present. Use this when your app wants a specific representation of the authority rather than iterating positionally; note it may mutate the structure by adding a slot.

classtNameRegistrationAuthorities

inherits from tASN1CustomOFStruct

implements iNameRegistrationAuthorities

property Items[aIndex: Integer]: iGeneralName read get_Items; property UniqueItems[aIndex: tGeneralNameEnum]: iGeneralName read get_UniqueItems; default;

interfaceiQcEuLimitValue

inherits from iASN1CustomStruct

ETSI QcEuLimitValue (id-etsi-qcs-QcLimitValue) monetary limit carried in a qualified certificate's QCStatements extension: the maximum value of a transaction for which the certificate may be relied upon. The value equals amount times ten raised to the exponent, expressed in the given currency (e.g. amount=100, exponent=2, currency EUR = 10000 EUR). An application uses this after decoding a QCStatement of choice qiEtsiQcsQcLimitValue to enforce or display that reliance limit; it is certificate content, identical for the verifier and any other party inspecting the certificate.

function get_amount: iASN1Integer;
Getter for amount; see the property below.
function get_currency: iIso4217CurrencyCode;
Getter for currency; see the property below.
function get_exponent: iASN1Integer;
Getter for exponent; see the property below.
property currency: iIso4217CurrencyCode read get_currency;
The ISO 4217 currency (alphabetic code such as EUR, or numeric code) in which the limit is denominated. Read it together with amount/exponent to present the reliance limit to a user or policy check.
property amount: iASN1Integer read get_amount;
The mantissa of the limit value; the effective limit is amount * 10^exponent. Access as an ASN.1 INTEGER so arbitrarily large limits are preserved.
property exponent: iASN1Integer read get_exponent;
The base-ten exponent applied to amount to obtain the effective limit.

classtQcEuLimitValue

inherits from tASN1CustomStruct

implements iQcEuLimitValue

property currency: iIso4217CurrencyCode read get_currency; property amount: iASN1Integer read get_amount; property exponent: iASN1Integer read get_exponent;

interfaceiSemanticsInformation

inherits from iASN1CustomStruct

RFC 3739 SemanticsInformation SEQUENCE: the statementInfo detail of a PKIX QCSyntax qualified-certificate statement (id-qcs-pkixQCSyntax-v1 or -v2). It pairs an optional semanticsIdentifier OID, naming the profile that defines how the certificate's subject identifiers are to be interpreted, with an optional list of name-registration authorities. An application reaches this through iQCStatementInfo.AsQcsPkixQcsyntaxV1/V2 while inspecting a certificate's id-pe-qcStatements extension; it is certificate content, so it reads the same on both sides of a protocol, and only a CA populates it when issuing a certificate.

function get_nameRegistrationAuthorities: iNameRegistrationAuthorities;
Getter for nameRegistrationAuthorities; see the property below.
function get_semanticsIndentifier: ObjectIdentifier;
Getter for semanticsIndentifier; see the property below.
procedure set_semanticsIndentifier(const aValue: ObjectIdentifier);
Setter for semanticsIndentifier; see the property below.
property semanticsIndentifier: ObjectIdentifier read get_semanticsIndentifier write set_semanticsIndentifier;
The OID naming the semantics profile that governs how the subject's identifiers in the certificate are to be understood. Read it while inspecting a certificate to learn which naming scheme applies; a CA assigns it when building the statement. (Spelled semanticsIndentifier, matching the ASN.1 field name.)
property nameRegistrationAuthorities: iNameRegistrationAuthorities read get_nameRegistrationAuthorities;
The optional list of GeneralNames identifying the authorities that registered the subject's name. Read it after semanticsIndentifier to learn which authority vouches for the registered identifiers; certificate content, identical on both protocol sides.

classtSemanticsInformation

inherits from tASN1CustomStruct

implements iSemanticsInformation

property semanticsIndentifier: ObjectIdentifier read get_semanticsIndentifier write set_semanticsIndentifier; property nameRegistrationAuthorities: iNameRegistrationAuthorities read get_nameRegistrationAuthorities;

interfaceiQCStatement

inherits from iASN1CustomStruct

RFC 3739 QCStatement: one entry of a qualified-certificate's id-pe-qcStatements extension, a SEQUENCE pairing a statement OID with an optional, OID-specific statementInfo value. An application walks a certificate's iQCStatements list and, for each iQCStatement, reads statementId to learn which assertion the CA made (e.g. QcCompliance, QcLimitValue, PkixQCSyntax) and statementInfo for its detail. This is certificate content, so it reads the same on the client and server sides of a protocol; only a CA issuing certificates assigns statementId.

function get_statementId: ObjectIdentifier;
Getter for statementId; see the property below.
function get_statementInfo: iQCStatementInfo;
Getter for statementInfo; see the property below.
procedure set_statementId(const aValue: ObjectIdentifier);
Setter for statementId; see the property below.
property statementId: ObjectIdentifier read get_statementId write set_statementId;
The OID naming this qualified-certificate statement (e.g. 0.4.0.1862.1.1 for ETSI QcCompliance, 1.3.6.1.5.5.7.11.1 for PKIX QCSyntax-v1). Read it to identify the assertion when inspecting a certificate; a CA building a certificate assigns it to declare the statement, which also determines how statementInfo is interpreted.
property statementInfo: iQCStatementInfo read get_statementInfo;
The optional detail value carried by this statement, typed per statementId (a limit value, retention period, SSCD flag or SemanticsInformation). Read it after statementId to obtain the statement's parameters; nil / absent for statements that carry no information (such as QcCompliance). Certificate content, identical on both protocol sides.

classtQCStatement

inherits from tASN1CustomStruct

implements iQCStatement

property statementId: ObjectIdentifier read get_statementId write set_statementId; property statementInfo: iQCStatementInfo read get_statementInfo;

interfaceiQCStatements

inherits from iASN1CustomStruct

RFC 3739 QCStatements: the whole content of a qualified certificate's id-pe-qcStatements extension, a SEQUENCE OF QCStatement. This is the top-level object an application obtains from the extension; it walks Items to read each iQCStatement (statement OID plus optional detail), or uses UniqueItems to fetch a statement by the kind of detail it carries. Certificate content, so it reads identically on both sides of a protocol; only a CA assembles it when issuing a certificate.

function get_Items(aIndex: Integer): iQCStatement;
Getter for Items; see the property below.
function get_UniqueItems(aIndex: tQCStatementInfoEnum): iQCStatementInfo;
Getter for UniqueItems; see the property below.
property Items[aIndex: Integer]: iQCStatement read get_Items;
Positional access to the statements: Items[0], Items[1], ... in the order they were decoded. Use this when enumerating every QCStatement present as an application walks the extension.
property UniqueItems[aIndex: tQCStatementInfoEnum]: iQCStatementInfo read get_UniqueItems; default;
Selects the statement carrying a given statement-info kind (e.g. qiEtsiQcsQcLimitValue) and returns its iQCStatementInfo, adding an empty statement of that kind if none is present. Use this when your app wants one specific statement rather than iterating positionally; note it may mutate the structure by adding a slot, which suits building a certificate.

classtQCStatements

inherits from tASN1CustomOFStruct

implements iQCStatements

property Items[aIndex: Integer]: iQCStatement read get_Items; property UniqueItems[aIndex: tQCStatementInfoEnum]: iQCStatementInfo read get_UniqueItems; default;

interfaceiIso4217CurrencyCode

inherits from iASN1CustomChoice

RFC 3739 Iso4217CurrencyCode CHOICE: the currency of a QcEuLimitValue, expressed either as an ISO 4217 alphabetic code (a 3-letter PrintableString such as EUR) or as the ISO 4217 numeric code (an INTEGER such as 978). An application reading a QcEuLimitValue inspects Choice to see which form the certificate used, then reads the matching AsAlphabetic/AsNumeric; when building a certificate it sets one of them, which selects the CHOICE alternative. Certificate content, so identical for every party.

function get_AsAlphabetic: string;
Getter for AsAlphabetic; see the property below.
function get_AsNumeric: Integer;
Getter for AsNumeric; see the property below.
function get_Choice: tIso4217CurrencyCodeEnum;
Getter for Choice; see the property below.
procedure set_AsAlphabetic(const aValue: string);
Setter for AsAlphabetic; see the property below.
procedure set_AsNumeric(const aValue: Integer);
Setter for AsNumeric; see the property below.
procedure set_Choice(const aValue: tIso4217CurrencyCodeEnum);
Setter for Choice; see the property below.
property Choice: tIso4217CurrencyCodeEnum read get_Choice write set_Choice;
Which alternative of the CHOICE is active: icAlphabetic or icNumeric (or icUndefined before either has been selected). Read it to decide whether to use AsAlphabetic or AsNumeric; assigning it selects that alternative.
property AsAlphabetic: string read get_AsAlphabetic write set_AsAlphabetic;
The 3-letter ISO 4217 alphabetic currency code (e.g. EUR). Reading it selects the alphabetic alternative and returns its string; assigning it switches the CHOICE to the alphabetic form and stores the code.
property AsNumeric: Integer read get_AsNumeric write set_AsNumeric;
The ISO 4217 numeric currency code (e.g. 978 for EUR). Reading it selects the numeric alternative; assigning it switches the CHOICE to the numeric form. Use this instead of AsAlphabetic when the certificate encodes the currency numerically.

classtIso4217CurrencyCode

inherits from tASN1CustomChoice

implements iIso4217CurrencyCode

property Choice: tIso4217CurrencyCodeEnum read get_Choice write set_Choice; property AsAlphabetic: string read get_AsAlphabetic write set_AsAlphabetic; property AsNumeric: Integer read get_AsNumeric write set_AsNumeric;

interfaceiQCStatementInfo

inherits from iASN1CustomInstance

The statementInfo detail of an iQCStatement, modelled as an information-object CHOICE keyed by the statement's OID. It surfaces each known qualified-certificate statement type through its own As... accessor; reading one selects that alternative, and Choice reports which one is active. An application uses this after reading iQCStatement.statementId to obtain the typed parameters of the statement. It is certificate content, so it reads identically on both protocol sides; only a CA populates it when issuing a certificate.

function get_AsEtsiQcsQcLimitValue: iQcEuLimitValue;
Getter for AsEtsiQcsQcLimitValue; see the property below.
function get_AsEtsiQcsQcRetentionPeriod: iASN1Integer;
Getter for AsEtsiQcsQcRetentionPeriod; see the property below.
function get_AsEtsiQcsQcSscd: iASN1CustomStruct;
Getter for AsEtsiQcsQcSscd; see the property below.
function get_AsQcsPkixQcsyntaxV1: iSemanticsInformation;
Getter for AsQcsPkixQcsyntaxV1; see the property below.
function get_AsQcsPkixQcsyntaxV2: iSemanticsInformation;
Getter for AsQcsPkixQcsyntaxV2; see the property below.
function get_Choice: tQCStatementInfoEnum;
Getter for Choice; see the property below.
procedure set_Choice(const aValue: tQCStatementInfoEnum);
Setter for Choice; see the property below.
property Choice: tQCStatementInfoEnum read get_Choice write set_Choice;
Which statement-info alternative is active: one of qiQcsPkixQcsyntaxV1, qiQcsPkixQcsyntaxV2, qiEtsiQcsQcLimitValue, qiEtsiQcsQcRetentionPeriod, qiEtsiQcsQcSscd (or qiUndefined before any is selected). Read it to decide which As... accessor to use when inspecting a certificate; assigning it selects that alternative when building one.
property AsQcsPkixQcsyntaxV1: iSemanticsInformation read get_AsQcsPkixQcsyntaxV1;
The RFC 3739 PKIX SemanticsInformation (v1, OID 1.3.6.1.5.5.7.11.1) carried by this statement. Reading it selects that alternative and returns the semantics identifier plus name-registration authorities; use it when statementId is id-qcs-pkixQCSyntax-v1.
property AsQcsPkixQcsyntaxV2: iSemanticsInformation read get_AsQcsPkixQcsyntaxV2;
The PKIX SemanticsInformation for QCSyntax v2 (OID 1.3.6.1.5.5.7.11.2). Reading it selects that alternative; use it when statementId is id-qcs-pkixQCSyntax-v2.
property AsEtsiQcsQcLimitValue: iQcEuLimitValue read get_AsEtsiQcsQcLimitValue;
The ETSI QcEuLimitValue alternative: the monetary transaction limit the certificate is qualified for, as a currency plus amount/exponent. Reading it selects the corresponding CHOICE alternative (by fixed index) and returns the value as iQcEuLimitValue; an application uses it to enforce a value cap on transactions signed with the cert.
property AsEtsiQcsQcRetentionPeriod: iASN1Integer read get_AsEtsiQcsQcRetentionPeriod;
The ETSI QcRetentionPeriod alternative: the number of years after certificate expiry that the CA retains registration material, exposed as an ASN.1 INTEGER. Reading it selects the corresponding CHOICE alternative (by fixed index).
property AsEtsiQcsQcSscd: iASN1CustomStruct read get_AsEtsiQcsQcSscd;
The ETSI QcSSCD alternative: its mere presence asserts the private key resides in a secure signature-creation device; the value is an (empty) structure exposed as iASN1CustomStruct. Reading it selects the corresponding CHOICE alternative (by fixed index).

classtQCStatementInfo

property Choice: tQCStatementInfoEnum read get_Choice write set_Choice; property AsQcsPkixQcsyntaxV1: iSemanticsInformation read get_AsQcsPkixQcsyntaxV1 implements iSemanticsInformation; property AsQcsPkixQcsyntaxV2: iSemanticsInformation read get_AsQcsPkixQcsyntaxV2; property AsEtsiQcsQcLimitValue: iQcEuLimitValue read get_AsEtsiQcsQcLimitValue implements iQcEuLimitValue; property AsEtsiQcsQcRetentionPeriod: iASN1Integer read get_AsEtsiQcsQcRetentionPeriod; property AsEtsiQcsQcSscd: iASN1CustomStruct read get_AsEtsiQcsQcSscd;

classtQCStatementInfoInformationObject

inherits from tASN1TypeIdentifier

(no public members)

Types (enumerations, sets, aliases)

enumtIso4217CurrencyCodeEnum

  tIso4217CurrencyCodeEnum = (icUndefined,
                              icAlphabetic,
                              icNumeric);

enumtQCStatementInfoEnum

  tQCStatementInfoEnum = (qiUndefined,
                          qiQcsPkixQcsyntaxV1,
                          qiQcsPkixQcsyntaxV2,
                          qiEtsiQcsQcLimitValue,
                          qiEtsiQcsQcRetentionPeriod,
                          qiEtsiQcsQcSscd);