UNPKG

@unvision/jose

Version:

Implementation of the RFCs of the JOSE Working Group.

20 lines 820 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.JsonWebEncryptionCompressionAlgorithm = void 0; /** * Abstract Base Class for the JSON Web Encryption Compression Algorithms. * * All JSON Web Encryption Compression Algorithms **MUST** extend this base class and implement its abstract methods. */ class JsonWebEncryptionCompressionAlgorithm { /** * Instantiates a new JSON Web Encryption Compression Algorithm to Compress and Decompress a Plaintext. * * @param algorithm Name of the JSON Web Encryption Compression Algorithm. */ constructor(algorithm) { this.algorithm = algorithm; } } exports.JsonWebEncryptionCompressionAlgorithm = JsonWebEncryptionCompressionAlgorithm; //# sourceMappingURL=jsonwebencryption-compression.algorithm.js.map