THotPDF.AddPubSecAgreementKeyMaterial Method
Dichiarazione
procedure AddPubSecAgreementKeyMaterial(const CurveOID: AnsiString;
const PrivateScalar, OwnPublicPoint: TBytes);
Comportamento
Registra uno scalare privato X25519 / X448 / curve NIST per caricare documenti cifrati a chiave pubblica i cui destinatari usano key agreement. CurveOID accetta le costanti HPDFOIDX25519, HPDFOIDX448, HPDFOIDECP256, HPDFOIDECP384 e HPDFOIDECP521. OwnPublicPoint, il punto non compresso 0x04||X||Y del destinatario ricavato dal certificato, è richiesto per le curve NIST e ignorato per gli schemi Montgomery
Lo stesso materiale è disponibile in forma di record come THPDFAgreementKeyMaterial, che raggruppa CurveOID, PrivateScalar e OwnPublicPoint per i percorsi API che accettano o riportano credenziali di key agreement come valore unico
Vedere anche AddPubKeyAgreementRecipientWithSecret, Provider di firma moderni