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

Method setKey

systemvm/agent/noVNC/core/ra2.js:11–14  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

9 }
10
11 async setKey(key) {
12 this._cipher = await legacyCrypto.importKey(
13 "raw", key, { name: "AES-EAX" }, false, ["encrypt, decrypt"]);
14 }
15
16 async makeMessage(message) {
17 const ad = new Uint8Array([(message.length & 0xff00) >>> 8, message.length & 0xff]);

Callers 15

getControllerSpecMethod · 0.45
createWorkerVMMethod · 0.45
createDiskMethod · 0.45
attachIsoMethod · 0.45

Calls 1

importKeyMethod · 0.45

Tested by 1