method SubtleCrypto.sign Private SubtleCrypto.sign(algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams,key: CryptoKey,data: BufferSource,): Promise<ArrayBuffer> Parameters algorithm: AlgorithmIdentifier | RsaPssParams | EcdsaParams key: CryptoKey data: BufferSource Return Type Promise<ArrayBuffer>