Skip to content

messmerd/SignatureUtils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignatureUtils

Windows digital signature utils

Wincrypt is ugly, painful to work with, and confusing, so I created this project in modern C++ as a way to avoid directly using it for simple queries about Windows digital signatures.

Currently provides the following functions:

bool IsSigned(const std::string& filename);

std::optional<CertInfo> GetIssuer(const std::string& filename);
std::optional<CertInfo> GetSubject(const std::string& filename);

std::optional<std::string> GetIssuerName(const std::string& filename);
std::optional<std::string> GetSubjectName(const std::string& filename);

Created by Dalton Messmer <messmer.dalton(at)gmail(dot)com>.