PLValidateEd448Identity
Cryptography, digital signatures
Description
Checks that an Ed448 private key belongs to a certificate and extracts the 57-byte signing seed
The certificate must carry an Ed448 public key and the private key must be the PKCS#8 form whose embedded secret matches that public key
Syntax
Delphi
Function PLValidateEd448Identity(Const CertificateDER, PrivateKeyDER: AnsiString;
Out Seed: AnsiString): Boolean;Parameters
| CertificateDER | DER-encoded certificate holding the Ed448 public key |
|---|---|
| PrivateKeyDER | DER-encoded PKCS#8 private key |
| Seed | Receives the 57-byte seed derived from the key material; empty on failure |
Return values
| False | The pair does not match, is not Ed448, or the encodings are malformed |
|---|---|
| True | Seed holds 57 bytes usable with Ed448Sign |
Remarks
This is the identity gate behind SetSignProcessEd448Identity; passing validation means the signing process can derive the same signature as the certificate owner without CNG
See also
SetSignProcessEd448Identity, Ed448Sign, Ed448PublicKeyFromSeed, PLValidateEd25519Identity