Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- encrypt :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m JSVal
- encrypt_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m ()
- decrypt :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m JSVal
- decrypt_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m ()
- sign :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m JSVal
- sign_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m ()
- verify :: (MonadDOM m, ToJSString algorithm, IsBufferSource signature, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> signature -> data' -> m JSVal
- verify_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource signature, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> signature -> data' -> m ()
- digest :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> data' -> m JSVal
- digest_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> data' -> m ()
- deriveKey :: (MonadDOM m, ToJSString algorithm, ToJSString derivedKeyType) => SubtleCrypto -> algorithm -> CryptoKey -> derivedKeyType -> Bool -> [CryptoKeyUsage] -> m JSVal
- deriveKey_ :: (MonadDOM m, ToJSString algorithm, ToJSString derivedKeyType) => SubtleCrypto -> algorithm -> CryptoKey -> derivedKeyType -> Bool -> [CryptoKeyUsage] -> m ()
- deriveBits :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> CryptoKey -> Word -> m ArrayBuffer
- deriveBits_ :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> CryptoKey -> Word -> m ()
- generateKey :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> Bool -> [CryptoKeyUsage] -> m JSVal
- generateKey_ :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> Bool -> [CryptoKeyUsage] -> m ()
- importKey :: (MonadDOM m, ToJSString format, IsKeyData keyData, ToJSString algorithm) => SubtleCrypto -> format -> keyData -> algorithm -> Bool -> [CryptoKeyUsage] -> m CryptoKey
- importKey_ :: (MonadDOM m, ToJSString format, IsKeyData keyData, ToJSString algorithm) => SubtleCrypto -> format -> keyData -> algorithm -> Bool -> [CryptoKeyUsage] -> m ()
- exportKey :: (MonadDOM m, ToJSString format) => SubtleCrypto -> format -> CryptoKey -> m JSVal
- exportKey_ :: (MonadDOM m, ToJSString format) => SubtleCrypto -> format -> CryptoKey -> m ()
- wrapKey :: (MonadDOM m, ToJSString format, ToJSString wrapAlgorithm) => SubtleCrypto -> format -> CryptoKey -> CryptoKey -> wrapAlgorithm -> m JSVal
- wrapKey_ :: (MonadDOM m, ToJSString format, ToJSString wrapAlgorithm) => SubtleCrypto -> format -> CryptoKey -> CryptoKey -> wrapAlgorithm -> m ()
- unwrapKey :: (MonadDOM m, ToJSString format, IsBufferSource wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm) => SubtleCrypto -> format -> wrappedKey -> CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [CryptoKeyUsage] -> m CryptoKey
- unwrapKey_ :: (MonadDOM m, ToJSString format, IsBufferSource wrappedKey, ToJSString unwrapAlgorithm, ToJSString unwrappedKeyAlgorithm) => SubtleCrypto -> format -> wrappedKey -> CryptoKey -> unwrapAlgorithm -> unwrappedKeyAlgorithm -> Bool -> [CryptoKeyUsage] -> m ()
- newtype SubtleCrypto = SubtleCrypto {}
- gTypeSubtleCrypto :: JSM GType
Documentation
encrypt :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m JSVal Source #
encrypt_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m () Source #
decrypt :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m JSVal Source #
decrypt_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m () Source #
sign :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m JSVal Source #
sign_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> CryptoKey -> data' -> m () Source #
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 #
digest :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> data' -> m JSVal Source #
digest_ :: (MonadDOM m, ToJSString algorithm, IsBufferSource data') => SubtleCrypto -> algorithm -> 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 #
deriveBits :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> CryptoKey -> Word -> m ArrayBuffer Source #
deriveBits_ :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> CryptoKey -> Word -> m () Source #
generateKey :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> Bool -> [CryptoKeyUsage] -> m JSVal Source #
generateKey_ :: (MonadDOM m, ToJSString algorithm) => SubtleCrypto -> algorithm -> 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 #
exportKey :: (MonadDOM m, ToJSString format) => SubtleCrypto -> format -> CryptoKey -> m JSVal Source #
exportKey_ :: (MonadDOM m, ToJSString format) => SubtleCrypto -> format -> CryptoKey -> m () Source #
wrapKey :: (MonadDOM m, ToJSString format, ToJSString wrapAlgorithm) => SubtleCrypto -> format -> CryptoKey -> CryptoKey -> wrapAlgorithm -> m JSVal 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 #
newtype SubtleCrypto Source #
Functions for this inteface are in JSDOM.SubtleCrypto.
Instances
PToJSVal SubtleCrypto Source # | |
Defined in JSDOM.Types pToJSVal :: SubtleCrypto -> JSVal # | |
PFromJSVal SubtleCrypto Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> SubtleCrypto # | |
ToJSVal SubtleCrypto Source # | |
Defined in JSDOM.Types toJSVal :: SubtleCrypto -> JSM JSVal # toJSValListOf :: [SubtleCrypto] -> JSM JSVal # | |
FromJSVal SubtleCrypto Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe SubtleCrypto) # fromJSValUnchecked :: JSVal -> JSM SubtleCrypto # fromJSValListOf :: JSVal -> JSM (Maybe [SubtleCrypto]) # fromJSValUncheckedListOf :: JSVal -> JSM [SubtleCrypto] # | |
MakeObject SubtleCrypto Source # | |
Defined in JSDOM.Types makeObject :: SubtleCrypto -> JSM Object # | |
IsGObject SubtleCrypto Source # | |
Defined in JSDOM.Types typeGType :: SubtleCrypto -> JSM GType |