Skip to content
Thomas Fossati edited this page Aug 29, 2024 · 9 revisions

COSE TTC

flowchart TD
    subgraph COSE TTC signer
        A(datum)
        B(messageImprint)
        H([hash])
        D(nonce)
        S([Sign1])
        K{{SK_cose}}
        s(signature)
        subgraph phdr
            T(TST)
            .(...)
        end
        subgraph uhdr
            ...
        end
    end
    subgraph TSA
        t(((clock)))
        k{{SK_tsa}}
        ts([timestamp])
    end

    k-->ts
    t-->ts
    D-->ts
    B-->ts
    A-->H
    H -->B
    ts-->T
    K-->S
    phdr-->S
    A-->S
    S-->s
    s-->|signature|COSE-TTC
    phdr-->|phdr|COSE-TTC
    uhdr-->|uhdr|COSE-TTC
    A-->|payload|COSE-TTC
Loading

COSE CTT

flowchart TD
    subgraph COSE CTT signer
        D(nonce)
        A(datum)
        B(messageImprint)
        H([hash])
        S([Sign1])
        K{{SK_cose}}
        s(signature)
        subgraph phdr
            ...
        end
        subgraph uhdr
            TST(TST)
            other(...)
        end
    end
    subgraph TSA
        t(((clock)))
        k{{SK_tsa}}
        ts([timestamp])
    end

    A-->S    
    phdr-->S
    K-->S

    S-->s

    s-->H
    H-->B

    B-->ts
    D-->ts
    t-->ts
    k-->ts
    
    ts-->TST

    A-->|payload|COSE-CTT
    s-->|signature|COSE-CTT
    phdr-->|phdr|COSE-CTT
    uhdr-->|uhdr|COSE-CTT
Loading
Clone this wiki locally