Trait ICspInformation_Impl
pub trait ICspInformation_Impl: IDispatch_Impl {
Show 17 methods
// Required methods
fn InitializeFromName(&self, strname: &BSTR) -> Result<()>;
fn InitializeFromType(
&self,
type: X509ProviderType,
palgorithm: Ref<'_, IObjectId>,
machinecontext: VARIANT_BOOL,
) -> Result<()>;
fn CspAlgorithms(&self) -> Result<ICspAlgorithms>;
fn HasHardwareRandomNumberGenerator(&self) -> Result<VARIANT_BOOL>;
fn IsHardwareDevice(&self) -> Result<VARIANT_BOOL>;
fn IsRemovable(&self) -> Result<VARIANT_BOOL>;
fn IsSoftwareDevice(&self) -> Result<VARIANT_BOOL>;
fn Valid(&self) -> Result<VARIANT_BOOL>;
fn MaxKeyContainerNameLength(&self) -> Result<i32>;
fn Name(&self) -> Result<BSTR>;
fn Type(&self) -> Result<X509ProviderType>;
fn Version(&self) -> Result<i32>;
fn KeySpec(&self) -> Result<X509KeySpec>;
fn IsSmartCard(&self) -> Result<VARIANT_BOOL>;
fn GetDefaultSecurityDescriptor(
&self,
machinecontext: VARIANT_BOOL,
) -> Result<BSTR>;
fn LegacyCsp(&self) -> Result<VARIANT_BOOL>;
fn GetCspStatusFromOperations(
&self,
palgorithm: Ref<'_, IObjectId>,
operations: AlgorithmOperationFlags,
) -> Result<ICspStatus>;
}
Required Methods§
fn InitializeFromName(&self, strname: &BSTR) -> Result<()>
fn InitializeFromType( &self, type: X509ProviderType, palgorithm: Ref<'_, IObjectId>, machinecontext: VARIANT_BOOL, ) -> Result<()>
fn CspAlgorithms(&self) -> Result<ICspAlgorithms>
fn HasHardwareRandomNumberGenerator(&self) -> Result<VARIANT_BOOL>
fn IsHardwareDevice(&self) -> Result<VARIANT_BOOL>
fn IsRemovable(&self) -> Result<VARIANT_BOOL>
fn IsSoftwareDevice(&self) -> Result<VARIANT_BOOL>
fn Valid(&self) -> Result<VARIANT_BOOL>
fn MaxKeyContainerNameLength(&self) -> Result<i32>
fn Name(&self) -> Result<BSTR>
fn Type(&self) -> Result<X509ProviderType>
fn Version(&self) -> Result<i32>
fn KeySpec(&self) -> Result<X509KeySpec>
fn IsSmartCard(&self) -> Result<VARIANT_BOOL>
fn GetDefaultSecurityDescriptor( &self, machinecontext: VARIANT_BOOL, ) -> Result<BSTR>
fn LegacyCsp(&self) -> Result<VARIANT_BOOL>
fn GetCspStatusFromOperations( &self, palgorithm: Ref<'_, IObjectId>, operations: AlgorithmOperationFlags, ) -> Result<ICspStatus>
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.