aboutsummaryrefslogtreecommitdiff
path: root/bpkg/auth
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/auth')
-rw-r--r--bpkg/auth8
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/auth b/bpkg/auth
index 3d1ff65..a608667 100644
--- a/bpkg/auth
+++ b/bpkg/auth
@@ -91,6 +91,14 @@ namespace bpkg
const string& key_name, // --key option value
const string& cert_pem,
const dir_path& repository);
+
+ // Parse a repository certificate. The repository location argument is used
+ // for diagnostics only.
+ //
+ shared_ptr<certificate>
+ parse_certificate (const common_options&,
+ const string& cert_pem,
+ const repository_location&);
}
#endif // BPKG_AUTH