pub struct Sign { /* private fields */ }Expand description
A module for signing
Implementations§
Source§impl Sign
impl Sign
Sourcepub fn new<P>(module: P) -> Result<Self, Error>
pub fn new<P>(module: P) -> Result<Self, Error>
Start a new sign operation on a module located at a path
Sourcepub fn write_as<S>(&mut self, name: S) -> Result<&mut Self, Error>
pub fn write_as<S>(&mut self, name: S) -> Result<&mut Self, Error>
Write the signed file to the same directory as the input module as a specific name