jsaddle-dom-0.9.4.0: DOM library that uses jsaddle to support both GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

JSDOM.Generated.SubtleCrypto

Synopsis

Documentation

verify :: (MonadDOM m, ToJSString algorithm, IsBufferSource signature, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> signature -> data' -> m JSVal Source #

verify_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource signature, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> signature -> data' -> m () Source #

deriveKey :: (MonadDOM m, ToJSString algorithm, ToJSString derivedKeyType) => SubtleCrypto -> algorithm -> CryptoKey -> derivedKeyType -> Bool -> [CryptoKeyUsage] -> m JSVal Source #

deriveKey_ :: (MonadDOM m, ToJSString algorithm, ToJSString derivedKeyType) => SubtleCrypto -> algorithm -> CryptoKey -> derivedKeyType -> Bool -> [CryptoKeyUsage] -> m () Source #

importKey :: (MonadDOM m, ToJSString format, IsKeyData keyData, ToJSString algorithm) => SubtleCrypto -> format -> keyData -> algorithm -> Bool -> [CryptoKeyUsage] -> m CryptoKey Source #

importKey_ :: (MonadDOM m, ToJSString format, IsKeyData keyData, ToJSString algorithm) => SubtleCrypto -> format -> keyData -> algorithm -> Bool -> [CryptoKeyUsage] -> m () Source #

wrapKey_ :: (MonadDOM m, ToJSString format, ToJSString wrapAlgorithm) => SubtleCrypto -> format -> CryptoKey -> CryptoKey -> wrapAlgorithm -> m () Source #

unwrapKey :: (MonadDOM m, ToJSString format, IsBufferSource wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm) => SubtleCrypto -> format -> wrappedKey -> CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [CryptoKeyUsage] -> m CryptoKey Source #

unwrapKey_ :: (MonadDOM m, ToJSString format, IsBufferSource wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm) => SubtleCrypto -> format -> wrappedKey -> CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [CryptoKeyUsage] -> m () Source #