Oui.CodesignSourceCode signing utilities for macOS binaries.
type sign_options = {force : bool;timestamp : bool;required for Developer ID distribution
*)entitlements : string option;path to entitlements plist file
*)}val sign_binary :
?options:sign_options ->
identity:signing_identity ->
OpamFilename.t ->
unitsign_binary ~identity binary signs a binary with the specified identity and options.
sign_binary_adhoc binary signs a binary with ad-hoc signature.
val sign_binary_with_dev_id :
?force:bool ->
?timestamp:bool ->
cert_name:string ->
OpamFilename.t ->
unitsign_binary_with_dev_id ~cert_name binary signs a binary with Developer ID certificate
verify_signature binary returns true if the binary has a valid signature.