MCPcopy Create free account
hub / github.com/Effect-TS/effect / KeyWrapPublicKey

Function KeyWrapPublicKey

packages/effect/src/Schema.ts:15303–15310  ·  view source on GitHub ↗
(algorithm: A)

Source from the content-addressed store, hash-verified

15301 * @since 4.0.0
15302 */
15303export const KeyWrapPublicKey = <A extends KeyWrap_.RsaOaep>(algorithm: A): KeyWrapPublicKey<A> =>
15304 declareCryptoKey<KeyWrap_.PublicKey<A>>(
15305 "KeyWrapPublicKey",
15306 "KeyWrap",
15307 "PublicKey",
15308 KeyWrap_.isPublicKey,
15309 algorithm
15310 )
15311
15312/**
15313 * Schema that decodes an RSA-OAEP `KeyWrap.PublicKey` with

Callers 1

Calls 1

declareCryptoKeyFunction · 0.85

Tested by

no test coverage detected