MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / fromNative

Method fromNative

packages/core/wgc/crypto/SubtleCrypto.ts:109–116  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

107 }
108
109 static fromNative(key) {
110 if (key) {
111 const ret = new CryptoKey();
112 ret[native_] = key;
113 return ret;
114 }
115 return null;
116 }
117}
118
119export class CryptoKeyPair {

Callers 3

privateKeyMethod · 0.45
publicKeyMethod · 0.45
generateKeyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected