deno.land / x / jose@v5.2.4 / runtime / subtle_rsaes.ts

subtle_rsaes.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { JOSENotSupported } from '../util/errors.ts'
export default function subtleRsaEs(alg: string) { switch (alg) { case 'RSA-OAEP': case 'RSA-OAEP-256': case 'RSA-OAEP-384': case 'RSA-OAEP-512': return 'RSA-OAEP' default: throw new JOSENotSupported( `alg ${alg} is not supported either by JOSE or your javascript runtime`, ) }}
jose

Version Info

Tagged at
a month ago