Capsium TypeScript API
    Preparing search index...

    Interface ReadPackageOptions

    interface ReadPackageOptions {
        decryptionKeyPem?: string;
        mimeTypeFor?: (path: string) => string | undefined;
        signaturePublicKeyPem?: string;
        skipSignatureVerification?: boolean;
    }

    Hierarchy (View Summary)

    Index
    decryptionKeyPem?: string

    RSA private key PEM used to transparently decrypt §6b encrypted packages.

    mimeTypeFor?: (path: string) => string | undefined

    MIME detection used when manifest.json must be auto-generated. Defaults to the built-in extension table (mimeTypeForPath) with an application/octet-stream fallback.

    signaturePublicKeyPem?: string

    PEM override for signature verification (defaults to the embedded key).

    skipSignatureVerification?: boolean

    Skip §6a signature verification (verification runs whenever declared).