Trait IX509PrivateKey2_Impl
pub trait IX509PrivateKey2_Impl: IX509PrivateKey_Impl {
// Required methods
fn HardwareKeyUsage(&self) -> Result<X509HardwareKeyUsageFlags>;
fn SetHardwareKeyUsage(
&self,
value: X509HardwareKeyUsageFlags,
) -> Result<()>;
fn AlternateStorageLocation(&self) -> Result<BSTR>;
fn SetAlternateStorageLocation(&self, value: &BSTR) -> Result<()>;
fn AlgorithmName(&self) -> Result<BSTR>;
fn SetAlgorithmName(&self, value: &BSTR) -> Result<()>;
fn get_AlgorithmParameters(&self, encoding: EncodingType) -> Result<BSTR>;
fn put_AlgorithmParameters(
&self,
encoding: EncodingType,
value: &BSTR,
) -> Result<()>;
fn ParametersExportType(&self) -> Result<X509KeyParametersExportType>;
fn SetParametersExportType(
&self,
value: X509KeyParametersExportType,
) -> Result<()>;
}
Required Methods§
fn HardwareKeyUsage(&self) -> Result<X509HardwareKeyUsageFlags>
fn SetHardwareKeyUsage(&self, value: X509HardwareKeyUsageFlags) -> Result<()>
fn AlternateStorageLocation(&self) -> Result<BSTR>
fn SetAlternateStorageLocation(&self, value: &BSTR) -> Result<()>
fn AlgorithmName(&self) -> Result<BSTR>
fn SetAlgorithmName(&self, value: &BSTR) -> Result<()>
fn get_AlgorithmParameters(&self, encoding: EncodingType) -> Result<BSTR>
fn put_AlgorithmParameters( &self, encoding: EncodingType, value: &BSTR, ) -> Result<()>
fn ParametersExportType(&self) -> Result<X509KeyParametersExportType>
fn SetParametersExportType( &self, value: X509KeyParametersExportType, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.