{
  "id": "pgp_public_key_block",
  "name": "OpenPGP public key block",
  "status": "draft",
  "doc": "OpenPGP public key (certificate) in ASCII armor: Radix-64 text between -----BEGIN PGP PUBLIC KEY BLOCK----- and -----END PGP PUBLIC KEY BLOCK----- (RFC 9580, section 6.2), as exported by gpg --armor --export and published on key servers. It holds no secret material; for the secret key see pgp_private_key_block.",
  "categories": [
    {
      "id": "cryptography",
      "name": "Cryptographic identifiers"
    }
  ],
  "langs": [
    {
      "id": "common",
      "name": "Common to most languages"
    }
  ],
  "is_pii": false,
  "regexp": "^-----BEGIN PGP PUBLIC KEY BLOCK-----[\\s\\S]+-----END PGP PUBLIC KEY BLOCK-----$",
  "examples": [
    {
      "value": "-----BEGIN PGP PUBLIC KEY BLOCK-----\n\nxjMEU/NfCxYJKwYBBAHaRw8BAQdAPwmJlL3ZFu1AUxl5NOSofIBzOhKA1i+AEJku\nQ+47JAY=\n-----END PGP PUBLIC KEY BLOCK-----",
      "description": "Sample version 4 Ed25519 key of RFC 9580, appendix A.1"
    },
    {
      "value": "-----BEGIN PGP SIGNATURE-----\n\niF4EABYIAAYFAlX5X5UACgkQjP3hIZeWWpr2IgD/VvkMypjiECY3vZg/2xbBMd/S\nftgr9N3lYG4NdWrtM2YBANCcT6EVJ/A44PV/IgHYLy6iyQMyZfps60iehUuuYbQE\n-----END PGP SIGNATURE-----",
      "valid": false,
      "description": "OpenPGP signature of RFC 9580, appendix A.2"
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.rfc-editor.org/rfc/rfc9580#section-6.2"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Pretty_Good_Privacy"
    }
  ],
  "type": "datatype",
  "translations": {}
}