Struct windows::Security::Cryptography::Certificates::PfxImportParameters
pub struct PfxImportParameters(/* private fields */);
Implementations§
§impl PfxImportParameters
impl PfxImportParameters
pub fn new() -> Result<Self>
pub fn Exportable(&self) -> Result<ExportOption>
pub fn SetExportable(&self, value: ExportOption) -> Result<()>
pub fn KeyProtectionLevel(&self) -> Result<KeyProtectionLevel>
pub fn SetKeyProtectionLevel(&self, value: KeyProtectionLevel) -> Result<()>
pub fn InstallOptions(&self) -> Result<InstallOptions>
pub fn SetInstallOptions(&self, value: InstallOptions) -> Result<()>
pub fn FriendlyName(&self) -> Result<HSTRING>
pub fn SetFriendlyName(&self, value: &HSTRING) -> Result<()>
pub fn KeyStorageProviderName(&self) -> Result<HSTRING>
pub fn SetKeyStorageProviderName(&self, value: &HSTRING) -> Result<()>
pub fn ContainerNamePrefix(&self) -> Result<HSTRING>
pub fn SetContainerNamePrefix(&self, value: &HSTRING) -> Result<()>
pub fn ReaderName(&self) -> Result<HSTRING>
pub fn SetReaderName(&self, value: &HSTRING) -> Result<()>
Trait Implementations§
§impl Clone for PfxImportParameters
impl Clone for PfxImportParameters
§fn clone(&self) -> PfxImportParameters
fn clone(&self) -> PfxImportParameters
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 PfxImportParameters
impl Debug for PfxImportParameters
§impl From<&PfxImportParameters> for &IInspectable
impl From<&PfxImportParameters> for &IInspectable
§fn from(value: &PfxImportParameters) -> Self
fn from(value: &PfxImportParameters) -> Self
Converts to this type from the input type.
§impl From<&PfxImportParameters> for &IUnknown
impl From<&PfxImportParameters> for &IUnknown
§fn from(value: &PfxImportParameters) -> Self
fn from(value: &PfxImportParameters) -> Self
Converts to this type from the input type.
§impl From<PfxImportParameters> for IInspectable
impl From<PfxImportParameters> for IInspectable
§fn from(value: PfxImportParameters) -> Self
fn from(value: PfxImportParameters) -> Self
Converts to this type from the input type.
§impl From<PfxImportParameters> for IUnknown
impl From<PfxImportParameters> for IUnknown
§fn from(value: PfxImportParameters) -> Self
fn from(value: PfxImportParameters) -> Self
Converts to this type from the input type.
§impl Interface for PfxImportParameters
impl Interface for PfxImportParameters
§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 PfxImportParameters
impl PartialEq for PfxImportParameters
§fn eq(&self, other: &PfxImportParameters) -> bool
fn eq(&self, other: &PfxImportParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PfxImportParameters
impl Send for PfxImportParameters
impl StructuralPartialEq for PfxImportParameters
impl Sync for PfxImportParameters
Auto Trait Implementations§
impl RefUnwindSafe for PfxImportParameters
impl Unpin for PfxImportParameters
impl UnwindSafe for PfxImportParameters
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