SubtleCrypto.importKey method | globals module | Bun BuildDocsReferenceGuidesBlogDiscord/Globals/SubtleCrypto/importKeyMimportKey BuildDocsReferenceGuidesBlogDiscord /Globals/SubtleCrypto/importKeyMimportKey importKey(format: 'spki' | 'pkcs8' | 'raw',keyData: BufferSource,algorithm: AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams | EcKeyImportParams | AesKeyAlgorithm,extractable: boolean,keyUsages: KeyUsage[]): PromiseCryptoKey>;importKey(format: 'spki' | 'pkcs8' | 'raw',keyData: BufferSource,algorithm: AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams | EcKeyImportParams | AesKeyAlgorithm,extractable: boolean,keyUsages: IterableKeyUsage>): PromiseCryptoKey>;Referenced typesclass CryptoKey readonly algorithm: KeyAlgorithm readonly extractable: boolean readonly type: KeyType readonly usages: KeyUsage[]
Search the reference...
/
method
SubtleCrypto.importKeyimportKey(format: 'jwk',keyData: JsonWebKey,algorithm: AlgorithmIdentifier | HmacImportParams | RsaHashedImportParams | EcKeyImportParams | AesKeyAlgorithm,extractable: boolean,keyUsages: readonly KeyUsage[]): PromiseCryptoKey>;The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. Available only in secure contexts.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →SubtleCrypto.importKey method | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method globals.SubtleCrypto.importKey | Bun