MCPcopy Create free account
hub / github.com/apache/cloudstack / generateKey

Method generateKey

systemvm/agent/noVNC/core/crypto/dh.js:30–34  ·  view source on GitHub ↗
(algorithm, _extractable)

Source from the content-addressed store, hash-verified

28 }
29
30 static generateKey(algorithm, _extractable) {
31 const cipher = new DHCipher;
32 cipher._generateKey(algorithm);
33 return { privateKey: cipher, publicKey: new DHPublicKey(cipher._publicKey) };
34 }
35
36 _generateKey(algorithm) {
37 const g = algorithm.g;

Callers 7

_negotiateARDAuthMethod · 0.45
createUserApiKeyMethod · 0.45
createUserSecretKeyMethod · 0.45
getPrivateKeyMethod · 0.45
createUserMethod · 0.45

Calls 1

_generateKeyMethod · 0.95

Tested by

no test coverage detected