Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@transmute/cose

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transmute/cose - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

4

dist/cose/Params.d.ts

@@ -22,2 +22,4 @@ export type HeaderMapEntry = [number, any];

export declare const PayloadHashAlgorithm = -6800;
export declare const CWTClaims = 15;
export declare const Type = 16;
export declare const Protected: {

@@ -35,2 +37,4 @@ PartyUIdentity: number;

PayloadLocation: number;
Type: number;
CWTClaims: number;
Alg: number;

@@ -37,0 +41,0 @@ Epk: number;

10

dist/cose/Params.js

@@ -5,3 +5,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.COSE_Encrypt = exports.COSE_Sign1 = exports.COSE_Encrypt0 = exports.Curve = exports.Epk = exports.KeyType = exports.EC2 = exports.Direct = exports.KeyWrap = exports.KeyAgreementWithKeyWrap = exports.KeyAgreement = exports.Receipt = exports.Signature = exports.Hash = exports.Aead = exports.A128GCM = exports.Unprotected = exports.Protected = exports.PayloadHashAlgorithm = exports.PayloadPreImageContentType = exports.PayloadLocation = exports.ProofType = exports.ContentType = exports.PartyVOther = exports.PartyVNonce = exports.PartyVIdentity = exports.PartyUOther = exports.PartyUNonce = exports.PartyUIdentity = exports.HeaderParameters = exports.UnprotectedHeader = exports.ProtectedHeader = void 0;
exports.COSE_Encrypt = exports.COSE_Sign1 = exports.COSE_Encrypt0 = exports.Curve = exports.Epk = exports.KeyType = exports.EC2 = exports.Direct = exports.KeyWrap = exports.KeyAgreementWithKeyWrap = exports.KeyAgreement = exports.Receipt = exports.Signature = exports.Hash = exports.Aead = exports.A128GCM = exports.Unprotected = exports.Protected = exports.Type = exports.CWTClaims = exports.PayloadHashAlgorithm = exports.PayloadPreImageContentType = exports.PayloadLocation = exports.ProofType = exports.ContentType = exports.PartyVOther = exports.PartyVNonce = exports.PartyVIdentity = exports.PartyUOther = exports.PartyUNonce = exports.PartyUIdentity = exports.HeaderParameters = exports.UnprotectedHeader = exports.ProtectedHeader = void 0;
const ProtectedHeader = (entries) => {

@@ -32,2 +32,4 @@ return new Map(entries);

exports.PayloadHashAlgorithm = -6800;
exports.CWTClaims = 15;
exports.Type = 16;
exports.Protected = Object.assign(Object.assign({}, exports.HeaderParameters), { PartyUIdentity: exports.PartyUIdentity,

@@ -45,3 +47,7 @@ PartyUNonce: exports.PartyUNonce,

exports.PayloadPreImageContentType,
PayloadLocation: exports.PayloadLocation });
PayloadLocation: exports.PayloadLocation,
Type: exports.Type,
CWTClaims: // https://datatracker.ietf.org/doc/html/rfc9596
exports.CWTClaims // https://datatracker.ietf.org/doc/html/rfc9597
});
exports.Unprotected = Object.assign(Object.assign({}, exports.HeaderParameters), { Iv: 5, Ek: -4 // new from COSE HPKE

@@ -48,0 +54,0 @@ });

{
"name": "@transmute/cose",
"version": "0.2.8",
"version": "0.2.9",
"description": "COSE and related work.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -39,2 +39,6 @@ // This module is just just a limited set of the IANA registries,

export const CWTClaims = 15
export const Type = 16
export const Protected = {

@@ -54,2 +58,5 @@ ...HeaderParameters,

PayloadLocation,
Type, // https://datatracker.ietf.org/doc/html/rfc9596
CWTClaims // https://datatracker.ietf.org/doc/html/rfc9597
}

@@ -56,0 +63,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc