Server IP : 92.205.26.207 / Your IP : 216.73.216.16 Web Server : Apache System : Linux 207.26.205.92.host.secureserver.net 4.18.0-553.60.1.el8_10.x86_64 #1 SMP Thu Jul 10 04:01:16 EDT 2025 x86_64 User : zikryat ( 1002) PHP Version : 8.3.23 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/zikryat/public_html/node_modules/@aws-crypto/ie11-detection/src/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
import { CryptoOperation } from "./CryptoOperation"; import { Key } from "./Key"; import { KeyOperation } from "./KeyOperation"; export type KeyUsage = | "encrypt" | "decrypt" | "sign" | "verify" | "derive" | "wrapKey" | "unwrapKey" | "importKey"; export type EncryptionOrVerificationAlgorithm = "RSAES-PKCS1-v1_5"; export type Ie11EncryptionAlgorithm = | "AES-CBC" | "AES-GCM" | "RSA-OAEP" | EncryptionOrVerificationAlgorithm; export type Ie11DigestAlgorithm = "SHA-1" | "SHA-256" | "SHA-384"; export interface HashAlgorithm { name: Ie11DigestAlgorithm; } export interface HmacAlgorithm { name: "HMAC"; hash: HashAlgorithm; } export type SigningAlgorithm = HmacAlgorithm; /** * Represent ths SubtleCrypto interface as implemented in Internet Explorer 11. * This implementation was based on an earlier version of the WebCrypto API and * differs from the `window.crypto.subtle` object exposed in Chrome, Safari, * Firefox, and MS Edge. * * @see https://msdn.microsoft.com/en-us/library/dn302325(v=vs.85).aspx */ export interface MsSubtleCrypto { decrypt( algorithm: Ie11EncryptionAlgorithm, key: Key, buffer?: ArrayBufferView ): CryptoOperation; digest( algorithm: Ie11DigestAlgorithm, buffer?: ArrayBufferView ): CryptoOperation; encrypt( algorithm: Ie11EncryptionAlgorithm, key: Key, buffer?: ArrayBufferView ): CryptoOperation; exportKey(format: string, key: Key): KeyOperation; generateKey( algorithm: SigningAlgorithm | Ie11EncryptionAlgorithm, extractable?: boolean, keyUsages?: Array<KeyUsage> ): KeyOperation; importKey( format: string, keyData: ArrayBufferView, algorithm: any, extractable?: boolean, keyUsages?: Array<KeyUsage> ): KeyOperation; sign( algorithm: SigningAlgorithm, key: Key, buffer?: ArrayBufferView ): CryptoOperation; verify( algorithm: SigningAlgorithm | EncryptionOrVerificationAlgorithm, key: Key, signature: ArrayBufferView, buffer?: ArrayBufferView ): CryptoOperation; }