all files / core/security/digital-signature/signature/ pdf-object-identifiers.js

38.89% Statements 14/36
100% Branches 0/0
57.14% Functions 4/7
38.89% Lines 14/36
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45                                                              
define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var _NistObjectIdentifiers = (function () {
        function _NistObjectIdentifiers() {
            this._secureHash256AlgorithmIdentifier = { id: '2.16.840.1.101.3.4.2.1' };
            this._secureHash384AlgorithmIdentifier = { id: '2.16.840.1.101.3.4.2.2' };
            this._secureHash512AlgorithmIdentifier = { id: '2.16.840.1.101.3.4.2.3' };
            this._raceEvaluationMessageDigestAlgorithmIdentifier = { id: '1.3.36.3.2.1' };
            this._digitalSignatureWithSecureHash256AlgorithmIdentifier = { id: '2.16.840.1.101.3.4.3.2' };
            this._ronCipherWithRaceEvaluationAlgorithmIdentifier = { id: '1.3.36.3.3.1.2' };
        }
        return _NistObjectIdentifiers;
    }());
    exports._NistObjectIdentifiers = _NistObjectIdentifiers;
    var _PdfCryptographicObjectIdentifier = (function () {
        function _PdfCryptographicObjectIdentifier() {
            this._messageDigest5 = { id: '1.2.840.113549.2.5' };
            this._secureHash1WithRonCipherEncryption = { id: '1.2.840.113549.1.1.5' };
            this._secureHash256WithRonCipherEncryption = { id: '1.2.840.113549.1.1.11' };
            this._secureHash384WithRonCipherEncryption = { id: '1.2.840.113549.1.1.12' };
            this._secureHash512WithRonCipherEncryption = { id: '1.2.840.113549.1.1.13' };
            this._messageDigest2WithRonCipherEncryption = { id: '1.2.840.113549.1.1.2' };
            this._raceEvaluationEncryption = { id: '1.2.840.113549.1.1.1' };
        }
        return _PdfCryptographicObjectIdentifier;
    }());
    exports._PdfCryptographicObjectIdentifier = _PdfCryptographicObjectIdentifier;
    var _PdfDigitalIdentifiers = (function () {
        function _PdfDigitalIdentifiers() {
            this._cryptographicData = '1.2.840.113549.1.7.1';
            this._cryptographicSignedData = '1.2.840.113549.1.7.2';
            this._rsaEncryption = '1.2.840.113549.1.1.1';
            this._dsaSignature = '1.2.840.10040.4.1';
            this._ecPublicKey = '1.2.840.10045.2.1';
            this._contentType = '1.2.840.113549.1.9.3';
            this._messageDigest = '1.2.840.113549.1.9.4';
            this._signingCertificate = '1.2.840.113549.1.9.16.2.47';
            this._revocation = '1.2.840.113583.1.1.8';
        }
        return _PdfDigitalIdentifiers;
    }());
    exports._PdfDigitalIdentifiers = _PdfDigitalIdentifiers;
});