Skip to content

Commit

Permalink
fix: correct AsnProp type for CRLs RevocationInfoChoices
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby committed Jul 25, 2024
1 parent c800e12 commit 40cdc9e
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 40cdc9e

Please sign in to comment.