Socket
Socket
Sign inDemoInstall

@peculiar/x509

Package Overview
Dependencies
Maintainers
6
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peculiar/x509 - npm Package Compare versions

Comparing version 1.5.2 to 1.6.0

2

build/types/name.d.ts

@@ -25,2 +25,4 @@ import { Name as AsnName } from "@peculiar/asn1-x509";

toArrayBuffer(): ArrayBuffer;
getThumbprint(crypto?: Crypto): Promise<ArrayBuffer>;
getThumbprint(algorithm: globalThis.AlgorithmIdentifier, crypto?: Crypto): Promise<ArrayBuffer>;
}

4

build/types/pkcs10_cert_req_generator.d.ts
import { Attribute } from "./attribute";
import { Extension } from "./extension";
import { JsonName } from "./name";
import { JsonName, Name } from "./name";
import { Pkcs10CertificateRequest } from "./pkcs10_cert_req";
export declare type Pkcs10CertificateRequestCreateParamsName = string | JsonName;
export declare type Pkcs10CertificateRequestCreateParamsName = string | JsonName | Name;
export interface Pkcs10CertificateRequestCreateParams {

@@ -7,0 +7,0 @@ name?: Pkcs10CertificateRequestCreateParamsName;

import { CertificationRequest } from "@peculiar/asn1-csr";
import { Name } from "./name";
import { HashedAlgorithm } from "./types";

@@ -10,2 +11,3 @@ import { Attribute } from "./attribute";

private tbs;
subjectName: Name;
subject: string;

@@ -12,0 +14,0 @@ signatureAlgorithm: HashedAlgorithm;

import { Extension } from "./extension";
import { JsonName } from "./name";
import { JsonName, Name } from "./name";
import { X509Certificate } from "./x509_cert";
export declare type X509CertificateCreateParamsName = string | JsonName;
export declare type X509CertificateCreateParamsName = string | JsonName | Name;
export interface X509CertificateCreateParamsBase {

@@ -6,0 +6,0 @@ serialNumber: string;

import { Certificate } from "@peculiar/asn1-x509";
import { HashedAlgorithm } from "./types";
import { Name } from "./name";
import { Extension } from "./extension";

@@ -15,3 +16,5 @@ import { PublicKey } from "./public_key";

serialNumber: string;
subjectName: Name;
subject: string;
issuerName: Name;
issuer: string;

@@ -18,0 +21,0 @@ notBefore: Date;

{
"name": "@peculiar/x509",
"version": "1.5.2",
"version": "1.6.0",
"description": "@peculiar/x509 is an easy to use TypeScript/Javascript library based on @peculiar/asn1-schema that makes generating X.509 Certificates and Certificate Requests as well as validating certificate chains easy",

@@ -5,0 +5,0 @@ "main": "build/x509.cjs.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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