Feature notes: PKIX / CMS implementation notes
inherits from eDSIPkix
A public key cannot be encoded into, or read out of, a subjectPublicKeyInfo: it implements no key interface this unit knows, its Params name no encodable group, or its Scheme / SignEncoding disagrees with the selected algorithm identifier. Part of the PKIX branch of the DSI exception hierarchy (eDSIPkix, StreamSec.DSI.PkixSigned).
(no public members)
(no public members)
(no public members)
(no public members)
inherits from iASN1CustomStruct
Read-only decode view of the DSA/Nyberg-Rueppel domain parameters (RFC 3279 Dss-Parms) carried in the parameters field of a certificate's subjectPublicKeyInfo AlgorithmIdentifier. An application reads this when inspecting a DSA (epDsa) or NR (epNr) certificate's group parameters; internally tSubjectPublicKeyInfo.get_ExtractDLPublicKey pulls p/q/g from here to rebuild the finite-field public key. For Diffie-Hellman keys the parameters are iDomainParameters instead (that variant adds the cofactor j and validation seed). These are the same values on both sides of any protocol - they describe the key in the certificate, not a session.
function get_g: iASN1Integer;
function get_p: iASN1Integer;
function get_q: iASN1Integer;
property p: iASN1Integer read get_p;
property q: iASN1Integer read get_q;
property g: iASN1Integer read get_g;
inherits from tASN1CustomStruct
implements iDssParams
property p: iASN1Integer read get_p;
property q: iASN1Integer read get_q;
property g: iASN1Integer read get_g;
inherits from iASN1CustomStruct
Decode view of the RSAPublicKey structure (RFC 3447 / PKCS#1: a SEQUENCE of modulus and publicExponent) that is carried, DER-wrapped in a BIT STRING, as the subjectPublicKey of a certificate whose algorithm is any RSA variant (rsaEncryption, RSASSA-PSS, RSAES-OAEP, id-rw or the legacy id-ea-rsa). An application reaches one of these via iEncapsulatedPublicKey.AsRsaEncryption (and the sibling AsRsassaPss / AsRsaesOaep / AsRw / AsEaRsa accessors) when it wants to inspect the actual RSA public-key material of a certificate -- e.g. to report the key size or the exponent. The values describe the certified key and are therefore identical on the client and server side of any protocol.
function get_modulus: iASN1Integer;
function get_publicExponent: iASN1Integer;
property modulus: iASN1Integer read get_modulus;
property publicExponent: iASN1Integer read get_publicExponent;
inherits from tASN1CustomStruct
implements iUnknown, iRSAKey, iIFPublicKey
property modulus: iASN1Integer read get_modulus;
property publicExponent: iASN1Integer read get_publicExponent;
inherits from iASN1CustomStruct
Read-only decode view of the ValidationParms (RFC 3279 / ANSI X9.42) optionally carried inside a Diffie-Hellman DomainParameters block (reached via iDomainParameters.validationParms). It records the seed and counter used to generate the p/q parameters verifiably (per the FIPS 186 procedure), so a relying party can re-run the generation and confirm the group was not chosen with a hidden trapdoor. An application only reads this when auditing a DH key's group; it is absent (the owning validationParms is nil) for most keys. These values describe the certified key, so they are identical on both sides of any protocol.
function get_pgenCounter: iASN1Integer;
function get_seed: iASN1Base;
property seed: iASN1Base read get_seed;
property pgenCounter: iASN1Integer read get_pgenCounter;
inherits from tASN1CustomStruct
implements iValidationParms
property seed: iASN1Base read get_seed;
property pgenCounter: iASN1Integer read get_pgenCounter;
inherits from iASN1CustomStruct
Read-only decode view of the Diffie-Hellman DomainParameters (RFC 3279 / ANSI X9.42) carried in the parameters field of a certificate's subjectPublicKeyInfo AlgorithmIdentifier for a dhpublicnumber (epDhPublicNumber) key. An application reads this when inspecting the DH group of such a certificate; internally tSubjectPublicKeyInfo.get_ExtractDLPublicKey pulls p/q/g/j from here to rebuild the finite-field public key. Compared with iDssParams (used for DSA/NR keys) this variant also exposes the cofactor j and the optional validationParms seed. These values describe the certified key, so they are identical on both sides of any protocol.
function get_g: iASN1Integer;
function get_j: iASN1Integer;
function get_p: iASN1Integer;
function get_q: iASN1Integer;
function get_validationParms: iValidationParms;
property p: iASN1Integer read get_p;
property g: iASN1Integer read get_g;
property q: iASN1Integer read get_q;
property j: iASN1Integer read get_j;
property validationParms: iValidationParms read get_validationParms;
inherits from tASN1CustomStruct
implements iDomainParameters
property p: iASN1Integer read get_p;
property g: iASN1Integer read get_g;
property q: iASN1Integer read get_q;
property j: iASN1Integer read get_j;
property validationParms: iValidationParms read get_validationParms;
inherits from iASN1CustomStruct
Decode/edit view of the AlgorithmIdentifier that names the public-key algorithm in a certificate's subjectPublicKeyInfo (RFC 5280 sec. 4.1). It pairs an algorithm OID with the algorithm-specific parameters. An application reaches one of these via iSubjectPublicKeyInfo.algorithm when it needs to know which key type a certificate carries (RSA, DSA, EC, DH, an EdDSA/ML-DSA/ML-KEM variant, etc.) and to read the matching parameters through the parameters property below. It describes the certified key, so it is the same on both sides of any protocol; the writable algorithm setter is used only when building/encoding a new certificate, not when merely inspecting one.
function get_algorithm: ObjectIdentifier;
function get_parameters: iPKAlgorithmID;
procedure set_algorithm(const aValue: ObjectIdentifier);
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKAlgorithmID read get_parameters;
inherits from tASN1CustomStruct
implements iPKAlgorithmIdentifier
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iPKAlgorithmID read get_parameters;
inherits from iASN1CustomStruct
Decode/edit view of the SubjectPublicKeyInfo (RFC 5280 4.1.2.7): the algorithm identifier paired with the encapsulated public-key bits that a certificate binds to its subject. An application reaches one via iCertificate.subjectPublicKeyInfo (or iTBSCertificate) to inspect a parsed certificate's key -- read algorithm to learn the key type and subjectPublicKey to read the key material -- or constructs one when building a certificate by calling the matching ImposeXxxPublicKey method, which fills in both the algorithm OID/parameters and the subjectPublicKey bits from a key object. The ImposeXxx methods are used by certificate generation (see StreamSec.DSI.PkixCertGenerator); the read side is used by parsing and path validation. The contents describe the certified key, so they are the same on both sides of any protocol.
function get_algorithm: iPKAlgorithmIdentifier;
function get_subjectPublicKey: iEncapsulatedPublicKey;
procedure ImposeDSSPublicKey(const aPubl: iDLKey);
procedure ImposeECPublicKey(const aPubl: iDLKey);
procedure ImposeDHPublicKey(const aPubl: iDLKey);
procedure ImposeECDHPublicKey(const aPubl: iDLKey);
procedure ImposeRSAPublicKey(const aPubl : iIFKey; aUseAlgorithm: tUseAlgorithm = uaDefault);
procedure ImposeMLKEMPublicKey(const aPubl: iMLKEMKey);
procedure ImposeMLDSAPublicKey(const aPubl: iMLDSAKey);
procedure ImposeSLHDSAPublicKey(const aPubl: iSLHDSAKey);
procedure ImposeCompositeMLDSAPublicKey(const aPubl: iUnknown);
procedure ImposeCompositeMLKEMPublicKey(const aPubl: iUnknown);
property algorithm: iPKAlgorithmIdentifier read get_algorithm;
property subjectPublicKey: iEncapsulatedPublicKey read get_subjectPublicKey;
procedure ImposeDSSPublicKey(const aPubl: iDLKey);
procedure ImposeECPublicKey(const aPubl: iDLKey);
procedure ImposeDHPublicKey(const aPubl: iDLKey);
procedure ImposeECDHPublicKey(const aPubl: iDLKey);
procedure ImposeRSAPublicKey(const aPubl : iIFKey; aUseAlgorithm: tUseAlgorithm = uaDefault);
procedure ImposeMLKEMPublicKey(const aPubl: iMLKEMKey);
procedure ImposeMLDSAPublicKey(const aPubl: iMLDSAKey);
procedure ImposeSLHDSAPublicKey(const aPubl: iSLHDSAKey);
procedure ImposeCompositeMLDSAPublicKey(const aPubl: iUnknown);
procedure ImposeCompositeMLKEMPublicKey(const aPubl: iUnknown);
destructor Destroy; override;
procedure AfterConstruction; override;
property algorithm: iPKAlgorithmIdentifier read get_algorithm;
property subjectPublicKey: iEncapsulatedPublicKey read get_subjectPublicKey;
inherits from iASN1CustomStruct
Decode view of the certificate Validity window (RFC 5280 4.1.2.5): the notBefore/notAfter bounds the CA signed. An application reaches one via iTBSCertificate.validity to read or (when building a cert) fill the two times, and calls the CheckValidity methods to test whether a moment falls inside the window. This field describes the certificate itself, so it is the same on both sides of any protocol.
function get_notAfter: iTime;
function get_notBefore: iTime;
function CheckValidity(const aHoursOffsetFromGMT: Double): Boolean; overload;
function CheckValidity: Boolean; overload;
function CheckValidityEx(const aTimeToCheck : TDateTime; const aHoursOffsetFromGMT: Double = 0) : Boolean;
property notBefore: iTime read get_notBefore;
property notAfter: iTime read get_notAfter;
inherits from tASN1CustomStruct
implements iValidity
function CheckValidity(const aHoursOffsetFromGMT: Double): Boolean; overload;
function CheckValidity: Boolean; overload;
function CheckValidityEx(const aTimeToCheck : TDateTime; const aHoursOffsetFromGMT: Double = 0) : Boolean;
property notBefore: iTime read get_notBefore;
property notAfter: iTime read get_notAfter;
inherits from iASN1CustomStruct
Decode/edit view of the to-be-signed body (TBSCertificate, RFC 5280 4.1.2) of an X.509 certificate: every field the CA signs -- version, serial number, signature-algorithm identifier, issuer/subject Distinguished Names, validity window, subjectPublicKeyInfo, the optional issuer/subject unique IDs, and the extensions. An application reaches one via iCertificate.tbsCertificate to read the fields of a parsed certificate; the writable members (version) and the Impose*/edit methods on the sub-objects are exercised only when building a new certificate. These fields describe the certificate itself, so they are the same on both sides of any protocol.
function get_extensions: iExtensions;
function get_issuer: iName;
function get_issuerUniqueId: iASN1Base;
function get_serialNumber: iASN1Integer;
function get_signature: iSignatureAlgorithmIdentifier;
function get_subject: iName;
function get_subjectPublicKeyInfo: iSubjectPublicKeyInfo;
function get_subjectUniqueId: iASN1Base;
function get_validity: iValidity;
function get_version: tVersion;
function get_versionAsInteger: Integer;
procedure set_version(const aValue: tVersion);
procedure set_versionAsInteger(const aValue: Integer);
property version: tVersion read get_version write set_version;
property versionAsInteger: Integer read get_versionAsInteger write set_versionAsInteger;
property serialNumber: iASN1Integer read get_serialNumber;
property signature: iSignatureAlgorithmIdentifier read get_signature;
property issuer: iName read get_issuer;
property validity: iValidity read get_validity;
property subject: iName read get_subject;
property subjectPublicKeyInfo: iSubjectPublicKeyInfo read get_subjectPublicKeyInfo;
property issuerUniqueId: iASN1Base read get_issuerUniqueId;
property subjectUniqueId: iASN1Base read get_subjectUniqueId;
property extensions: iExtensions read get_extensions;
inherits from tASN1CustomStruct
implements iTBSCertificate
property version: tVersion read get_version write set_version;
property versionAsInteger: Integer read get_versionAsInteger write set_versionAsInteger;
property serialNumber: iASN1Integer read get_serialNumber;
property signature: iSignatureAlgorithmIdentifier read get_signature;
property issuer: iName read get_issuer;
property validity: iValidity read get_validity;
property subject: iName read get_subject;
property subjectPublicKeyInfo: iSubjectPublicKeyInfo read get_subjectPublicKeyInfo;
property issuerUniqueId: iASN1Base read get_issuerUniqueId;
property subjectUniqueId: iASN1Base read get_subjectUniqueId;
property extensions: iExtensions read get_extensions;
inherits from iSigned
function get_tbsCertificate: iTBSCertificate;
function get_PublicKeyIdentifier: OctetString;
function get_subjectPublicKeyInfo: iSubjectPublicKeyInfo;
function CheckCriticalExtensions: Boolean;
function CheckDNSName(const aDNSName: string): Boolean;
function CheckIP(const aIP: string): Boolean;
function CheckURI(const aURI: string): Boolean;
function CheckValidity(const aHoursOffsetFromGMT: Double): Boolean; overload;
function CheckValidity: Boolean; overload;
function ExtractIssuerKeyIdentifier: OctetString;
function ExtractSubjectPublicKeySize: Integer;
function GetKeyUsage: tKeyUsage;
function GetNetscapeKeyUsage: tNetscapeKeyUsage;
function CheckExtKeyUsage(const aAlg: ObjectIdentifier): Boolean;
function IsAllegedIssuer(const aCACert: iCertificate): Boolean;
function IsCA: Boolean;
function SameCert(const aCert: iCertificate): Boolean;
property tbsCertificate: iTBSCertificate read get_tbsCertificate;
property PublicKeyIdentifier: OctetString read get_PublicKeyIdentifier;
property subjectPublicKeyInfo: iSubjectPublicKeyInfo read get_subjectPublicKeyInfo;
class procedure SetVerifyValidityPeriodMismatch(aValue: tVerifyValidityPeriodMode);
destructor Destroy; override;
procedure AfterConstruction; override;
function CheckCriticalExtensions: Boolean;
function CheckDNSName(const aDNSName: string): Boolean;
function CheckIP(const aIP: string): Boolean;
function CheckURI(const aURI: string): Boolean;
function CheckValidity(const aHoursOffsetFromGMT: Double): Boolean; overload;
function CheckValidity: Boolean; overload;
function ExtractIssuerKeyIdentifier: OctetString;
function ExtractSubjectPublicKeySize: Integer;
function GetKeyUsage: tKeyUsage;
function GetNetscapeKeyUsage: tNetscapeKeyUsage;
function CheckExtKeyUsage(const aAlg: ObjectIdentifier): Boolean;
function IsAllegedIssuer(const aCACert: iCertificate): Boolean;
function IsCA: Boolean;
function SameCert(const aCert: iCertificate): Boolean;
property tbsCertificate: iTBSCertificate read get_tbsCertificate;
property PublicKeyIdentifier: OctetString read get_PublicKeyIdentifier;
property subjectPublicKeyInfo: iSubjectPublicKeyInfo read get_subjectPublicKeyInfo;
inherits from iASN1CustomInstance
function get_AsDhpublicnumber: iASN1Integer;
function get_AsDsa: iASN1Integer;
function get_AsEaRsa: iRSAKey;
function get_AsEcnr: iASN1Base;
function get_AsEcPublicKey: iASN1Base;
function get_AsNr: iASN1Integer;
function get_AsRsaEncryption: iRSAKey;
function get_AsRsaesOaep: iRSAKey;
function get_AsRsassaPss: iRSAKey;
function get_AsRw: iRSAKey;
function get_AsMLKEM512: iASN1Base;
function get_AsMLKEM768: iASN1Base;
function get_AsMLKEM1024: iASN1Base;
function get_AsMLDSA44: iASN1Base;
function get_AsMLDSA65: iASN1Base;
function get_AsMLDSA87: iASN1Base;
function get_AsEcdh: iASN1Base;
function get_AsEcmqv: iASN1Base;
function get_AsX25519: iASN1Base;
function get_AsX448: iASN1Base;
function get_AsEd25519: iASN1Base;
function get_AsEd448: iASN1Base;
function AsCompositeMLDSA(aAlg: tCompositeMLDSAAlg): iASN1Base;
function AsSLHDSA(aAlg: tSLHDSAAlg): iASN1Base;
function AsCompositeMLKEM(aAlg: tCompositeMLKEMAlg): iASN1Base;
function get_Choice: tEncapsulatedPublicKeyEnum;
procedure set_Choice(const aValue: tEncapsulatedPublicKeyEnum);
property Choice: tEncapsulatedPublicKeyEnum read get_Choice write set_Choice;
property AsRsaEncryption: iRSAKey read get_AsRsaEncryption;
property AsDhpublicnumber: iASN1Integer read get_AsDhpublicnumber;
property AsDsa: iASN1Integer read get_AsDsa;
property AsEcPublicKey: iASN1Base read get_AsEcPublicKey;
property AsRsassaPss: iRSAKey read get_AsRsassaPss;
property AsRsaesOaep: iRSAKey read get_AsRsaesOaep;
property AsRw: iRSAKey read get_AsRw;
property AsNr: iASN1Integer read get_AsNr;
property AsEcnr: iASN1Base read get_AsEcnr;
property AsEaRsa: iRSAKey read get_AsEaRsa;
property AsMLKEM512: iASN1Base read get_AsMLKEM512;
property AsMLKEM768: iASN1Base read get_AsMLKEM768;
property AsMLKEM1024: iASN1Base read get_AsMLKEM1024;
property AsMLDSA44: iASN1Base read get_AsMLDSA44;
property AsMLDSA65: iASN1Base read get_AsMLDSA65;
property AsMLDSA87: iASN1Base read get_AsMLDSA87;
property AsEcdh: iASN1Base read get_AsEcPublicKey;
property AsEcmqv: iASN1Base read get_AsEcPublicKey;
property AsX25519: iASN1Base read get_AsX25519;
property AsX448: iASN1Base read get_AsX448;
property AsEd25519: iASN1Base read get_AsEd25519;
property AsEd448: iASN1Base read get_AsEd448;
property Choice: tEncapsulatedPublicKeyEnum read get_Choice write set_Choice;
property AsRsaEncryption: iRSAKey read get_AsRsaEncryption implements iRSAKey;
property AsDhpublicnumber: iASN1Integer read get_AsDhpublicnumber implements iASN1Integer;
property AsDsa: iASN1Integer read get_AsDsa;
property AsEcPublicKey: iASN1Base read get_AsEcPublicKey;
property AsRsassaPss: iRSAKey read get_AsRsassaPss;
property AsRsaesOaep: iRSAKey read get_AsRsaesOaep;
property AsRw: iRSAKey read get_AsRw;
property AsNr: iASN1Integer read get_AsNr;
property AsEcnr: iASN1Base read get_AsEcnr;
property AsEaRsa: iRSAKey read get_AsEaRsa;
property AsMLKEM512: iASN1Base read get_AsMLKEM512;
property AsMLKEM768: iASN1Base read get_AsMLKEM768;
property AsMLKEM1024: iASN1Base read get_AsMLKEM1024;
property AsMLDSA44: iASN1Base read get_AsMLDSA44;
property AsMLDSA65: iASN1Base read get_AsMLDSA65;
property AsMLDSA87: iASN1Base read get_AsMLDSA87;
property AsX25519: iASN1Base read get_AsX25519;
property AsX448: iASN1Base read get_AsX448;
property AsEd25519: iASN1Base read get_AsEd25519;
property AsEd448: iASN1Base read get_AsEd448;
inherits from tASN1InformationObject
procedure SetField(const aName: string; aField: iASN1Base); override;
function GetField(const aName: string): iASN1Base; override;
function GetFieldClass(const aField: iASN1Base): tASN1StructClass; override;
procedure Update(const aField: iASN1Base); override;
inherits from iASN1CustomChoice
Decode/edit view of the ASN.1 Time CHOICE (RFC 5280 4.1.2.5) that carries a single instant as either a UTCTime (2-digit year) or a GeneralizedTime (4-digit year). It is reached via iValidity.notBefore/notAfter. An application normally just reads AsDateTime to get the instant regardless of encoding, or assigns AsDateTime when building a cert and lets the setter pick the RFC-mandated encoding by year. The AsUtcTime/AsGeneralTime members force one specific encoding.
function get_AsGeneralTime: tDateTime;
function get_AsUtcTime: tDateTime;
function get_AsDateTime: tDateTime;
function get_Choice: tTimeEnum;
procedure set_AsDateTime(const Value: tDateTime);
procedure set_AsGeneralTime(const aValue: tDateTime);
procedure set_AsUtcTime(const aValue: tDateTime);
procedure set_Choice(const aValue: tTimeEnum);
property Choice: tTimeEnum read get_Choice write set_Choice;
property AsUtcTime: tDateTime read get_AsUtcTime write set_AsUtcTime;
property AsGeneralTime: tDateTime read get_AsGeneralTime write set_AsGeneralTime;
property AsDateTime: tDateTime read get_AsDateTime write set_AsDateTime;
inherits from tASN1CustomChoice
implements iTime
property Choice: tTimeEnum read get_Choice write set_Choice;
property AsUtcTime: tDateTime read get_AsUtcTime write set_AsUtcTime;
property AsGeneralTime: tDateTime read get_AsGeneralTime write set_AsGeneralTime;
property AsDateTime: tDateTime read get_AsDateTime write set_AsDateTime;
inherits from iASN1CustomInstance
function get_AsDhpublicnumber: iDomainParameters;
function get_AsDsa: iDssParams;
function get_AsEaRsa: Integer;
function get_AsEcnr: ObjectIdentifier;
function get_AsEcPublicKey: ObjectIdentifier;
function get_AsNr: iDssParams;
function get_AsRsaEncryption: iASN1Base;
function get_AsRsaesOaep: iRSAESOAEPParams;
function get_AsRsassaPss: iRSASSAPSSParams;
function get_AsRw: iRSASSAPSSParams;
function get_AsMLKEM512: iASN1Base;
function get_AsMLKEM768: iASN1Base;
function get_AsMLKEM1024: iASN1Base;
function get_AsMLDSA44: iASN1Base;
function get_AsMLDSA65: iASN1Base;
function get_AsMLDSA87: iASN1Base;
function get_AsEcdh: ObjectIdentifier;
function get_AsEcmqv: ObjectIdentifier;
function get_AsX25519: iASN1Base;
function get_AsX448: iASN1Base;
function get_AsEd25519: iASN1Base;
function get_AsEd448: iASN1Base;
function AsCompositeMLDSA(aAlg: tCompositeMLDSAAlg): iASN1Base;
function AsSLHDSA(aAlg: tSLHDSAAlg): iASN1Base;
function AsCompositeMLKEM(aAlg: tCompositeMLKEMAlg): iASN1Base;
function get_Choice: tPKAlgorithmIDEnum;
procedure set_AsEcnr(const aValue: ObjectIdentifier);
procedure set_AsEcPublicKey(const aValue: ObjectIdentifier);
procedure set_AsEaRsa(const aValue: Integer);
procedure set_Choice(const aValue: tPKAlgorithmIDEnum);
procedure set_AsEcdh(const aValue: ObjectIdentifier);
procedure set_AsEcmqv(const aValue: ObjectIdentifier);
property Choice: tPKAlgorithmIDEnum read get_Choice write set_Choice;
property AsDhpublicnumber: iDomainParameters read get_AsDhpublicnumber;
property AsRsaEncryption: iASN1Base read get_AsRsaEncryption;
property AsDsa: iDssParams read get_AsDsa;
property AsEcPublicKey: ObjectIdentifier read get_AsEcPublicKey write set_AsEcPublicKey;
property AsNr: iDssParams read get_AsNr;
property AsRsaesOaep: iRSAESOAEPParams read get_AsRsaesOaep;
property AsRsassaPss: iRSASSAPSSParams read get_AsRsassaPss;
property AsRw: iRSASSAPSSParams read get_AsRw;
property AsEcnr: ObjectIdentifier read get_AsEcnr write set_AsEcnr;
property AsEaRsa: Integer read get_AsEaRsa write set_AsEaRsa;
property AsMLKEM512: iASN1Base read get_AsMLKEM512;
property AsMLKEM768: iASN1Base read get_AsMLKEM768;
property AsMLKEM1024: iASN1Base read get_AsMLKEM1024;
property AsMLDSA44: iASN1Base read get_AsMLDSA44;
property AsMLDSA65: iASN1Base read get_AsMLDSA65;
property AsMLDSA87: iASN1Base read get_AsMLDSA87;
property AsEcdh: ObjectIdentifier read get_AsEcdh write set_AsEcdh;
property AsEcmqv: ObjectIdentifier read get_AsEcmqv write set_AsEcmqv;
property AsX25519: iASN1Base read get_AsX25519;
property AsX448: iASN1Base read get_AsX448;
property AsEd25519: iASN1Base read get_AsEd25519;
property AsEd448: iASN1Base read get_AsEd448;
property Choice: tPKAlgorithmIDEnum read get_Choice write set_Choice;
property AsDhpublicnumber: iDomainParameters read get_AsDhpublicnumber implements iDomainParameters;
property AsRsaEncryption: iASN1Base read get_AsRsaEncryption;
property AsDsa: iDssParams read get_AsDsa implements iDssParams;
property AsEcPublicKey: ObjectIdentifier read get_AsEcPublicKey write set_AsEcPublicKey;
property AsNr: iDssParams read get_AsNr;
property AsRsaesOaep: iRSAESOAEPParams read get_AsRsaesOaep implements iRSAESOAEPParams;
property AsRsassaPss: iRSASSAPSSParams read get_AsRsassaPss implements iRSASSAPSSParams;
property AsRw: iRSASSAPSSParams read get_AsRw;
property AsEcnr: ObjectIdentifier read get_AsEcnr write set_AsEcnr;
property AsEaRsa: Integer read get_AsEaRsa write set_AsEaRsa;
property AsMLKEM512: iASN1Base read get_AsMLKEM512;
property AsMLKEM768: iASN1Base read get_AsMLKEM768;
property AsMLKEM1024: iASN1Base read get_AsMLKEM1024;
property AsMLDSA44: iASN1Base read get_AsMLDSA44;
property AsMLDSA65: iASN1Base read get_AsMLDSA65;
property AsMLDSA87: iASN1Base read get_AsMLDSA87;
property AsEcdh: ObjectIdentifier read get_AsEcdh write set_AsEcdh;
property AsEcmqv: ObjectIdentifier read get_AsEcmqv write set_AsEcmqv;
property AsX25519: iASN1Base read get_AsX25519;
property AsX448: iASN1Base read get_AsX448;
property AsEd25519: iASN1Base read get_AsEd25519;
property AsEd448: iASN1Base read get_AsEd448;
constructor Create(const aData: iSubjectPublicKeyInfo);
destructor Destroy; override;
inherits from tASN1NamedInteger
(no public members)
tExtKeyUsagePolicy - how strictly a component applies an extended key usage requirement to a certificate. iCertificate.CheckExtKeyUsage answers the middle case on its own; the other two need the extension's PRESENCE to be taken into account, which is why this is three states and not a Boolean.
ekupIgnore do not look at extendedKeyUsage at all.
ekupAllowUnconstrained a certificate with NO extendedKeyUsage is unconstrained and passes (RFC 5280); one that HAS the extension must name the required purpose. This is CheckExtKeyUsage's own rule.
ekupRequire the extension must be present AND name the required purpose. Use where a profile makes the purpose mandatory - RFC 3161 does so for a time-stamping authority. Naming a key purpose is a RESTRICTION: a relying party that checks against a fixed list refuses a certificate whose purpose is not on it. That is why
ekupRequire is never a default except where a specification demands it.
Selects how BeforeVerify checks a certificate's validity against its issuer: - vvpmFull : the certificate validity must be ENCLOSED by the issuer's (both notBefore and notAfter inside the issuer window). The historical default (strictest). - vvpmNotBefore : only the certificate notBefore must fall inside the issuer validity; the notAfter-enclosure requirement is dropped. - vvpmRelaxed : no issuer-enclosure check at all - plain RFC 5280 semantics, where each certificate is only required to be valid at verification time (checked per-certificate elsewhere). Accepts e.g. a newer cross-signed intermediate re-anchoring an older, longer-lived sub-CA.