API Reference
StreamSec.DSI.PkixSigned
PKIX-Signed Unit
Feature notes: PKIX / CMS implementation notes
Classes, interfaces and records
classeDSIPkix
inherits from eDSIError
PKIX branch of the DSI exception hierarchy - see eDSIError in StreamSec.DSI.ArithTypes. Declared here because StreamSec.DSI.PkixSigned is the unit the rest of the PKIX family (PkixCert, PkixCRL, PkixCms, ...) already builds on.
(no public members)
classeDSIPkixSignature
inherits from eDSIPkix
A signature algorithm identifier names parameters this implementation does not accept.
(no public members)
interfaceiSignatureAlgorithmIdentifier
(no public members)
interfaceiSignatureAlgorithmID
(no public members)
interfaceiSigned
inherits from iASN1CustomStruct
The common base interface of every signed PKIX object -- an X.509 certificate (iCertificate), a CRL (iCertificateList) and a PKCS#10 certification request (iCertificationRequest) all descend from iSigned. It models the shared "signed SEQUENCE" shape (to-be-signed body + AlgorithmIdentifier + BIT STRING signature) and gives applications a uniform way to verify an incoming object's signature or to sign one they are issuing. On a verifier (e.g. a TLS client checking a server's cert chain, or a CA validating a CSR) you call CheckSignature; on an issuer (a CA/self-signer) you call one of the Sign methods.
function get_signatureAlgorithm: iSignatureAlgorithmIdentifier;
Accessor behind the signatureAlgorithm property; returns the AlgorithmIdentifier naming the signature scheme. Rarely called directly by applications.
function get_signatureValue: iASN1Base;
Accessor behind the signatureValue property; returns the BIT STRING node holding the raw signature bytes. Rarely called directly by applications.
function get_ErrorMsg: string;
Accessor behind the ErrorMsg property; returns the human-readable failure text a stateful CheckSignature recorded (see ErrorMsg). Rarely called directly.
function get_ErrorCodes: tPkixCertVerificationErrors;
Accessor behind the ErrorCodes property; returns the machine-readable failure set the stateful CheckSignature calls recorded (see ErrorCodes). Rarely called directly.
function get_TBSThumbprint: tBytes;
Accessor behind the TBSThumbprint property; computes (and caches, once the object is read-only) the digest of the to-be-signed body. Rarely called directly.
function CheckSignature(aCACert: iSigned; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
Verifies this object's signature against the issuer public key carried by aCACert (a CA certificate for a cert/CRL, or the request's own key for a self-signed CSR -- pass nil/Self to self-verify).
Full description »
function CheckSignature(aCACert : iSigned; var aErrorMsg: string; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
Same verification as above, but returns the human-readable failure reason in aErrorMsg so you can log or display why a certificate/CRL/CSR was rejected without touching the cached ErrorMsg property. A stateful call starts from ErrorCodes and records its codes there, as above.
» member page
function CheckSignature(aCACert : iSigned; var aErrorCodes: tPkixCertVerificationErrors; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
Same verification, returning the machine-readable error set in aErrorCodes so an application can branch on the specific fault (e.g. unsupported algorithm vs. bad signature) rather than parse a string.
Full description »
function CheckSignature(aCACert : iSigned; var aErrorMsg : string; var aErrorCodes: tPkixCertVerificationErrors; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
Same verification, returning both the human-readable message and the machine-readable error set. Use when you need to both display and act on the exact verification fault.
Full description »
procedure ClearErrors;
Forgets what stateful CheckSignature calls have recorded - ErrorMsg, ErrorCodes and the state svsStateful goes by - so the next stateful call starts as the first one after loading does.
Full description »
function RSASign(const aRSAKey: iIFPrivateKey; aHA : tHashAlgorithm; aCACert: iSigned = nil) : Boolean;
Signer side (RSA PKCS#1 v1.5): fills in the signatureAlgorithm and signatureValue by signing the to-be-signed body with aRSAKey under hash aHA. Used by a CA or self-signer when issuing a certificate/CRL or when an application builds and signs its own PKCS#10 request. Pass the CA object as aCACert so parent-relative fields can be filled; nil means self-signed.
function RSAPSSSign(const aRSAKey: iIFPrivateKey; aCACert: iSigned) : Boolean;
Changed 2019-11-03: Use this method for RSA-PSS signing a non-root certificate, using the signature parameters taken from the CA certificate.
Full description »
function RSAPSSSignEx(const aRSAKey: iIFPrivateKey; aHA : tHashAlgorithm; aMGFHa : tHashAlgorithm; aSaltLen: Cardinal; aCACert: iSigned = nil) : Boolean;
Changed 2019-11-03: Use this method for RSA-PSS signing a certificate, using explicitly specified signature hash algorithm parameters. Signer side (RSASSA-PSS, explicit parameters): sign with a caller-chosen message-hash aHA, MGF1 hash aMGFHa and salt length. Use when issuing the root/first cert of a PSS chain, where there is no parent to copy the PSS profile from.
function DSASign(const aDSAKey: iDLPrivateKey; aHA : tHashAlgorithm; aCACert: iSigned = nil) : Boolean;
Signer side (DSA or ECDSA): the scheme is chosen from the key's pool -- an EC key produces an ecdsa-with-* signature, a classic DSA key an id-dsa-with-* one -- under hash aHA. Used by a CA/self-signer issuing a cert/CRL/CSR with a DSA or ECDSA key.
function MLDSASign(const aMLDSAKey: iMLDSAPrivateKey; aCACert : iSigned = nil) : Boolean;
Changed 2025-04-29. Signer side (post-quantum ML-DSA, FIPS 204): signs the raw to-be-signed DER (no external pre-hash; the digest algorithm reports haNull). Used when issuing a certificate/CRL/CSR under an ML-DSA-44/65/87 key.
function EdDSASign(const aEdDSAKey: iDLPrivateKey; aCACert : iSigned = nil) : Boolean;
EdDSA (RFC 8032/8410): signs the raw to-be-signed DER; the key must be a seed-based EdDSA key (iEdDSAPrivateKey). Signer side: issue a cert/CRL/CSR under an Ed25519/Ed448 key.
function CompositeMLDSASign(const aKey : iCompositeMLDSAPrivateKey; aCACert: iSigned = nil) : Boolean;
Composite ML-DSA (draft-ietf-lamps-pq-composite-sigs-19): signs the raw to-be-signed DER with an empty context. Signer side: issue a cert/CRL/CSR under a hybrid composite ML-DSA key (a PQ ML-DSA component paired with a classical component).
function SLHDSASign(const aSLHDSAKey: iSLHDSAPrivateKey; aCACert : iSigned = nil) : Boolean;
SLH-DSA (FIPS 205): signs the raw to-be-signed DER with an empty context (hedged variant). Signer side: issue a cert/CRL/CSR under an SLH-DSA key. The stateless hash-based scheme is the conservative choice for long-lived roots; note the signature is large (e.g. 29792 bytes for SLH-DSA-256s).
property signatureAlgorithm: iSignatureAlgorithmIdentifier read get_signatureAlgorithm;
The AlgorithmIdentifier naming how this object was (or will be) signed. Read it after decoding to learn the signature scheme; the Sign methods populate it for you.
property signatureValue: iASN1Base read get_signatureValue;
The BIT STRING carrying the raw signature bytes over the to-be-signed body. Applications rarely read this directly -- CheckSignature consumes it -- but it is exposed for low-level inspection.
property ErrorMsg: string read get_ErrorMsg;
Human-readable reason the most recent stateful (svsStateful) CheckSignature failed; display or log this after a verification returns False. It says what that call found itself, while ErrorCodes also keeps what the stateful calls before it found. The overloads that take aErrorMsg leave it alone; ClearErrors and loading new content clear it.
property ErrorCodes: tPkixCertVerificationErrors read get_ErrorCodes;
Machine-readable set of faults the stateful CheckSignature calls have recorded since the object was loaded or ClearErrors was called; branch on specific codes (unsupported algorithm, bad signature, etc.). A stateful call through the aErrorCodes overload records the caller's set here, and the overload that takes both aErrorMsg and aErrorCodes leaves it alone.
property TBSThumbprint: tBytes read get_TBSThumbprint;
Digest of the to-be-signed body (or the body itself for "pure" schemes such as ML-DSA where the digest algorithm is haNull) -- the value the signature is computed over. Useful for caching/dedup or manual signature checks; cached once the object is read-only.
classtSigned
inherits from tASN1CustomStruct
implements iSigned
function CheckSignature(aCACert: iSigned; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
function CheckSignature(aCACert : iSigned; var aErrorMsg: string; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
function CheckSignature(aCACert : iSigned; var aErrorCodes: tPkixCertVerificationErrors; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
function CheckSignature(aCACert : iSigned; var aErrorMsg : string; var aErrorCodes: tPkixCertVerificationErrors; aState : tSignedVerificationState = svsStateful) : Boolean; overload;
procedure ClearErrors; virtual;
function RSASign(const aRSAKey: iIFPrivateKey; aHA : tHashAlgorithm; aCACert: iSigned = nil) : Boolean;
function RSAPSSSign(const aRSAKey: iIFPrivateKey; aCACert: iSigned) : Boolean;
function RSAPSSSignEx(const aRSAKey : iIFPrivateKey; aHA : tHashAlgorithm; aMGFHa : tHashAlgorithm; aSaltLen: Cardinal; aCACert : iSigned = nil) : Boolean;
function DSASign(const aDSAKey: iDLPrivateKey; aHA : tHashAlgorithm; aCACert: iSigned = nil) : Boolean;
function MLDSASign(const aMLDSAKey: iMLDSAPrivateKey; aCACert: iSigned = nil) : Boolean;
function EdDSASign(const aEdDSAKey: iDLPrivateKey; aCACert : iSigned = nil) : Boolean;
function CompositeMLDSASign(const aKey : iCompositeMLDSAPrivateKey; aCACert: iSigned = nil) : Boolean;
function SLHDSASign(const aSLHDSAKey: iSLHDSAPrivateKey; aCACert : iSigned = nil) : Boolean;
function LoadFromStream(const aStream: tStream; aFormat: tASN1DataCoderClass) : Int64; override;
property signatureAlgorithm: iSignatureAlgorithmIdentifier read get_signatureAlgorithm;
property signatureValue: iASN1Base read get_signatureValue;
interfaceiSignatureAlgorithmIdentifier
inherits from iASN1CustomStruct
The X.509 AlgorithmIdentifier SEQUENCE (an OID plus its optional parameters) that names the signature scheme on a certificate, CRL or CSR. Applications usually obtain one via iSigned.signatureAlgorithm to inspect how an already-decoded object was signed; the high-level Sign methods on iSigned fill it in for you, so you rarely build one by hand. The meaning is the same on either side of a protocol -- a verifier reads it to pick the scheme, a signer sets it -- so there is no client/server asymmetry.
function get_algorithm: ObjectIdentifier;
Accessor behind the algorithm property; returns the signature-scheme OID. Rarely called directly by applications.
function get_parameters: iSignatureAlgorithmID;
Accessor behind the parameters property; returns the typed CHOICE view of the parameters field. Rarely called directly by applications.
procedure set_algorithm(const aValue: ObjectIdentifier);
Setter behind the algorithm property; overwrites the OID node. Rarely called directly -- prefer the Sign methods on iSigned.
function IsRSASignature: Boolean;
True when the algorithm OID is an RSA scheme (PKCS#1 v1.5 sha*/md*WithRSA or RSASSA-PSS). Use it after decoding to branch on the key/scheme family before verifying, e.g. to choose an RSA public-key verifier.
function IsDSASignature: Boolean;
True for DSA-with-SHA* and (despite the name) the ECDSA-with-SHA* OIDs. Use it to detect discrete-log signatures before verifying.
function IsMLDSASignature: Boolean;
True for the FIPS 204 ML-DSA-44/65/87 OIDs. Use it to route a decoded object to the post-quantum ML-DSA verifier.
function IsEdDSASignature: Boolean;
True for the Ed25519/Ed448 OIDs. Note EdDSA signs the message itself with no pre-hash, so SignatureDigestAlgorithm returns haNull for these.
function IsCompositeMLDSASignature: Boolean;
True when the OID is a registered composite ML-DSA scheme (resolved via the DSICS registry). Use it to detect draft-composite-sigs hybrid signatures before verifying.
function IsSLHDSASignature: Boolean;
True when the OID is one of the twelve FIPS 205 SLH-DSA parameter sets (resolved via the DSISLH registry). Use it to route a decoded object to the stateless hash-based SLH-DSA verifier.
function SignatureDigestAlgorithm: tHashAlgorithm;
The message-digest hash implied by the scheme OID (SHA-1/224/256/384/512, MD2/MD5, or the RSASSA-PSS hashAlgorithm parameter). Returns haNull for schemes that sign the message directly (EdDSA, ML-DSA, composite ML-DSA) and haUndefined for an unrecognised OID. Read it to configure a verifier or to report which digest a decoded object was signed under.
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
The signature-scheme OID. Compare it against the named OID constants in stOIDs.pas (e.g. sha256WithRsaEncryption, ecdsa_with_SHA256, id_ml_dsa_65), or use the Is*Signature helpers instead of matching by hand. Writing it is normally left to the Sign methods on iSigned.
property parameters: iSignatureAlgorithmID read get_parameters;
The typed CHOICE view of the parameters field, used mainly to read or set RSASSA-PSS parameters. See iSignatureAlgorithmID.
classtSignatureAlgorithmIdentifier
inherits from tASN1CustomStruct
implements iSignatureAlgorithmIdentifier
function IsRSASignature: Boolean; virtual;
function IsDSASignature: Boolean; virtual;
function IsMLDSASignature: Boolean; virtual;
function IsEdDSASignature: Boolean; virtual;
function IsCompositeMLDSASignature: Boolean; virtual;
function IsSLHDSASignature: Boolean; virtual;
function SignatureDigestAlgorithm: tHashAlgorithm;
property algorithm: ObjectIdentifier read get_algorithm write set_algorithm;
property parameters: iSignatureAlgorithmID read get_parameters;
inherits from tASN1TypeIdentifier
(no public members)
interfaceiSignatureAlgorithmID
inherits from iASN1CustomInstance
The typed view of the "parameters" field of an X.509 AlgorithmIdentifier, modelled as an ASN.1 CHOICE. Most applications never touch this directly: the high-level Sign/CheckSignature methods on iSigned set and read it for you. Reach in only when you build or inspect a certificate/CRL/CSR by hand and need to force or examine the algorithm-parameters block for a specific signature scheme. Each "As..." property selects (or, when reading a decoded structure, activates) the matching CHOICE alternative and hands back the underlying ASN.1 node; getting one changes which alternative is active, so treat these as mutually exclusive selectors rather than passive accessors.
function get_AsDsaWithSha1: iASN1Base;
Accessor behind the AsDsaWithSha1 property; selects the id-dsa-with-sha1 CHOICE alternative. Rarely called directly by applications.
function get_AsEcdsaWithSha1: iASN1Base;
Accessor behind the AsEcdsaWithSha1 property; selects the ecdsa-with-SHA1 CHOICE alternative. Rarely called directly by applications.
function get_AsEcnrWithSha1: iASN1Base;
Accessor behind the AsEcnrWithSha1 property; selects the id-ecnr-with-sha1 CHOICE alternative. Rarely called directly by applications.
function get_AsMd2WithRsaencryption: iASN1Base;
Accessor behind the AsMd2WithRsaencryption property; selects the md2WithRSAEncryption CHOICE alternative. Rarely called directly.
function get_AsMd5WithRsaencryption: iASN1Base;
Accessor behind the AsMd5WithRsaencryption property; selects the md5WithRSAEncryption CHOICE alternative. Rarely called directly.
function get_AsNrWithSha1: iASN1Base;
Accessor behind the AsNrWithSha1 property; selects the id-nr-with-sha1 CHOICE alternative. Rarely called directly by applications.
function get_AsRsassaPss: iRSASSAPSSParams;
Accessor behind the AsRsassaPss property; selects the id-RSASSA-PSS CHOICE alternative and returns its typed PSS-parameter view. Rarely called directly.
function get_AsRw: iRSASSAPSSParams;
Accessor behind the AsRw property; selects the id-rw CHOICE alternative and returns its PSS-style parameter view. Rarely called directly.
function get_AsSha1WithRsaencryption: iASN1Base;
Accessor behind the AsSha1WithRsaencryption property; selects the sha1WithRSAEncryption CHOICE alternative. Rarely called directly.
function get_AsSha256WithRsaencryption: iASN1Base;
Accessor behind the AsSha256WithRsaencryption property; selects the sha256WithRSAEncryption CHOICE alternative. Rarely called directly.
function get_AsSha384WithRsaencryption: iASN1Base;
Accessor behind the AsSha384WithRsaencryption property; selects the sha384WithRSAEncryption CHOICE alternative. Rarely called directly.
function get_AsSha512WithRsaencryption: iASN1Base;
Accessor behind the AsSha512WithRsaencryption property; selects the sha512WithRSAEncryption CHOICE alternative. Rarely called directly.
function get_AsMlDsa44: iASN1Base;
Accessor behind the AsMlDsa44 property; selects the id-ml-dsa-44 CHOICE alternative. Rarely called directly by applications.
function get_AsMlDsa65: iASN1Base;
Accessor behind the AsMlDsa65 property; selects the id-ml-dsa-65 CHOICE alternative. Rarely called directly by applications.
function get_AsMlDsa87: iASN1Base;
Accessor behind the AsMlDsa87 property; selects the id-ml-dsa-87 CHOICE alternative. Rarely called directly by applications.
function get_Choice: tSignatureAlgorithmIDEnum;
Accessor behind the Choice property; reports which signature-algorithm CHOICE alternative is currently active. Rarely called directly.
procedure set_Choice(const aValue: tSignatureAlgorithmIDEnum);
Mutator behind the Choice property; forces a specific CHOICE alternative active. Rarely called directly by applications.
property Choice: tSignatureAlgorithmIDEnum read get_Choice write set_Choice;
Which signature-algorithm CHOICE alternative is active. Read it to learn how a decoded AlgorithmIdentifier's parameters are typed; assign it to switch the active alternative when building one by hand. Equivalent to touching the matching "As..." property, but keeps the scheme as an enum.
property AsSha1WithRsaencryption: iASN1Base read get_AsSha1WithRsaencryption;
Typed view of the parameters as sha1WithRSAEncryption; reading it makes that CHOICE alternative active. Use only when hand-building/inspecting an AlgorithmIdentifier for RSA/SHA-1.
property AsSha256WithRsaencryption: iASN1Base read get_AsSha256WithRsaencryption;
Typed view of the parameters as sha256WithRSAEncryption; reading it makes that CHOICE alternative active. For hand-built/inspected RSA/SHA-256 AlgorithmIdentifiers.
property AsSha384WithRsaencryption: iASN1Base read get_AsSha384WithRsaencryption;
Typed view of the parameters as sha384WithRSAEncryption; reading it makes that CHOICE alternative active. For hand-built/inspected RSA/SHA-384 AlgorithmIdentifiers.
property AsSha512WithRsaencryption: iASN1Base read get_AsSha512WithRsaencryption;
Typed view of the parameters as sha512WithRSAEncryption; reading it makes that CHOICE alternative active. For hand-built/inspected RSA/SHA-512 AlgorithmIdentifiers.
property AsMd2WithRsaencryption: iASN1Base read get_AsMd2WithRsaencryption;
Typed view of the parameters as md2WithRSAEncryption; reading it makes that CHOICE alternative active. Legacy algorithm, retained for parsing old certificates.
property AsMd5WithRsaencryption: iASN1Base read get_AsMd5WithRsaencryption;
Typed view of the parameters as md5WithRSAEncryption; reading it makes that CHOICE alternative active. Legacy algorithm, retained for parsing old certificates.
property AsDsaWithSha1: iASN1Base read get_AsDsaWithSha1;
Typed view of the parameters as id-dsa-with-sha1; reading it makes that CHOICE alternative active. For hand-built/inspected DSA AlgorithmIdentifiers.
property AsEcdsaWithSha1: iASN1Base read get_AsEcdsaWithSha1;
Typed view of the parameters as ecdsa-with-SHA1; reading it makes that CHOICE alternative active. For hand-built/inspected ECDSA AlgorithmIdentifiers.
property AsNrWithSha1: iASN1Base read get_AsNrWithSha1;
Typed view of the parameters as id-nr-with-sha1 (Nyberg-Rueppel); reading it makes that CHOICE alternative active. Rarely needed outside legacy interop.
property AsEcnrWithSha1: iASN1Base read get_AsEcnrWithSha1;
Typed view of the parameters as id-ecnr-with-sha1 (EC Nyberg-Rueppel); reading it makes that CHOICE alternative active. Rarely needed outside legacy interop.
property AsRsassaPss: iRSASSAPSSParams read get_AsRsassaPss;
Typed RSASSA-PSS parameter view (id-RSASSA-PSS); reading it makes that CHOICE alternative active. Use when you must set or read the PSS hash/MGF/ salt-length details of an RSA-PSS AlgorithmIdentifier by hand; the high-level RSAPSSSign methods on iSigned populate this for you.
property AsRw: iRSASSAPSSParams read get_AsRw;
Typed PSS-style parameter view for id-rw (Rabin-Williams); reading it makes that CHOICE alternative active. Rarely needed outside legacy interop.
property AsMlDsa44: iASN1Base read get_AsMlDsa44;
Typed view of the parameters as id-ml-dsa-44 (post-quantum ML-DSA); reading it makes that CHOICE alternative active. For hand-built/inspected ML-DSA-44 AlgorithmIdentifiers.
property AsMlDsa65: iASN1Base read get_AsMlDsa65;
Typed view of the parameters as id-ml-dsa-65 (post-quantum ML-DSA); reading it makes that CHOICE alternative active. For hand-built/inspected ML-DSA-65 AlgorithmIdentifiers.
property AsMlDsa87: iASN1Base read get_AsMlDsa87;
Typed view of the parameters as id-ml-dsa-87 (post-quantum ML-DSA); reading it makes that CHOICE alternative active. For hand-built/inspected ML-DSA-87 AlgorithmIdentifiers.
classtSignatureAlgorithmID
property Choice: tSignatureAlgorithmIDEnum read get_Choice write set_Choice;
property AsSha1WithRsaencryption: iASN1Base read get_AsSha1WithRsaencryption;
property AsSha256WithRsaencryption: iASN1Base read get_AsSha256WithRsaencryption;
property AsSha384WithRsaencryption: iASN1Base read get_AsSha384WithRsaencryption;
property AsSha512WithRsaencryption: iASN1Base read get_AsSha512WithRsaencryption;
property AsMd2WithRsaencryption: iASN1Base read get_AsMd2WithRsaencryption;
property AsMd5WithRsaencryption: iASN1Base read get_AsMd5WithRsaencryption;
property AsDsaWithSha1: iASN1Base read get_AsDsaWithSha1;
property AsEcdsaWithSha1: iASN1Base read get_AsEcdsaWithSha1;
property AsNrWithSha1: iASN1Base read get_AsNrWithSha1;
property AsEcnrWithSha1: iASN1Base read get_AsEcnrWithSha1;
property AsRsassaPss: iRSASSAPSSParams read get_AsRsassaPss implements iRSASSAPSSParams;
property AsRw: iRSASSAPSSParams read get_AsRw;
property AsMlDsa44: iASN1Base read get_AsMlDsa44;
property AsMlDsa65: iASN1Base read get_AsMlDsa65;
property AsMlDsa87: iASN1Base read get_AsMlDsa87;
Types (enumerations, sets, aliases)
enumtSignatureAlgorithmIDEnum
tSignatureAlgorithmIDEnum = (saUndefined,
saSha1WithRsaencryption,
saSha256WithRsaencryption,
saSha384WithRsaencryption,
saSha512WithRsaencryption,
saMd2WithRsaencryption,
saMd5WithRsaencryption,
saDsaWithSha1,
saEcdsaWithSha1,
saNrWithSha1,
saEcnrWithSha1,
saRsassaPss,
saRw,
saEcdsaWithSha224,
saEcdsaWithSha256,
saEcdsaWithSha384,
saEcdsaWithSha512,
saMlDsa44,
saMlDsa65,
saMlDsa87,
saEd25519,
saEd448,
{ Composite ML-DSA (draft-ietf-lamps-pq-composite-sigs-19);
same order as tCompositeMLDSAAlg in PKTypes }
saMLDSA44RSA2048PSS,
saMLDSA44RSA2048PKCS15,
saMLDSA44Ed25519,
saMLDSA44ECDSAP256,
saMLDSA65RSA3072PSS,
saMLDSA65RSA3072PKCS15,
saMLDSA65RSA4096PSS,
saMLDSA65RSA4096PKCS15,
saMLDSA65ECDSAP256,
saMLDSA65ECDSAP384,
saMLDSA65Ed25519,
saMLDSA87ECDSAP384,
saMLDSA87Ed448,
saMLDSA87RSA3072PSS,
saMLDSA87RSA4096PSS,
saMLDSA87ECDSAP521,
{ SLH-DSA (FIPS 205); same order as tSLHDSAAlg
in PKTypes and the CSOR OID arc
2.16.840.1.101.3.4.3.20-.31 }
saSlhDsaSha2_128s,
saSlhDsaSha2_128f,
saSlhDsaSha2_192s,
saSlhDsaSha2_192f,
saSlhDsaSha2_256s,
saSlhDsaSha2_256f,
saSlhDsaShake_128s,
saSlhDsaShake_128f,
saSlhDsaShake_192s,
saSlhDsaShake_192f,
saSlhDsaShake_256s,
saSlhDsaShake_256f);
enumtSignedVerificationState
tSignedVerificationState = (svsStateful,
svsFullVerification,
svsVerifySignatureOnly);
enumtPkixCertVerificationError
tPkixCertVerificationError = (pcvOtherError,
pcvLoadError,
pcvIssuerNotTrusted,
pcvExpired,
pcvInvalidSignature,
pcvUnsupportedHashAlgorithm,
pcvUnsupportedSignatureAlgorithm,
pcvWrongIssuer,
pcvInterfaceNotSupported,
pcvInterfaceNotSupportedKey,
pcvExtensionVersion,
pcvUnsupportedCriticalExtension,
pcvInconsistentSignatureAlgorithms,
pcvValidityPeriodMismatch,
pcvValidityNotBeforeMismatch,
pcvConstraintFaultBasic,
pcvConstraintFaultBasicMissing,
pcvConstraintFaultCA,
pcvConstraintFaultPathLen,
pcvInvalidKeyUsage,
pcvInvalidNetscapeKeyUsageObjectSigningCA,
pcvInvalidNetscapeKeyUsageSslCA,
pcvInvalidNetscapeKeyUsageSMimeCA,
pvcConstraintFaultPrivateKeyUsagePeriod,
pcvConstraintFaultNameConstraints,
pcvConstraintFaultPolicy);
settPkixCertVerificationErrors
tPkixCertVerificationErrors = set of tPkixCertVerificationError;
Routines