Made message signing in Cryptography use SHA512 as the message content for... #1

Closed
netkas wants to merge 421 commits from master into dev
Showing only changes of commit 2c83604057 - Show all commits

View file

@ -127,8 +127,13 @@
* @param DnsRecord $record The DNS record to be associated with the specified domain.
* @return void
*/
public static function mockRecord(string $domain, DnsRecord $record): void
public static function addMock(string $domain, DnsRecord|string $record): void
{
if(is_string($record))
{
$record = DnsHelper::parseTxt($record);
}
self::$mockedRecords[$domain] = $record;
}