Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
Gem::Security::TrustDir#name_path
name_path(name)
lib/rubygems/security/trust_dir.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/rubygems/security/trust_dir.rb, line 71
def name_path(name)
digest = @digester.hexdigest name.to_s
File.join @dir, "cert-#{digest}.pem"
end
Returns the path to the trusted certificate with the given ASN.1 name