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

CertificateDERDER-encoded certificate holding the Ed448 public key
PrivateKeyDERDER-encoded PKCS#8 private key
SeedReceives the 57-byte seed derived from the key material; empty on failure

Return values

FalseThe pair does not match, is not Ed448, or the encodings are malformed
TrueSeed 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