UNPKG

@keeex/tsr

Version:

Manipulate data related to TSR with pki.js

41 lines 1.48 kB
/** * @license * @preserve * * KeeeX SAS Public code * https://keeex.me * Copyright 2013-2024 KeeeX All Rights Reserved. * * These computer program listings and specifications, herein, * are and remain the property of KeeeX SAS. The intellectual * and technical concepts herein are proprietary to KeeeX SAS * and may be covered by EU and foreign patents, * patents in process, trade secrets and copyright law. * * These listings are published as a way to provide third party * with the ability to process KeeeX data. * As such, support for public inquiries is limited. * They are provided "as-is", without warrany of any kind. * * They shall not be reproduced or copied or used in whole or * in part as the basis for manufacture or sale of items unless * prior written permission is obtained from KeeeX SAS. * * For a license agreement, please contact: * <mailto: contact@keeex.net> * */ // #region Constants /** Random nonce used for both query and responses */ export const NONCE_LENGTH = 10; /** value: OID */ export const OID_CONTENT_TYPE = "1.2.840.113549.1.9.3"; /** value: UTCTime */ export const OID_SIGNING_TIME = "1.2.840.113549.1.9.5"; /** value: SigningCertificate */ export const OID_SIGNING_CERTIFICATE_V1 = "1.2.840.113549.1.9.16.2.12"; /** value: SigningCertificateV2 */ export const OID_SIGNING_CERTIFICATE_V2 = "1.2.840.113549.1.9.16.2.47"; /** value: octet string */ export const OID_DIGEST = "1.2.840.113549.1.9.4"; // #endregion