UNPKG

@peculiar/asn1-ess

Version:

ASN.1 schema based on Enhanced Security Services (ESS) for S/MIME (RFC 2634)

59 lines (58 loc) 1.14 kB
import { OctetString } from "@peculiar/asn1-schema"; export declare const ub_ml_expansion_history = 64; /** * ```asn1 * ESSVersion ::= INTEGER { v1(1) } * ``` */ export declare enum ESSVersion { v1 = 1 } /** * ```asn1 * AllOrFirstTier ::= INTEGER { -- Formerly AllOrNone * allReceipts (0), * firstTierRecipients (1) } * ``` */ export declare enum AllOrFirstTier { allReceipts = 0, firstTierRecipients = 1 } /** * ```asn1 * ContentIdentifier ::= OCTET STRING * ``` */ export type ContentIdentifier = OctetString; /** * ```asn1 * MsgSigDigest ::= OCTET STRING * ``` */ export type MsgSigDigest = OctetString; /** * ```asn1 * Hash ::= OCTET STRING -- SHA1 hash of entire certificate * ``` */ export type Hash = OctetString; /** * ```asn1 * SecurityClassification ::= INTEGER { * unmarked (0), * unclassified (1), * restricted (2), * confidential (3), * secret (4), * top-secret (5) } (0..ub-integer-options) * ``` */ export declare enum SecurityClassification { unmarked = 0, unclassified = 1, restricted = 2, confidential = 3, secret = 4, topSecret = 5 }