2015-02-25 22:18:43 +00:00
|
|
|
table_name("certificates")
|
2015-02-09 01:40:35 +00:00
|
|
|
description("Certificate Authorities installed in Keychains/ca-bundles.")
|
2014-08-17 08:44:22 +00:00
|
|
|
schema([
|
2015-02-25 22:18:43 +00:00
|
|
|
Column("common_name", TEXT, "Certificate CommonName"),
|
2015-11-29 23:12:01 +00:00
|
|
|
Column("subject", TEXT, "Certificate distinguished name"),
|
2015-12-18 01:10:06 +00:00
|
|
|
Column("issuer", TEXT, "Certificate issuer distinguished name"),
|
2015-02-25 22:18:43 +00:00
|
|
|
Column("ca", INTEGER, "1 if CA: true (certificate is an authority) else 0"),
|
2015-12-18 01:10:06 +00:00
|
|
|
Column("self_signed", INTEGER, "1 if self-signed, else 0"),
|
2015-02-05 05:47:02 +00:00
|
|
|
Column("not_valid_before", DATETIME, "Lower bound of valid date"),
|
|
|
|
Column("not_valid_after", DATETIME, "Certificate expiration data"),
|
2015-11-29 23:12:01 +00:00
|
|
|
Column("signing_algorithm", TEXT, "Signing algorithm used"),
|
2015-02-05 05:47:02 +00:00
|
|
|
Column("key_algorithm", TEXT, "Key algorithm used"),
|
2016-01-06 02:48:34 +00:00
|
|
|
Column("key_strength", TEXT, "Key size used for RSA/DSA, or curve name"),
|
2015-02-05 05:47:02 +00:00
|
|
|
Column("key_usage", TEXT, "Certificate key usage and extended key usage"),
|
|
|
|
Column("subject_key_id", TEXT, "SKID an optionally included SHA1"),
|
|
|
|
Column("authority_key_id", TEXT, "AKID an optionally included SHA1"),
|
|
|
|
Column("sha1", TEXT, "SHA1 hash of the raw certificate contents"),
|
2015-02-25 22:18:43 +00:00
|
|
|
Column("path", TEXT, "Path to Keychain or PEM bundle"),
|
2018-04-18 14:30:12 +00:00
|
|
|
Column("serial", TEXT, "Certificate serial number"),
|
2014-08-17 08:44:22 +00:00
|
|
|
|
|
|
|
])
|
2016-05-18 19:23:52 +00:00
|
|
|
attributes(cacheable=True)
|
2015-02-25 22:18:43 +00:00
|
|
|
implementation("certificates@genCerts")
|