Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
119
export
class
CryptoKeyPair {
Callers
3
privateKey
Method · 0.45
publicKey
Method · 0.45
generateKey
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected