Struct jormungandr_automation::testing::Openssl
pub struct Openssl {
program: PathBuf,
}
Fields§
§program: PathBuf
Implementations§
§impl Openssl
impl Openssl
pub fn new() -> Result<Openssl, Error>
pub fn version(&self) -> Result<String, Error>
pub fn genrsa(&self, length: u32, out_file: &ChildPath) -> Result<String, Error>
pub fn pkcs8( &self, in_file: &ChildPath, out_file: &ChildPath ) -> Result<String, Error>
pub fn req( &self, prv_key: &ChildPath, out_cert: &ChildPath ) -> Result<String, Error>
pub fn x509( &self, prv_key: &ChildPath, in_cert: &ChildPath, out_cert: &ChildPath ) -> Result<String, Error>
pub fn convert_to_der( &self, in_cert: &ChildPath, out_der: &ChildPath ) -> Result<String, Error>
Auto Trait Implementations§
impl RefUnwindSafe for Openssl
impl Send for Openssl
impl Sync for Openssl
impl Unpin for Openssl
impl UnwindSafe for Openssl
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request