@peculiar/x509
Advanced tools
Comparing version 1.5.2 to 1.6.0
@@ -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>; | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
349485
4637