Sha256: 3f26a51914533a67feb70b716dbca7dbdb5b62d18c1f078bf626490130209f2b
Contents?: true
Size: 450 Bytes
Versions: 5
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true 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 DIGEST = OpenSSL::Digest::SHA256 def record_name RECORD_NAME end def record_type RECORD_TYPE end def record_content Acme::Client::Util.urlsafe_base64(DIGEST.digest(authorization_key)) end end
Version data entries
5 entries across 5 versions & 1 rubygems