Struct windows::Win32::Security::Cryptography::Certificates::ICspAlgorithm
pub struct ICspAlgorithm(/* private fields */);
Implementations§
§impl ICspAlgorithm
impl ICspAlgorithm
pub unsafe fn GetAlgorithmOid( &self, length: i32, algflags: AlgorithmFlags ) -> Result<IObjectId>
pub unsafe fn DefaultLength(&self) -> Result<i32>
pub unsafe fn IncrementLength(&self) -> Result<i32>
pub unsafe fn LongName(&self) -> Result<BSTR>
pub unsafe fn Valid(&self) -> Result<VARIANT_BOOL>
pub unsafe fn MaxLength(&self) -> Result<i32>
pub unsafe fn MinLength(&self) -> Result<i32>
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn Type(&self) -> Result<AlgorithmType>
pub unsafe fn Operations(&self) -> Result<AlgorithmOperationFlags>
Trait Implementations§
§impl Clone for ICspAlgorithm
impl Clone for ICspAlgorithm
§fn clone(&self) -> ICspAlgorithm
fn clone(&self) -> ICspAlgorithm
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for ICspAlgorithm
impl Debug for ICspAlgorithm
§impl From<&ICspAlgorithm> for &IDispatch
impl From<&ICspAlgorithm> for &IDispatch
§fn from(value: &ICspAlgorithm) -> Self
fn from(value: &ICspAlgorithm) -> Self
Converts to this type from the input type.
§impl From<&ICspAlgorithm> for &IUnknown
impl From<&ICspAlgorithm> for &IUnknown
§fn from(value: &ICspAlgorithm) -> Self
fn from(value: &ICspAlgorithm) -> Self
Converts to this type from the input type.
§impl From<ICspAlgorithm> for IDispatch
impl From<ICspAlgorithm> for IDispatch
§fn from(value: ICspAlgorithm) -> Self
fn from(value: ICspAlgorithm) -> Self
Converts to this type from the input type.
§impl From<ICspAlgorithm> for IUnknown
impl From<ICspAlgorithm> for IUnknown
§fn from(value: ICspAlgorithm) -> Self
fn from(value: ICspAlgorithm) -> Self
Converts to this type from the input type.
§impl Interface for ICspAlgorithm
impl Interface for ICspAlgorithm
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for ICspAlgorithm
impl PartialEq for ICspAlgorithm
§fn eq(&self, other: &ICspAlgorithm) -> bool
fn eq(&self, other: &ICspAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICspAlgorithm
impl StructuralPartialEq for ICspAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for ICspAlgorithm
impl !Send for ICspAlgorithm
impl !Sync for ICspAlgorithm
impl Unpin for ICspAlgorithm
impl UnwindSafe for ICspAlgorithm
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