openpgp-notes/book/source/mermaid/09-sigtree.md

502 B

flowchart TD
    subgraph Certificate
    pk["Primary Key"]
    uid["#quot;Alice #lt;alice@example.org#gt;#quot;"]
    sk["Signing Subkey"]

    usig(["PositiveCertification
    PrimaryUserID: true"])
    dksig(["DirectKeySignature"])
    sksig(["SubkeyBindingSignature
    KeyFlags: Sign Data
    EmbeddedSignature: BackSignature"])
    pk --- usig --> uid
    dksig --> pk --- dksig
    pk --- sksig --> sk
    end

    ds(["Data Signature"])
    data("Data")

    sk --- ds --> data