Skip to content

Interface: Sign1Info ​

Defined in: cose.ts:251

Non-secret facts about a COSE_Sign1.

Properties ​

algorithm ​

readonly algorithm: StandardAlgorithm

Defined in: cose.ts:253

The ML-DSA parameter set named by the protected header.


coseAlg ​

readonly coseAlg: number

Defined in: cose.ts:255

The COSE algorithm identifier (-48, -49 or -50).


detached ​

readonly detached: boolean

Defined in: cose.ts:263

True when the message carries no payload.


kid ​

readonly kid: Uint8Array<ArrayBufferLike> | undefined

Defined in: cose.ts:257

The key identifier from the protected header, or from the unprotected header when absent there; undefined when there is none.


payloadLength ​

readonly payloadLength: number | null

Defined in: cose.ts:261

The payload length in bytes, or null for a detached payload.


protectedHeader ​

readonly protectedHeader: Uint8Array

Defined in: cose.ts:265

The serialized protected header, as signed.


tagged ​

readonly tagged: boolean

Defined in: cose.ts:259

True when the message is wrapped in CBOR tag 18.

Apache-2.0.