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

@types/jsrsasign

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/jsrsasign - npm Package Compare versions

Comparing version 8.0.12 to 8.0.13

2

jsrsasign/modules/KJUR/asn1/ASNObjects.d.ts

@@ -20,3 +20,3 @@ declare namespace jsrsasign.KJUR.asn1 {

date: Date;
withMillis?: boolean;
withMillis?: boolean | undefined;
}

@@ -23,0 +23,0 @@

@@ -75,8 +75,8 @@ declare namespace jsrsasign.KJUR.asn1.csr {

subject:
| StringParam & { certissuer?: string; certsubject?: string }
| x509.X500NameParam & { certissuer?: string; certsubject?: string }
| { ldapstr: string } & { certissuer?: string; certsubject?: string };
| StringParam & { certissuer?: string | undefined; certsubject?: string | undefined }
| x509.X500NameParam & { certissuer?: string | undefined; certsubject?: string | undefined }
| { ldapstr: string } & { certissuer?: string | undefined; certsubject?: string | undefined };
ext?: Array<{
subjectAltName: ArrayParam<{ dns: string }>;
}>;
}> | undefined;
sbjpubkey: RSAKey | crypto.ECDSA | crypto.DSA | jws.JWS.JsonWebKey | { n: string; e: string } | string;

@@ -83,0 +83,0 @@ sigalg: string;

declare namespace jsrsasign.KJUR.asn1.ocsp {
interface CertificateRequest {
alg?: string;
alg?: string | undefined;
issuerCert: string;

@@ -5,0 +5,0 @@ subjectCert: string;

@@ -14,4 +14,4 @@ declare namespace jsrsasign.KJUR.asn1.tsp {

class PKIStatusInfo extends ASN1Object {
constructor(params?: { failinfo?: NameParam | IntegerParam; statstr?: ArrayParam<string>; status: NameParam });
constructor(params?: { failinfo?: NameParam | IntegerParam | undefined; statstr?: ArrayParam<string> | undefined; status: NameParam });
}
}

@@ -15,4 +15,4 @@ declare namespace jsrsasign.KJUR.asn1.tsp {

status: {
failinfo?: NameParam | IntegerParam;
statstr?: ArrayParam<string>;
failinfo?: NameParam | IntegerParam | undefined;
statstr?: ArrayParam<string> | undefined;
status: NameParam;

@@ -19,0 +19,0 @@ };

@@ -40,5 +40,5 @@ declare namespace jsrsasign.KJUR.asn1.tsp {

mi: MessageImprint;
policy?: string;
nonce?: string;
certreq?: boolean;
policy?: string | undefined;
nonce?: string | undefined;
certreq?: boolean | undefined;
};

@@ -45,0 +45,0 @@

@@ -32,10 +32,10 @@ declare namespace jsrsasign.KJUR.asn1.tsp {

constructor(params: {
accuracy?: { seconds: number; millis: number; micros: number };
genTime?: StringParam | HexParam | DateParam | string;
accuracy?: { seconds: number; millis: number; micros: number } | undefined;
genTime?: StringParam | HexParam | DateParam | string | undefined;
messageImprint: { hashAlg: string; hashMsgHex: string };
nonce?: IntegerParam | BigIntegerParam | HexParam | number;
ordering?: boolean;
nonce?: IntegerParam | BigIntegerParam | HexParam | number | undefined;
ordering?: boolean | undefined;
policy: string;
serialNumber?: IntegerParam | BigIntegerParam | HexParam | number;
tsa?: StringParam;
serialNumber?: IntegerParam | BigIntegerParam | HexParam | number | undefined;
tsa?: StringParam | undefined;
});

@@ -42,0 +42,0 @@

@@ -29,4 +29,4 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

name: string;
asn1params?: ASN1Object;
paramempty?: boolean;
asn1params?: ASN1Object | undefined;
paramempty?: boolean | undefined;
});

@@ -33,0 +33,0 @@ getEncodedHex(): string;

@@ -23,3 +23,3 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

class AuthorityKeyIdentifier extends Extension {
constructor(params?: { critical?: boolean; kid: HexParam; issuer: StringParam; sn: HexParam });
constructor(params?: { critical?: boolean | undefined; kid: HexParam; issuer: StringParam; sn: HexParam });

@@ -26,0 +26,0 @@ getExtnValueHex(): string;

@@ -26,3 +26,3 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

class Certificate extends ASN1Object {
constructor(params?: { prvkeyobj?: RSAKey | crypto.ECDSA | crypto.DSA; tbscertobj?: TBSCertificate });
constructor(params?: { prvkeyobj?: RSAKey | crypto.ECDSA | crypto.DSA | undefined; tbscertobj?: TBSCertificate | undefined });

@@ -29,0 +29,0 @@ /**

@@ -33,3 +33,3 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

class CRLDistributionPoints extends Extension {
constructor(params?: { uri?: string; array?: ASN1Object[] });
constructor(params?: { uri?: string | undefined; array?: ASN1Object[] | undefined });

@@ -36,0 +36,0 @@ getExtnValueHex(): string;

@@ -33,3 +33,3 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

params?: ArrayParam<UriParam> & {
critical?: boolean;
critical?: boolean | undefined;
},

@@ -36,0 +36,0 @@ );

@@ -33,3 +33,3 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

params?: ArrayParam<UriParam> & {
critical?: boolean;
critical?: boolean | undefined;
},

@@ -36,0 +36,0 @@ );

@@ -10,3 +10,3 @@ declare namespace jsrsasign.KJUR.asn1 {

class Time extends ASN1Object {
constructor(params?: StringParam & { type?: 'gen' });
constructor(params?: StringParam & { type?: 'gen' | undefined });
setTimeParams(timeParams: StringParam | HexParam | DateParam | string): void;

@@ -13,0 +13,0 @@

@@ -44,5 +44,5 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

params:
| StringParam & { certissuer?: string; certsubject?: string }
| X500NameParam & { certissuer?: string; certsubject?: string }
| { ldapstr: string } & { certissuer?: string; certsubject?: string },
| StringParam & { certissuer?: string | undefined; certsubject?: string | undefined }
| X500NameParam & { certissuer?: string | undefined; certsubject?: string | undefined }
| { ldapstr: string } & { certissuer?: string | undefined; certsubject?: string | undefined },
);

@@ -49,0 +49,0 @@

@@ -79,3 +79,3 @@ declare namespace jsrsasign.KJUR.asn1.x509 {

sighex: string;
ext?: Extension[];
ext?: Extension[] | undefined;
cakey: [string, string];

@@ -82,0 +82,0 @@ }): string;

@@ -17,3 +17,3 @@ declare namespace jsrsasign.KJUR.crypto {

class ECDSA {
constructor(publicKey?: { curve: string; pub?: string });
constructor(publicKey?: { curve: string; pub?: string | undefined });

@@ -20,0 +20,0 @@ getBigRandom(limit: number): BigInteger;

@@ -42,3 +42,3 @@ declare namespace jsrsasign.KJUR.crypto {

constructor(params: { alg?: string; prov?: string });
constructor(params: { alg?: string | undefined; prov?: string | undefined });

@@ -45,0 +45,0 @@ /**

@@ -70,3 +70,3 @@ declare namespace jsrsasign.KJUR.crypto {

constructor(params?: { alg?: string });
constructor(params?: { alg?: string | undefined });

@@ -73,0 +73,0 @@ /**

@@ -97,3 +97,3 @@ declare namespace jsrsasign.KJUR.jws {

/** JSON object of payload if payload is JSON string otherwise undefined */
payloadObj?: object;
payloadObj?: object | undefined;
/** pretty printed JSON payload by stringify if payload is JSON otherwise Base64URL decoded raw string of payload */

@@ -361,9 +361,9 @@ payloadPP: string;

acceptField?: {
alg?: string[];
aud?: string[];
iss?: string[];
jti?: string;
sub?: string[];
verifyAt?: string | number;
gracePeriod?: number;
alg?: string[] | undefined;
aud?: string[] | undefined;
iss?: string[] | undefined;
jti?: string | undefined;
sub?: string[] | undefined;
verifyAt?: string | number | undefined;
gracePeriod?: number | undefined;
},

@@ -370,0 +370,0 @@ ): boolean;

{
"name": "@types/jsrsasign",
"version": "8.0.12",
"version": "8.0.13",
"description": "TypeScript definitions for jsrsasign",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsrsasign",
"license": "MIT",

@@ -22,4 +23,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "bbb3e80f8150ba84ca91a865cd6a154c085f4ecef7694a6c7e27bf8e557cd4d2",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "5b10fefed761392445470c02e3444db949ffe98082752aa850fc0d24f6df199a",
"typeScriptVersion": "3.6"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sun, 09 May 2021 17:31:22 GMT
* Last updated: Thu, 08 Jul 2021 16:22:58 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `jsrsasign`, `lang`

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