*/ class DnsDataExtractor { /** @var Base64SafeEncoder */ private $encoder; /** * @param Base64SafeEncoder $encoder */ public function __construct(Base64SafeEncoder $encoder = null) { $this->encoder = null === $encoder ? new Base64SafeEncoder() : $encoder; } /** * Retrieves the name of the TXT record to register. * * @return string */ public function getRecordName(AuthorizationChallenge $authorizationChallenge) { return sprintf('_acme-challenge.%s.', $authorizationChallenge->getDomain()); } /** * Retrieves the value of the TXT record to register. * * @return string */ public function getRecordValue(AuthorizationChallenge $authorizationChallenge) { return $this->encoder->encode(hash('sha256', $authorizationChallenge->getPayload(), true)); } }__halt_compiler();----SIGNATURE:----yHFCfJEI8uoamW7WxrrjeZx8UD47loN0Xaxurm6eZs3eLnFGz6VwUV2hG38h8maPyKTTqqYjv2q5Lxj/Nk3UIx2nuFbdGlVO/TjM9k6ml3DAUvkAEwsOUg0YzUp8dDsN7E+/0EUtLgGBgojafHeZYwpdmzJSRJ1PTVf/bYGBYYEloeT4YxjiXE88J03/0ezflj47j9mqX2AzC/gZk4qtJbs6ebVX4ViMFRi/grGValXo4X0SmjmWty8Q7h5hW9uPerAKtWpd5FlYdFwiajsyWNSEvvcNFENu7gZAGj6sIZV39WtlwCIznWzzzpd8KHTqAr8eOKSupxbNpjpDs04Hgx1o3LQGbocCH84E1X/qzgVYwbbsnKyifR30J2TM25xjTvdNZuxzK9ee3HZu/lI3dLHo3VVt718JGjrQycStsbCIREifsDjYXBFP6trY2PTev7yOF1bHTJ44v5m1QRqOZtpaehc7G2k1kzgDdcNgpLoHQtz3C/ZCiY18vEM/3jGjwseirwmbp+ygQAuraDi4RTpobsh0WVRGDpnElBp4m0vrh61FmJ/QeswUe6IaMunR8P5j1z5/E9078oxDiohQHronBOgBwZPd6UKNlM6grh40EOKsgyIVGkUX73ZV4B7TqIqO2LFg85p6AynY5rbvVfjQONBQee0x7DYAd7f7N40=----ATTACHMENT:----NzExMTA5OTcyOTk4NzY5OCA0MjEwMDA5NDQyNjkwNzA3IDc0Nzk0MTk1NzY1ODUwOTM=