Values
decrypt
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~key: WebCryptoTypes.cryptoKey,
~data: ArrayBufferTypedArrayOrDataView.t,
) => promise<ArrayBuffer.t>
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithmIdentifier WebCryptoTypes.cryptoKey ArrayBufferTypedArrayOrDataView.t Return type
promise< Stdlib.ArrayBuffer.t > deriveBits
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithm,
~baseKey: WebCryptoTypes.cryptoKey,
) => promise<ArrayBuffer.t>
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithm WebCryptoTypes.cryptoKey option< int > Return type
promise< Stdlib.ArrayBuffer.t > deriveBits2
WebCryptoTypes.subtleCrypto,
~baseKey: WebCryptoTypes.cryptoKey,
) => promise<ArrayBuffer.t>
Parameters
WebCryptoTypes.subtleCrypto string WebCryptoTypes.cryptoKey option< int > Return type
promise< Stdlib.ArrayBuffer.t > deriveKey
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~baseKey: WebCryptoTypes.cryptoKey,
~derivedKeyType: WebCryptoTypes.algorithmIdentifier,
~keyUsages: array<WebCryptoTypes.keyUsage>,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithmIdentifier WebCryptoTypes.cryptoKey WebCryptoTypes.algorithmIdentifier bool array< WebCryptoTypes.keyUsage > Return type
promise< Stdlib.JSON.t > digest
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~data: ArrayBufferTypedArrayOrDataView.t,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithmIdentifier ArrayBufferTypedArrayOrDataView.t Return type
promise< Stdlib.JSON.t > encrypt
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~key: WebCryptoTypes.cryptoKey,
~data: ArrayBufferTypedArrayOrDataView.t,
) => promise<ArrayBuffer.t>
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithmIdentifier WebCryptoTypes.cryptoKey ArrayBufferTypedArrayOrDataView.t Return type
promise< Stdlib.ArrayBuffer.t > exportKey
WebCryptoTypes.subtleCrypto,
~format: WebCryptoTypes.keyFormat,
~key: WebCryptoTypes.cryptoKey,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.keyFormat WebCryptoTypes.cryptoKey Return type
promise< Stdlib.JSON.t > generateKey
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithm,
~keyUsages: array<WebCryptoTypes.keyUsage>,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithm bool array< WebCryptoTypes.keyUsage > Return type
promise< Stdlib.JSON.t > generateKey2
WebCryptoTypes.subtleCrypto,
~keyUsages: array<WebCryptoTypes.keyUsage>,
Parameters
WebCryptoTypes.subtleCrypto string bool array< WebCryptoTypes.keyUsage > Return type
promise< Stdlib.JSON.t > importKey
WebCryptoTypes.subtleCrypto,
~keyData: ArrayBufferTypedArrayOrDataView.t,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~keyUsages: array<WebCryptoTypes.keyUsage>,
) => promise<WebCryptoTypes.cryptoKey>
Parameters
WebCryptoTypes.subtleCrypto unknown ArrayBufferTypedArrayOrDataView.t WebCryptoTypes.algorithmIdentifier bool array< WebCryptoTypes.keyUsage > Return type
promise< WebCryptoTypes.cryptoKey > sign
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~key: WebCryptoTypes.cryptoKey,
~data: ArrayBufferTypedArrayOrDataView.t,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithmIdentifier WebCryptoTypes.cryptoKey ArrayBufferTypedArrayOrDataView.t Return type
promise< Stdlib.JSON.t > unwrapKey
WebCryptoTypes.subtleCrypto,
~format: WebCryptoTypes.keyFormat,
~wrappedKey: ArrayBufferTypedArrayOrDataView.t,
~unwrappingKey: WebCryptoTypes.cryptoKey,
~unwrapAlgorithm: WebCryptoTypes.algorithmIdentifier,
~unwrappedKeyAlgorithm: WebCryptoTypes.algorithmIdentifier,
~keyUsages: array<WebCryptoTypes.keyUsage>,
) => promise<WebCryptoTypes.cryptoKey>
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.keyFormat ArrayBufferTypedArrayOrDataView.t WebCryptoTypes.cryptoKey WebCryptoTypes.algorithmIdentifier WebCryptoTypes.algorithmIdentifier bool array< WebCryptoTypes.keyUsage > Return type
promise< WebCryptoTypes.cryptoKey > verify
WebCryptoTypes.subtleCrypto,
~algorithm: WebCryptoTypes.algorithmIdentifier,
~key: WebCryptoTypes.cryptoKey,
~signature: ArrayBufferTypedArrayOrDataView.t,
~data: ArrayBufferTypedArrayOrDataView.t,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.algorithmIdentifier WebCryptoTypes.cryptoKey ArrayBufferTypedArrayOrDataView.t ArrayBufferTypedArrayOrDataView.t Return type
promise< Stdlib.JSON.t > wrapKey
WebCryptoTypes.subtleCrypto,
~format: WebCryptoTypes.keyFormat,
~key: WebCryptoTypes.cryptoKey,
~wrappingKey: WebCryptoTypes.cryptoKey,
~wrapAlgorithm: WebCryptoTypes.algorithm,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.keyFormat WebCryptoTypes.cryptoKey WebCryptoTypes.cryptoKey WebCryptoTypes.algorithm Return type
promise< Stdlib.JSON.t > wrapKey2
WebCryptoTypes.subtleCrypto,
~format: WebCryptoTypes.keyFormat,
~key: WebCryptoTypes.cryptoKey,
~wrappingKey: WebCryptoTypes.cryptoKey,
Parameters
WebCryptoTypes.subtleCrypto WebCryptoTypes.keyFormat WebCryptoTypes.cryptoKey WebCryptoTypes.cryptoKey string Return type
promise< Stdlib.JSON.t >