license import { DefaultEncryptionParameters } from "../parameters/default" ; export class Blob { salt : Uint8Array ; nonce : Uint8Array ; nIterations : number ; version : number ; encryptedObject : ArrayBuffer ; tag ? : ArrayBuffer ; constructor ( encryptedObject , salt , nonce , nIterations ? , version ? , tag ? ) { this . encryptedObject = encryptedObject ; this . salt = salt ; this . nonce = nonce ; this . nIterations = nIterations || DefaultEncryptionParameters . Iterations ; this . version = version || DefaultEncryptionParameters . Version ; this . tag = tag ; } }