Updated the project.
This commit is contained in:
parent
5dfe9f128d
commit
7919556077
1550 changed files with 17063 additions and 40183 deletions
1
my-app/node_modules/@sigstore/bundle/dist/build.d.ts
generated
vendored
Executable file → Normal file
1
my-app/node_modules/@sigstore/bundle/dist/build.d.ts
generated
vendored
Executable file → Normal file
|
@ -3,6 +3,7 @@ import type { BundleWithDsseEnvelope, BundleWithMessageSignature } from './bundl
|
|||
type VerificationMaterialOptions = {
|
||||
certificate?: Buffer;
|
||||
keyHint?: string;
|
||||
singleCertificate?: boolean;
|
||||
};
|
||||
type MessageSignatureBundleOptions = {
|
||||
digest: Buffer;
|
||||
|
|
28
my-app/node_modules/@sigstore/bundle/dist/build.js
generated
vendored
Executable file → Normal file
28
my-app/node_modules/@sigstore/bundle/dist/build.js
generated
vendored
Executable file → Normal file
|
@ -21,7 +21,9 @@ const bundle_1 = require("./bundle");
|
|||
// Message signature bundle - $case: 'messageSignature'
|
||||
function toMessageSignatureBundle(options) {
|
||||
return {
|
||||
mediaType: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
||||
mediaType: options.singleCertificate
|
||||
? bundle_1.BUNDLE_V03_MEDIA_TYPE
|
||||
: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
||||
content: {
|
||||
$case: 'messageSignature',
|
||||
messageSignature: {
|
||||
|
@ -39,7 +41,9 @@ exports.toMessageSignatureBundle = toMessageSignatureBundle;
|
|||
// DSSE envelope bundle - $case: 'dsseEnvelope'
|
||||
function toDSSEBundle(options) {
|
||||
return {
|
||||
mediaType: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
||||
mediaType: options.singleCertificate
|
||||
? bundle_1.BUNDLE_V03_MEDIA_TYPE
|
||||
: bundle_1.BUNDLE_V02_MEDIA_TYPE,
|
||||
content: {
|
||||
$case: 'dsseEnvelope',
|
||||
dsseEnvelope: toEnvelope(options),
|
||||
|
@ -71,12 +75,20 @@ function toVerificationMaterial(options) {
|
|||
}
|
||||
function toKeyContent(options) {
|
||||
if (options.certificate) {
|
||||
return {
|
||||
$case: 'x509CertificateChain',
|
||||
x509CertificateChain: {
|
||||
certificates: [{ rawBytes: options.certificate }],
|
||||
},
|
||||
};
|
||||
if (options.singleCertificate) {
|
||||
return {
|
||||
$case: 'certificate',
|
||||
certificate: { rawBytes: options.certificate },
|
||||
};
|
||||
}
|
||||
else {
|
||||
return {
|
||||
$case: 'x509CertificateChain',
|
||||
x509CertificateChain: {
|
||||
certificates: [{ rawBytes: options.certificate }],
|
||||
},
|
||||
};
|
||||
}
|
||||
}
|
||||
else {
|
||||
return {
|
||||
|
|
9
my-app/node_modules/@sigstore/bundle/dist/bundle.d.ts
generated
vendored
Executable file → Normal file
9
my-app/node_modules/@sigstore/bundle/dist/bundle.d.ts
generated
vendored
Executable file → Normal file
|
@ -2,6 +2,8 @@ import type { Bundle as ProtoBundle, InclusionProof as ProtoInclusionProof, Mess
|
|||
import type { WithRequired } from './utility';
|
||||
export declare const BUNDLE_V01_MEDIA_TYPE = "application/vnd.dev.sigstore.bundle+json;version=0.1";
|
||||
export declare const BUNDLE_V02_MEDIA_TYPE = "application/vnd.dev.sigstore.bundle+json;version=0.2";
|
||||
export declare const BUNDLE_V03_LEGACY_MEDIA_TYPE = "application/vnd.dev.sigstore.bundle+json;version=0.3";
|
||||
export declare const BUNDLE_V03_MEDIA_TYPE = "application/vnd.dev.sigstore.bundle.v0.3+json";
|
||||
type DsseEnvelopeContent = Extract<ProtoBundle['content'], {
|
||||
$case: 'dsseEnvelope';
|
||||
}>;
|
||||
|
@ -41,6 +43,13 @@ export type BundleWithCertificateChain = Bundle & {
|
|||
}>;
|
||||
};
|
||||
};
|
||||
export type BundleWithSingleCertificate = Bundle & {
|
||||
verificationMaterial: Bundle['verificationMaterial'] & {
|
||||
content: Extract<VerificationMaterial['content'], {
|
||||
$case: 'certificate';
|
||||
}>;
|
||||
};
|
||||
};
|
||||
export type BundleWithPublicKey = Bundle & {
|
||||
verificationMaterial: Bundle['verificationMaterial'] & {
|
||||
content: Extract<VerificationMaterial['content'], {
|
||||
|
|
4
my-app/node_modules/@sigstore/bundle/dist/bundle.js
generated
vendored
Executable file → Normal file
4
my-app/node_modules/@sigstore/bundle/dist/bundle.js
generated
vendored
Executable file → Normal file
|
@ -1,8 +1,10 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.isBundleWithDsseEnvelope = exports.isBundleWithMessageSignature = exports.isBundleWithPublicKey = exports.isBundleWithCertificateChain = exports.BUNDLE_V02_MEDIA_TYPE = exports.BUNDLE_V01_MEDIA_TYPE = void 0;
|
||||
exports.isBundleWithDsseEnvelope = exports.isBundleWithMessageSignature = exports.isBundleWithPublicKey = exports.isBundleWithCertificateChain = exports.BUNDLE_V03_MEDIA_TYPE = exports.BUNDLE_V03_LEGACY_MEDIA_TYPE = exports.BUNDLE_V02_MEDIA_TYPE = exports.BUNDLE_V01_MEDIA_TYPE = void 0;
|
||||
exports.BUNDLE_V01_MEDIA_TYPE = 'application/vnd.dev.sigstore.bundle+json;version=0.1';
|
||||
exports.BUNDLE_V02_MEDIA_TYPE = 'application/vnd.dev.sigstore.bundle+json;version=0.2';
|
||||
exports.BUNDLE_V03_LEGACY_MEDIA_TYPE = 'application/vnd.dev.sigstore.bundle+json;version=0.3';
|
||||
exports.BUNDLE_V03_MEDIA_TYPE = 'application/vnd.dev.sigstore.bundle.v0.3+json';
|
||||
// Type guards for bundle variants.
|
||||
function isBundleWithCertificateChain(b) {
|
||||
return b.verificationMaterial.content.$case === 'x509CertificateChain';
|
||||
|
|
0
my-app/node_modules/@sigstore/bundle/dist/error.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/@sigstore/bundle/dist/error.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/@sigstore/bundle/dist/error.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/@sigstore/bundle/dist/error.js
generated
vendored
Executable file → Normal file
6
my-app/node_modules/@sigstore/bundle/dist/index.d.ts
generated
vendored
Executable file → Normal file
6
my-app/node_modules/@sigstore/bundle/dist/index.d.ts
generated
vendored
Executable file → Normal file
|
@ -1,8 +1,8 @@
|
|||
export { toDSSEBundle, toMessageSignatureBundle } from './build';
|
||||
export { BUNDLE_V01_MEDIA_TYPE, BUNDLE_V02_MEDIA_TYPE, isBundleWithCertificateChain, isBundleWithDsseEnvelope, isBundleWithMessageSignature, isBundleWithPublicKey, } from './bundle';
|
||||
export { BUNDLE_V01_MEDIA_TYPE, BUNDLE_V02_MEDIA_TYPE, BUNDLE_V03_LEGACY_MEDIA_TYPE, BUNDLE_V03_MEDIA_TYPE, isBundleWithCertificateChain, isBundleWithDsseEnvelope, isBundleWithMessageSignature, isBundleWithPublicKey, } from './bundle';
|
||||
export { ValidationError } from './error';
|
||||
export { bundleFromJSON, bundleToJSON, envelopeFromJSON, envelopeToJSON, } from './serialized';
|
||||
export { assertBundle, assertBundleLatest, assertBundleV01, isBundleV01, } from './validate';
|
||||
export { assertBundle, assertBundleLatest, assertBundleV01, assertBundleV02, isBundleV01, } from './validate';
|
||||
export type { Envelope, PublicKeyIdentifier, RFC3161SignedTimestamp, Signature, TimestampVerificationData, X509Certificate, X509CertificateChain, } from '@sigstore/protobuf-specs';
|
||||
export type { Bundle, BundleLatest, BundleV01, BundleWithCertificateChain, BundleWithDsseEnvelope, BundleWithMessageSignature, BundleWithPublicKey, InclusionProof, MessageSignature, TLogEntryWithInclusionPromise, TLogEntryWithInclusionProof, TransparencyLogEntry, VerificationMaterial, } from './bundle';
|
||||
export type { Bundle, BundleLatest, BundleV01, BundleWithCertificateChain, BundleWithDsseEnvelope, BundleWithMessageSignature, BundleWithPublicKey, BundleWithSingleCertificate, InclusionProof, MessageSignature, TLogEntryWithInclusionPromise, TLogEntryWithInclusionProof, TransparencyLogEntry, VerificationMaterial, } from './bundle';
|
||||
export type { SerializedBundle, SerializedEnvelope } from './serialized';
|
||||
|
|
5
my-app/node_modules/@sigstore/bundle/dist/index.js
generated
vendored
Executable file → Normal file
5
my-app/node_modules/@sigstore/bundle/dist/index.js
generated
vendored
Executable file → Normal file
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.isBundleV01 = exports.assertBundleV01 = exports.assertBundleLatest = exports.assertBundle = exports.envelopeToJSON = exports.envelopeFromJSON = exports.bundleToJSON = exports.bundleFromJSON = exports.ValidationError = exports.isBundleWithPublicKey = exports.isBundleWithMessageSignature = exports.isBundleWithDsseEnvelope = exports.isBundleWithCertificateChain = exports.BUNDLE_V02_MEDIA_TYPE = exports.BUNDLE_V01_MEDIA_TYPE = exports.toMessageSignatureBundle = exports.toDSSEBundle = void 0;
|
||||
exports.isBundleV01 = exports.assertBundleV02 = exports.assertBundleV01 = exports.assertBundleLatest = exports.assertBundle = exports.envelopeToJSON = exports.envelopeFromJSON = exports.bundleToJSON = exports.bundleFromJSON = exports.ValidationError = exports.isBundleWithPublicKey = exports.isBundleWithMessageSignature = exports.isBundleWithDsseEnvelope = exports.isBundleWithCertificateChain = exports.BUNDLE_V03_MEDIA_TYPE = exports.BUNDLE_V03_LEGACY_MEDIA_TYPE = exports.BUNDLE_V02_MEDIA_TYPE = exports.BUNDLE_V01_MEDIA_TYPE = exports.toMessageSignatureBundle = exports.toDSSEBundle = void 0;
|
||||
/*
|
||||
Copyright 2023 The Sigstore Authors.
|
||||
|
||||
|
@ -22,6 +22,8 @@ Object.defineProperty(exports, "toMessageSignatureBundle", { enumerable: true, g
|
|||
var bundle_1 = require("./bundle");
|
||||
Object.defineProperty(exports, "BUNDLE_V01_MEDIA_TYPE", { enumerable: true, get: function () { return bundle_1.BUNDLE_V01_MEDIA_TYPE; } });
|
||||
Object.defineProperty(exports, "BUNDLE_V02_MEDIA_TYPE", { enumerable: true, get: function () { return bundle_1.BUNDLE_V02_MEDIA_TYPE; } });
|
||||
Object.defineProperty(exports, "BUNDLE_V03_LEGACY_MEDIA_TYPE", { enumerable: true, get: function () { return bundle_1.BUNDLE_V03_LEGACY_MEDIA_TYPE; } });
|
||||
Object.defineProperty(exports, "BUNDLE_V03_MEDIA_TYPE", { enumerable: true, get: function () { return bundle_1.BUNDLE_V03_MEDIA_TYPE; } });
|
||||
Object.defineProperty(exports, "isBundleWithCertificateChain", { enumerable: true, get: function () { return bundle_1.isBundleWithCertificateChain; } });
|
||||
Object.defineProperty(exports, "isBundleWithDsseEnvelope", { enumerable: true, get: function () { return bundle_1.isBundleWithDsseEnvelope; } });
|
||||
Object.defineProperty(exports, "isBundleWithMessageSignature", { enumerable: true, get: function () { return bundle_1.isBundleWithMessageSignature; } });
|
||||
|
@ -37,4 +39,5 @@ var validate_1 = require("./validate");
|
|||
Object.defineProperty(exports, "assertBundle", { enumerable: true, get: function () { return validate_1.assertBundle; } });
|
||||
Object.defineProperty(exports, "assertBundleLatest", { enumerable: true, get: function () { return validate_1.assertBundleLatest; } });
|
||||
Object.defineProperty(exports, "assertBundleV01", { enumerable: true, get: function () { return validate_1.assertBundleV01; } });
|
||||
Object.defineProperty(exports, "assertBundleV02", { enumerable: true, get: function () { return validate_1.assertBundleV02; } });
|
||||
Object.defineProperty(exports, "isBundleV01", { enumerable: true, get: function () { return validate_1.isBundleV01; } });
|
||||
|
|
3
my-app/node_modules/@sigstore/bundle/dist/serialized.d.ts
generated
vendored
Executable file → Normal file
3
my-app/node_modules/@sigstore/bundle/dist/serialized.d.ts
generated
vendored
Executable file → Normal file
|
@ -60,6 +60,9 @@ export type SerializedBundle = {
|
|||
publicKey: {
|
||||
hint: string;
|
||||
};
|
||||
certificate: {
|
||||
rawBytes: string;
|
||||
};
|
||||
}> | undefined) & {
|
||||
tlogEntries: SerializedTLogEntry[];
|
||||
timestampVerificationData: SerializedTimestampVerificationData | undefined;
|
||||
|
|
16
my-app/node_modules/@sigstore/bundle/dist/serialized.js
generated
vendored
Executable file → Normal file
16
my-app/node_modules/@sigstore/bundle/dist/serialized.js
generated
vendored
Executable file → Normal file
|
@ -21,12 +21,16 @@ const bundle_1 = require("./bundle");
|
|||
const validate_1 = require("./validate");
|
||||
const bundleFromJSON = (obj) => {
|
||||
const bundle = protobuf_specs_1.Bundle.fromJSON(obj);
|
||||
(0, validate_1.assertBundle)(bundle);
|
||||
if (bundle.mediaType === bundle_1.BUNDLE_V01_MEDIA_TYPE) {
|
||||
(0, validate_1.assertBundleV01)(bundle);
|
||||
}
|
||||
else {
|
||||
(0, validate_1.assertBundleLatest)(bundle);
|
||||
switch (bundle.mediaType) {
|
||||
case bundle_1.BUNDLE_V01_MEDIA_TYPE:
|
||||
(0, validate_1.assertBundleV01)(bundle);
|
||||
break;
|
||||
case bundle_1.BUNDLE_V02_MEDIA_TYPE:
|
||||
(0, validate_1.assertBundleV02)(bundle);
|
||||
break;
|
||||
default:
|
||||
(0, validate_1.assertBundleLatest)(bundle);
|
||||
break;
|
||||
}
|
||||
return bundle;
|
||||
};
|
||||
|
|
0
my-app/node_modules/@sigstore/bundle/dist/utility.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/@sigstore/bundle/dist/utility.d.ts
generated
vendored
Executable file → Normal file
0
my-app/node_modules/@sigstore/bundle/dist/utility.js
generated
vendored
Executable file → Normal file
0
my-app/node_modules/@sigstore/bundle/dist/utility.js
generated
vendored
Executable file → Normal file
3
my-app/node_modules/@sigstore/bundle/dist/validate.d.ts
generated
vendored
Executable file → Normal file
3
my-app/node_modules/@sigstore/bundle/dist/validate.d.ts
generated
vendored
Executable file → Normal file
|
@ -1,6 +1,7 @@
|
|||
import type { Bundle as ProtoBundle } from '@sigstore/protobuf-specs';
|
||||
import type { Bundle, BundleLatest, BundleV01 } from './bundle';
|
||||
export declare function assertBundle(b: ProtoBundle): asserts b is Bundle;
|
||||
export declare function assertBundleV01(b: Bundle): asserts b is BundleV01;
|
||||
export declare function assertBundleV01(b: ProtoBundle): asserts b is BundleV01;
|
||||
export declare function isBundleV01(b: Bundle): b is BundleV01;
|
||||
export declare function assertBundleV02(b: ProtoBundle): asserts b is BundleLatest;
|
||||
export declare function assertBundleLatest(b: ProtoBundle): asserts b is BundleLatest;
|
||||
|
|
105
my-app/node_modules/@sigstore/bundle/dist/validate.js
generated
vendored
Executable file → Normal file
105
my-app/node_modules/@sigstore/bundle/dist/validate.js
generated
vendored
Executable file → Normal file
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.assertBundleLatest = exports.isBundleV01 = exports.assertBundleV01 = exports.assertBundle = void 0;
|
||||
exports.assertBundleLatest = exports.assertBundleV02 = exports.isBundleV01 = exports.assertBundleV01 = exports.assertBundle = void 0;
|
||||
/*
|
||||
Copyright 2023 The Sigstore Authors.
|
||||
|
||||
|
@ -16,17 +16,66 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
const bundle_1 = require("./bundle");
|
||||
const error_1 = require("./error");
|
||||
// Performs basic validation of a Sigstore bundle to ensure that all required
|
||||
// fields are populated. This is not a complete validation of the bundle, but
|
||||
// rather a check that the bundle is in a valid state to be processed by the
|
||||
// rest of the code.
|
||||
function assertBundle(b) {
|
||||
const invalidValues = validateBundleBase(b);
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid bundle', invalidValues);
|
||||
}
|
||||
}
|
||||
exports.assertBundle = assertBundle;
|
||||
// Asserts that the given bundle conforms to the v0.1 bundle format.
|
||||
function assertBundleV01(b) {
|
||||
const invalidValues = [];
|
||||
invalidValues.push(...validateBundleBase(b));
|
||||
invalidValues.push(...validateInclusionPromise(b));
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid v0.1 bundle', invalidValues);
|
||||
}
|
||||
}
|
||||
exports.assertBundleV01 = assertBundleV01;
|
||||
// Type guard to determine if Bundle is a v0.1 bundle.
|
||||
function isBundleV01(b) {
|
||||
try {
|
||||
assertBundleV01(b);
|
||||
return true;
|
||||
}
|
||||
catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
exports.isBundleV01 = isBundleV01;
|
||||
// Asserts that the given bundle conforms to the v0.2 bundle format.
|
||||
function assertBundleV02(b) {
|
||||
const invalidValues = [];
|
||||
invalidValues.push(...validateBundleBase(b));
|
||||
invalidValues.push(...validateInclusionProof(b));
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid v0.2 bundle', invalidValues);
|
||||
}
|
||||
}
|
||||
exports.assertBundleV02 = assertBundleV02;
|
||||
// Asserts that the given bundle conforms to the newest (0.3) bundle format.
|
||||
function assertBundleLatest(b) {
|
||||
const invalidValues = [];
|
||||
invalidValues.push(...validateBundleBase(b));
|
||||
invalidValues.push(...validateInclusionProof(b));
|
||||
invalidValues.push(...validateNoCertificateChain(b));
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid bundle', invalidValues);
|
||||
}
|
||||
}
|
||||
exports.assertBundleLatest = assertBundleLatest;
|
||||
function validateBundleBase(b) {
|
||||
const invalidValues = [];
|
||||
// Media type validation
|
||||
if (b.mediaType === undefined ||
|
||||
!b.mediaType.startsWith('application/vnd.dev.sigstore.bundle+json;version=')) {
|
||||
(!b.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\+json;version=\d\.\d/) &&
|
||||
!b.mediaType.match(/^application\/vnd\.dev\.sigstore\.bundle\.v\d\.\d\+json/))) {
|
||||
invalidValues.push('mediaType');
|
||||
}
|
||||
// Content-related validation
|
||||
|
@ -84,6 +133,11 @@ function assertBundle(b) {
|
|||
}
|
||||
});
|
||||
break;
|
||||
case 'certificate':
|
||||
if (b.verificationMaterial.content.certificate.rawBytes.length === 0) {
|
||||
invalidValues.push('verificationMaterial.content.certificate.rawBytes');
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (b.verificationMaterial.tlogEntries === undefined) {
|
||||
|
@ -102,17 +156,11 @@ function assertBundle(b) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid bundle', invalidValues);
|
||||
}
|
||||
return invalidValues;
|
||||
}
|
||||
exports.assertBundle = assertBundle;
|
||||
// Asserts that the given bundle conforms to the v0.1 bundle format.
|
||||
function assertBundleV01(b) {
|
||||
// Necessary for V01 bundles
|
||||
function validateInclusionPromise(b) {
|
||||
const invalidValues = [];
|
||||
if (b.mediaType && b.mediaType !== bundle_1.BUNDLE_V01_MEDIA_TYPE) {
|
||||
invalidValues.push('mediaType');
|
||||
}
|
||||
if (b.verificationMaterial &&
|
||||
b.verificationMaterial.tlogEntries?.length > 0) {
|
||||
b.verificationMaterial.tlogEntries.forEach((entry, i) => {
|
||||
|
@ -121,24 +169,10 @@ function assertBundleV01(b) {
|
|||
}
|
||||
});
|
||||
}
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid v0.1 bundle', invalidValues);
|
||||
}
|
||||
return invalidValues;
|
||||
}
|
||||
exports.assertBundleV01 = assertBundleV01;
|
||||
// Type guard to determine if Bundle is a v0.1 bundle.
|
||||
function isBundleV01(b) {
|
||||
try {
|
||||
assertBundleV01(b);
|
||||
return true;
|
||||
}
|
||||
catch (e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
exports.isBundleV01 = isBundleV01;
|
||||
// Asserts that the given bundle conforms to the newest (0.2) bundle format.
|
||||
function assertBundleLatest(b) {
|
||||
// Necessary for V02 and later bundles
|
||||
function validateInclusionProof(b) {
|
||||
const invalidValues = [];
|
||||
if (b.verificationMaterial &&
|
||||
b.verificationMaterial.tlogEntries?.length > 0) {
|
||||
|
@ -153,8 +187,13 @@ function assertBundleLatest(b) {
|
|||
}
|
||||
});
|
||||
}
|
||||
if (invalidValues.length > 0) {
|
||||
throw new error_1.ValidationError('invalid v0.2 bundle', invalidValues);
|
||||
}
|
||||
return invalidValues;
|
||||
}
|
||||
// Necessary for V03 and later bundles
|
||||
function validateNoCertificateChain(b) {
|
||||
const invalidValues = [];
|
||||
if (b.verificationMaterial?.content?.$case === 'x509CertificateChain') {
|
||||
invalidValues.push('verificationMaterial.content.$case');
|
||||
}
|
||||
return invalidValues;
|
||||
}
|
||||
exports.assertBundleLatest = assertBundleLatest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue