Skip to content

Commit

Permalink
Merge pull request #100 from dhensby/pulls/cms-crls-fix
Browse files Browse the repository at this point in the history
fix: correct AsnProp type for CRLs RevocationInfoChoices
  • Loading branch information
microshine authored Aug 1, 2024
2 parents c800e12 + 40cdc9e commit 8cbd306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cms/src/signed_data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AsnProp, AsnPropTypes, AsnArray, AsnType, AsnTypeTypes } from "@peculia
import { CertificateSet } from "./certificate_choices";
import { CMSVersion, DigestAlgorithmIdentifier } from "./types";
import { EncapsulatedContentInfo } from "./encapsulated_content_info";
import { RevocationInfoChoice, RevocationInfoChoices } from "./revocation_info_choice";
import { RevocationInfoChoices } from "./revocation_info_choice";
import { SignerInfos } from "./signer_info";

/**
Expand Down Expand Up @@ -47,7 +47,7 @@ export class SignedData {
@AsnProp({ type: CertificateSet, context: 0, implicit: true, optional: true })
public certificates?: CertificateSet;

@AsnProp({ type: RevocationInfoChoice, context: 1, implicit: true, optional: true })
@AsnProp({ type: RevocationInfoChoices, context: 1, implicit: true, optional: true })
public crls?: RevocationInfoChoices;

@AsnProp({ type: SignerInfos })
Expand Down

0 comments on commit 8cbd306

Please sign in to comment.