Create a key source that downloads X509 certificates.
Parameters
uri (String, URI) — The URI from which to download keys.
algorithm (String) (defaults to: "RS256") — The algorithm to use for signature
verification. Defaults to "RS256".
retry_interval (Integer, nil) (defaults to: nil) — Override the retry interval in
seconds. This is the minimum time between retries of failed key
downloads.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# googleauth - Class Google::Auth::IDTokens::X509CertHttpKeySource (v1.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.0 (latest)](/ruby/docs/reference/googleauth/latest/Google-Auth-IDTokens-X509CertHttpKeySource)\n- [1.14.0](/ruby/docs/reference/googleauth/1.14.0/Google-Auth-IDTokens-X509CertHttpKeySource)\n- [1.13.1](/ruby/docs/reference/googleauth/1.13.1/Google-Auth-IDTokens-X509CertHttpKeySource)\n- [1.12.2](/ruby/docs/reference/googleauth/1.12.2/Google-Auth-IDTokens-X509CertHttpKeySource) \nReference documentation and code samples for the googleauth class Google::Auth::IDTokens::X509CertHttpKeySource.\n\nA key source that downloads X509 certificates.\nUsed by the legacy OAuth V1 public certs endpoint. \n\nInherits\n--------\n\n- [Google::Auth::IDTokens::HttpKeySource](./Google-Auth-IDTokens-HttpKeySource)\n\nMethods\n-------\n\n### #initialize\n\n def initialize(uri, algorithm: \"RS256\", retry_interval: nil) -\u003e X509CertHttpKeySource\n\nCreate a key source that downloads X509 certificates. \n**Parameters**\n\n- **uri** (String, URI) --- The URI from which to download keys.\n- **algorithm** (String) *(defaults to: \"RS256\")* --- The algorithm to use for signature verification. Defaults to \"`RS256`\".\n- **retry_interval** (Integer, nil) *(defaults to: nil)* --- Override the retry interval in seconds. This is the minimum time between retries of failed key downloads. \n**Returns**\n\n- ([X509CertHttpKeySource](./Google-Auth-IDTokens-X509CertHttpKeySource)) --- a new instance of X509CertHttpKeySource"]]