Sha256: 2ea8dc2f032f0595c324174a6eeaff83e57fe40a42e35985a549256fb89a2759
Contents?: true
Size: 401 Bytes
Versions: 8
Compression:
Stored size: 401 Bytes
Contents
class Acme::Client::Resources::Challenges::DNS01 < Acme::Client::Resources::Challenges::Base CHALLENGE_TYPE = 'dns-01'.freeze RECORD_NAME = '_acme-challenge'.freeze RECORD_TYPE = 'TXT'.freeze def record_name RECORD_NAME end def record_type RECORD_TYPE end def record_content Base64.urlsafe_encode64(crypto.digest.digest(authorization_key)).sub(/[\s=]*\z/, '') end end
Version data entries
8 entries across 8 versions & 1 rubygems