PLCertificateUsesModernAlgorithm
Cryptography, digital signatures
Description
Reports whether a certificate carries a modern key or signature algorithm
Syntax
Delphi
Function PLCertificateUsesModernAlgorithm(Const CertificateDER: AnsiString): Boolean;Parameters
| CertificateDER | DER-encoded X.509 certificate |
|---|
Return values
| True | The signature algorithm, key algorithm, or EC key parameter OID belongs to the modern family |
|---|---|
| False | The certificate uses a classic algorithm or failed to parse |
The modern family covers Ed25519, Ed448, ML-DSA-44/65/87, SM2 and SM2-with-SM3 OIDs
Complements PLModernCertificateDERKeyAlgorithm, which returns the specific family constant
See also
PLModernCertificateDERKeyAlgorithm, PLValidateSM2Identity, PLValidateBrainpoolIdentity