@websign/sdk - v0.1.0
    Preparing search index...

    Type Alias SignatureAlgorithm

    SignatureAlgorithm: "ECDSA" | "RSASSA-PKCS1-v1_5" | "RSASSA-PSS"

    A signature scheme. RSASSA-PSS uses MGF1 with the same hash and a salt as long as the digest. EdDSA is not offered: it signs messages, not hashes.

    sign({ hash: "SHA-256", algorithm: ["ECDSA", "RSASSA-PSS"], prepare });