Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

RsaesOaepParamsHashValues

function RsaesOaepParamsHashValues(const aParams : iRSAESOAEPParams; out aHash, aMGFHash : tHashAlgorithm) : Boolean;
Reads the hash and the MGF1 hash of RSAES-OAEP-params (RFC 8017 A.2.1) as RsassaPssParamsValues reads those of RSASSA-PSS-params: a field left out, or the parameters left out altogether, is SHA-1 and MGF1 with SHA-1, and False when they name a hash this library does not know or a mask generation function other than MGF1. pSourceAlgorithm, the label, is not read; a caller that encrypts or decrypts decides about it.