openpgp-notes/book/assets/mermaid/09-sigtree.md
2023-12-13 15:18:12 +01:00

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