Struct windows::Win32::Security::Cryptography::Certificates::IObjectId
pub struct IObjectId(/* private fields */);
Implementations§
§impl IObjectId
impl IObjectId
pub unsafe fn InitializeFromName(&self, name: CERTENROLL_OBJECTID) -> Result<()>
pub unsafe fn InitializeFromValue<P0>(&self, strvalue: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn InitializeFromAlgorithmName<P0>(
&self,
groupid: ObjectIdGroupId,
keyflags: ObjectIdPublicKeyFlags,
algflags: AlgorithmFlags,
stralgorithmname: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Name(&self) -> Result<CERTENROLL_OBJECTID>
pub unsafe fn FriendlyName(&self) -> Result<BSTR>
pub unsafe fn SetFriendlyName<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Value(&self) -> Result<BSTR>
pub unsafe fn GetAlgorithmName( &self, groupid: ObjectIdGroupId, keyflags: ObjectIdPublicKeyFlags ) -> Result<BSTR>
Trait Implementations§
§impl Interface for IObjectId
impl Interface for IObjectId
§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 moreimpl Eq for IObjectId
impl StructuralPartialEq for IObjectId
Auto Trait Implementations§
impl RefUnwindSafe for IObjectId
impl !Send for IObjectId
impl !Sync for IObjectId
impl Unpin for IObjectId
impl UnwindSafe for IObjectId
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