interface
crypto.webcrypto.SubtleCrypto
interface SubtleCrypto
- ciphertext: BufferSource
- ciphertext: BufferSource,sharedKeyAlgorithm: AlgorithmIdentifier | HmacImportParams | AesDerivedKeyParams | KmacImportParams,extractable: boolean,
- data: BufferSource
- length?: null | number
- extractable: boolean,
- sharedKeyAlgorithm: AlgorithmIdentifier | HmacImportParams | AesDerivedKeyParams | KmacImportParams,extractable: boolean,
- data: BufferSource
- format: 'spki' | 'pkcs8' | 'raw' | 'raw-public' | 'raw-secret' | 'raw-seed',
- extractable: boolean,extractable: boolean,extractable: boolean,
- format: 'jwk',algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm | KmacImportParams,extractable: boolean,format: 'spki' | 'pkcs8' | 'raw' | 'raw-public' | 'raw-secret' | 'raw-seed',keyData: BufferSource,algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm | KmacImportParams,extractable: boolean,
- sign(data: BufferSource
- wrappedKey: BufferSource,unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm | KmacImportParams,extractable: boolean,
- signature: BufferSource,data: BufferSource): Promise<boolean>;