MCPcopy Create free account
hub / github.com/ampproject/amphtml / constructor

Method constructor

src/service/origin-experiments-impl.js:113–119  ·  view source on GitHub ↗

* @param {!./crypto-impl.Crypto} crypto * @param {!./url-impl.Url} url

(crypto, url)

Source from the content-addressed store, hash-verified

111 * @param {!./url-impl.Url} url
112 */
113 constructor(crypto, url) {
114 /** @const @private */
115 this.crypto_ = crypto;
116
117 /** @const @private */
118 this.url_ = url;
119 }
120
121 /**
122 * Generates an RSA public/private key pair for signing and verifying.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected