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

Function KeyWrapPrivateKey

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

Source from the content-addressed store, hash-verified

15370 * @since 4.0.0
15371 */
15372export const KeyWrapPrivateKey = <A extends KeyWrap_.RsaOaep>(algorithm: A): KeyWrapPrivateKey<A> =>
15373 declareCryptoKey<KeyWrap_.PrivateKey<A>>(
15374 "KeyWrapPrivateKey",
15375 "KeyWrap",
15376 "PrivateKey",
15377 KeyWrap_.isPrivateKey,
15378 algorithm
15379 )
15380
15381/**
15382 * Schema that decodes an RSA-OAEP `KeyWrap.PrivateKey` with

Callers 1

Calls 1

declareCryptoKeyFunction · 0.85

Tested by

no test coverage detected