MCPcopy Create free account
hub / github.com/ProtonDriveApps/sdk / driveCryptoCacheAdapter.test.ts

File driveCryptoCacheAdapter.test.ts

cli/src/cache/driveCryptoCacheAdapter.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { CryptoProxy, type SessionKey } from '@protontech/crypto';
2import { Api as CryptoApi } from '@protontech/crypto/proxy/endpoint/api.ts';
3import { type CachedCryptoMaterial, MemoryCache } from '@protontech/drive-sdk';
4

Callers

nothing calls this directly

Calls 12

expectSamePrivateKeysFunction · 0.85
expectSameSessionKeysFunction · 0.85
equalsMethod · 0.80
generatePrivateKeyFunction · 0.70
generateSessionKeyFunction · 0.70
setEntityMethod · 0.65
getEntityMethod · 0.65
iterateEntitiesByTagMethod · 0.65
clearMethod · 0.65
removeEntitiesMethod · 0.65
iterateEntitiesMethod · 0.65
initMethod · 0.45

Tested by

no test coverage detected