]> git.proxmox.com Git - proxmox-acme-rs.git/commitdiff
even more documentation
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 4 May 2021 09:21:30 +0000 (11:21 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 4 May 2021 09:21:30 +0000 (11:21 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/util.rs

index bfef364dff648e53f5926df381985a05e200681a..6b48e717822d1a8b135a4a0f900abcd2b906f7f2 100644 (file)
@@ -1,3 +1,7 @@
+//! Certificate utility methods for convenience (such as CSR generation).
+
+#![deny(missing_docs)]
+
 use std::collections::HashMap;
 
 use openssl::hash::MessageDigest;
@@ -8,6 +12,7 @@ use openssl::x509::{X509Extension, X509Name, X509Req};
 
 use crate::Error;
 
+/// A certificate signing request.
 pub struct Csr {
     /// DER encoded certificate request.
     pub data: Vec<u8>,