drupflare/worker - v1.0.4
    Preparing search index...

    Type Alias SignRequest

    what the PHP half sends

    type SignRequest = {
        aadB64?: string;
        algo?: number | string;
        b64?: string;
        bits?: number;
        cipher?: string;
        curve?: string;
        digest?: string;
        dir?: string;
        ivB64?: string;
        jwk?: Record<string, unknown>;
        key?: string;
        keyB64?: string;
        op?: string;
        pad?: number;
        padding?: boolean;
        passphrase?: string;
        peer?: string;
        sigB64?: string;
        tagB64?: string;
        tagLength?: number;
        type?: string;
    }
    Index
    aadB64?: string
    algo?: number | string

    an OPENSSL_ALGO_* value or a digest name

    b64?: string

    base64 of the bytes to sign or verify

    bits?: number

    RSA modulus size for pkeyNew, in bits

    cipher?: string

    cipher: the lowercased OpenSSL cipher name

    curve?: string

    pkeyNew for EC: an OpenSSL curve name such as prime256v1

    digest?: string

    x509Fingerprint: the digest name

    dir?: string

    cipher: 'enc' or 'dec'

    ivB64?: string
    jwk?: Record<string, unknown>

    a JWK, for pkeyGetPublic when the caller has a key set rather than a PEM

    key?: string

    the PEM key; private to sign, public or a certificate to verify

    keyB64?: string

    cipher: exact-length key, IV, AAD and tag, base64

    op?: string
    pad?: number

    publicEncrypt / privateDecrypt: an OPENSSL_*_PADDING value

    padding?: boolean

    cipher: false for OPENSSL_ZERO_PADDING

    passphrase?: string

    the passphrase an encrypted private PEM was written with

    peer?: string

    derive: the peer's public key as PEM

    sigB64?: string

    base64 of the signature, for verify

    tagB64?: string
    tagLength?: number
    type?: string

    pkeyNew: 'rsa' or 'ec'