Struct windows::Win32::Security::Cryptography::Certificates::ICEnroll2
pub struct ICEnroll2(/* private fields */);
Implementations§
§impl ICEnroll2
impl ICEnroll2
pub unsafe fn createFilePKCS10<P0, P1, P2>( &self, dnname: P0, usage: P1, wszpkcs10filename: P2 ) -> Result<()>
pub unsafe fn acceptFilePKCS7<P0>(&self, wszpkcs7filename: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn createPKCS10<P0, P1>(&self, dnname: P0, usage: P1) -> Result<BSTR>
pub unsafe fn acceptPKCS7<P0>(&self, pkcs7: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn getCertFromPKCS7<P0>(&self, wszpkcs7: P0) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn enumProviders(&self, dwindex: i32, dwflags: i32) -> Result<BSTR>
pub unsafe fn enumContainers(&self, dwindex: i32) -> Result<BSTR>
pub unsafe fn freeRequestInfo<P0>(&self, pkcs7orpkcs10: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn MyStoreName(&self) -> Result<BSTR>
pub unsafe fn SetMyStoreName<P0>(&self, bstrname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn MyStoreType(&self) -> Result<BSTR>
pub unsafe fn SetMyStoreType<P0>(&self, bstrtype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn MyStoreFlags(&self) -> Result<i32>
pub unsafe fn SetMyStoreFlags(&self, dwflags: i32) -> Result<()>
pub unsafe fn CAStoreName(&self) -> Result<BSTR>
pub unsafe fn SetCAStoreName<P0>(&self, bstrname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn CAStoreType(&self) -> Result<BSTR>
pub unsafe fn SetCAStoreType<P0>(&self, bstrtype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn CAStoreFlags(&self) -> Result<i32>
pub unsafe fn SetCAStoreFlags(&self, dwflags: i32) -> Result<()>
pub unsafe fn RootStoreName(&self) -> Result<BSTR>
pub unsafe fn SetRootStoreName<P0>(&self, bstrname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RootStoreType(&self) -> Result<BSTR>
pub unsafe fn SetRootStoreType<P0>(&self, bstrtype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RootStoreFlags(&self) -> Result<i32>
pub unsafe fn SetRootStoreFlags(&self, dwflags: i32) -> Result<()>
pub unsafe fn RequestStoreName(&self) -> Result<BSTR>
pub unsafe fn SetRequestStoreName<P0>(&self, bstrname: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RequestStoreType(&self) -> Result<BSTR>
pub unsafe fn SetRequestStoreType<P0>(&self, bstrtype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RequestStoreFlags(&self) -> Result<i32>
pub unsafe fn SetRequestStoreFlags(&self, dwflags: i32) -> Result<()>
pub unsafe fn ContainerName(&self) -> Result<BSTR>
pub unsafe fn SetContainerName<P0>(&self, bstrcontainer: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn ProviderName(&self) -> Result<BSTR>
pub unsafe fn SetProviderName<P0>(&self, bstrprovider: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn ProviderType(&self) -> Result<i32>
pub unsafe fn SetProviderType(&self, dwtype: i32) -> Result<()>
pub unsafe fn KeySpec(&self) -> Result<i32>
pub unsafe fn SetKeySpec(&self, dw: i32) -> Result<()>
pub unsafe fn ProviderFlags(&self) -> Result<i32>
pub unsafe fn SetProviderFlags(&self, dwflags: i32) -> Result<()>
pub unsafe fn UseExistingKeySet(&self) -> Result<BOOL>
pub unsafe fn SetUseExistingKeySet<P0>(
&self,
fuseexistingkeys: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn GenKeyFlags(&self) -> Result<i32>
pub unsafe fn SetGenKeyFlags(&self, dwflags: i32) -> Result<()>
pub unsafe fn DeleteRequestCert(&self) -> Result<BOOL>
pub unsafe fn SetDeleteRequestCert<P0>(&self, fdelete: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn WriteCertToCSP(&self) -> Result<BOOL>
pub unsafe fn SetWriteCertToCSP<P0>(&self, fbool: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn SPCFileName(&self) -> Result<BSTR>
pub unsafe fn SetSPCFileName<P0>(&self, bstr: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn PVKFileName(&self) -> Result<BSTR>
pub unsafe fn SetPVKFileName<P0>(&self, bstr: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn HashAlgorithm(&self) -> Result<BSTR>
pub unsafe fn SetHashAlgorithm<P0>(&self, bstr: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn addCertTypeToRequest<P0>(&self, certtype: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn addNameValuePairToSignature<P0, P1>( &self, name: P0, value: P1 ) -> Result<()>
pub unsafe fn WriteCertToUserDS(&self) -> Result<BOOL>
pub unsafe fn SetWriteCertToUserDS<P0>(&self, fbool: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn EnableT61DNEncoding(&self) -> Result<BOOL>
pub unsafe fn SetEnableT61DNEncoding<P0>(&self, fbool: P0) -> Result<()>where
P0: IntoParam<BOOL>,
Trait Implementations§
§impl Interface for ICEnroll2
impl Interface for ICEnroll2
§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 ICEnroll2
impl StructuralPartialEq for ICEnroll2
Auto Trait Implementations§
impl RefUnwindSafe for ICEnroll2
impl !Send for ICEnroll2
impl !Sync for ICEnroll2
impl Unpin for ICEnroll2
impl UnwindSafe for ICEnroll2
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