SignatureParams
import { SignatureParams } from "jsr:@ende/http/unstable-message-signatures";interface ยท experimental
interface SignatureParamsSignature parameters used when signing a message.
See also
Properties
components
components: ComponentInput[]Ordered list of covered components.
algorithm
algorithm?: SignatureAlgorithmSignature algorithm.
keyId
keyId?: stringKey identifier. Mapped to/from the wire-format parameter name keyid.
created
created?: numberCreation time as seconds since Unix epoch (not milliseconds).
expires
expires?: numberExpiration time as seconds since Unix epoch (not milliseconds).
nonce
nonce?: stringNonce for replay protection.
tag
tag?: stringApplication-specific tag.
label
label?: stringSignature label, defaults to "sig". Must be a valid sf-key (lowercase
alphanumeric, _, -, ., *). Must also be unique among existing
signatures on the target message per RFC 9421 section 4; a TypeError
is thrown on collision.