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

Safe HaskellNone
LanguageHaskell2010

JSDOM.Generated.SubtleCrypto

Synopsis

Documentation

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

unwrapKey :: (MonadDOM m, ToJSString format, IsCryptoOperationData wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm) => SubtleCrypto -> format -> Maybe wrappedKey -> Maybe CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [KeyUsage] -> m (Maybe Promise) Source #

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

unwrapKeyUnsafe :: (MonadDOM m, ToJSString format, IsCryptoOperationData wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm, HasCallStack) => SubtleCrypto -> format -> Maybe wrappedKey -> Maybe CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [KeyUsage] -> m Promise Source #

unwrapKeyUnchecked :: (MonadDOM m, ToJSString format, IsCryptoOperationData wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm) => SubtleCrypto -> format -> Maybe wrappedKey -> Maybe CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [KeyUsage] -> m Promise Source #