Struct windows::Win32::Security::Cryptography::Certificates::ICertPropertySHA1Hash
pub struct ICertPropertySHA1Hash(/* private fields */);
Implementations§
§impl ICertPropertySHA1Hash
impl ICertPropertySHA1Hash
pub unsafe fn InitializeFromCertificate<P0, P1>(
&self,
machinecontext: P0,
encoding: EncodingType,
strcertificate: P1
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
P1: IntoParam<BSTR>,
pub unsafe fn InitializeDecode<P0>(
&self,
encoding: EncodingType,
strencodeddata: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn PropertyId(&self) -> Result<CERTENROLL_PROPERTYID>
pub unsafe fn SetPropertyId(&self, value: CERTENROLL_PROPERTYID) -> Result<()>
pub unsafe fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>
pub unsafe fn RemoveFromCertificate<P0, P1>(
&self,
machinecontext: P0,
encoding: EncodingType,
strcertificate: P1
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
P1: IntoParam<BSTR>,
pub unsafe fn SetValueOnCertificate<P0, P1>(
&self,
machinecontext: P0,
encoding: EncodingType,
strcertificate: P1
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
P1: IntoParam<BSTR>,
pub unsafe fn Initialize<P0>(
&self,
encoding: EncodingType,
strrenewalvalue: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn get_SHA1Hash(&self, encoding: EncodingType) -> Result<BSTR>
Trait Implementations§
§impl Clone for ICertPropertySHA1Hash
impl Clone for ICertPropertySHA1Hash
§fn clone(&self) -> ICertPropertySHA1Hash
fn clone(&self) -> ICertPropertySHA1Hash
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 ICertPropertySHA1Hash
impl Debug for ICertPropertySHA1Hash
§impl From<&ICertPropertySHA1Hash> for &ICertProperty
impl From<&ICertPropertySHA1Hash> for &ICertProperty
§fn from(value: &ICertPropertySHA1Hash) -> Self
fn from(value: &ICertPropertySHA1Hash) -> Self
Converts to this type from the input type.
§impl From<&ICertPropertySHA1Hash> for &IDispatch
impl From<&ICertPropertySHA1Hash> for &IDispatch
§fn from(value: &ICertPropertySHA1Hash) -> Self
fn from(value: &ICertPropertySHA1Hash) -> Self
Converts to this type from the input type.
§impl From<&ICertPropertySHA1Hash> for &IUnknown
impl From<&ICertPropertySHA1Hash> for &IUnknown
§fn from(value: &ICertPropertySHA1Hash) -> Self
fn from(value: &ICertPropertySHA1Hash) -> Self
Converts to this type from the input type.
§impl From<ICertPropertySHA1Hash> for ICertProperty
impl From<ICertPropertySHA1Hash> for ICertProperty
§fn from(value: ICertPropertySHA1Hash) -> Self
fn from(value: ICertPropertySHA1Hash) -> Self
Converts to this type from the input type.
§impl From<ICertPropertySHA1Hash> for IDispatch
impl From<ICertPropertySHA1Hash> for IDispatch
§fn from(value: ICertPropertySHA1Hash) -> Self
fn from(value: ICertPropertySHA1Hash) -> Self
Converts to this type from the input type.
§impl From<ICertPropertySHA1Hash> for IUnknown
impl From<ICertPropertySHA1Hash> for IUnknown
§fn from(value: ICertPropertySHA1Hash) -> Self
fn from(value: ICertPropertySHA1Hash) -> Self
Converts to this type from the input type.
§impl Interface for ICertPropertySHA1Hash
impl Interface for ICertPropertySHA1Hash
§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 ICertPropertySHA1Hash
impl PartialEq for ICertPropertySHA1Hash
§fn eq(&self, other: &ICertPropertySHA1Hash) -> bool
fn eq(&self, other: &ICertPropertySHA1Hash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ICertPropertySHA1Hash
impl StructuralPartialEq for ICertPropertySHA1Hash
Auto Trait Implementations§
impl RefUnwindSafe for ICertPropertySHA1Hash
impl !Send for ICertPropertySHA1Hash
impl !Sync for ICertPropertySHA1Hash
impl Unpin for ICertPropertySHA1Hash
impl UnwindSafe for ICertPropertySHA1Hash
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