@peculiar/asn1-ess
Version:
ASN.1 schema based on Enhanced Security Services (ESS) for S/MIME (RFC 2634)
20 lines (19 loc) • 647 B
TypeScript
import { GeneralNames } from "@peculiar/asn1-x509";
import { ContentIdentifier } from "./types";
import { ReceiptsFrom } from "./receipts_from";
export declare const ub_receiptsTo = 16;
/**
* ```asn1
* ReceiptRequest ::= SEQUENCE {
* signedContentIdentifier ContentIdentifier,
* receiptsFrom ReceiptsFrom,
* receiptsTo SEQUENCE SIZE (1..ub-receiptsTo) OF GeneralNames }
* ```
* @todo - is there a way to set the "max" on this?
*/
export declare class ReceiptRequest {
signedContentIdentifier: ContentIdentifier;
receiptsFrom: ReceiptsFrom;
receiptsTo: GeneralNames[];
constructor(params?: Partial<ReceiptRequest>);
}