Struct windows::Win32::Security::Cryptography::Certificates::ICEnroll4
pub struct ICEnroll4(/* private fields */);
Implementations§
§impl ICEnroll4
impl ICEnroll4
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>,
pub unsafe fn InstallPKCS7<P0>(&self, pkcs7: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Reset(&self) -> Result<()>
pub unsafe fn GetSupportedKeySpec(&self) -> Result<i32>
pub unsafe fn GetKeyLen<P0, P1>(&self, fmin: P0, fexchange: P1) -> Result<i32>
pub unsafe fn EnumAlgs(&self, dwindex: i32, algclass: i32) -> Result<i32>
pub unsafe fn GetAlgName(&self, algid: i32) -> Result<BSTR>
pub unsafe fn SetReuseHardwareKeyIfUnableToGenNew<P0>(
&self,
freusehardwarekeyifunabletogennew: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn ReuseHardwareKeyIfUnableToGenNew(&self) -> Result<BOOL>
pub unsafe fn SetHashAlgID(&self, hashalgid: i32) -> Result<()>
pub unsafe fn HashAlgID(&self) -> Result<i32>
pub unsafe fn SetLimitExchangeKeyToEncipherment<P0>(
&self,
flimitexchangekeytoencipherment: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn LimitExchangeKeyToEncipherment(&self) -> Result<BOOL>
pub unsafe fn SetEnableSMIMECapabilities<P0>(
&self,
fenablesmimecapabilities: P0
) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn EnableSMIMECapabilities(&self) -> Result<BOOL>
pub unsafe fn SetPrivateKeyArchiveCertificate<P0>(
&self,
bstrcert: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn PrivateKeyArchiveCertificate(&self) -> Result<BSTR>
pub unsafe fn SetThumbPrint<P0>(&self, bstrthumbprint: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn ThumbPrint(&self) -> Result<BSTR>
pub unsafe fn binaryToString<P0>(
&self,
flags: i32,
strbinary: P0
) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn stringToBinary<P0>(
&self,
flags: i32,
strencoded: P0
) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn addExtensionToRequest<P0, P1>( &self, flags: i32, strname: P0, strvalue: P1 ) -> Result<()>
pub unsafe fn addAttributeToRequest<P0, P1>( &self, flags: i32, strname: P0, strvalue: P1 ) -> Result<()>
pub unsafe fn addNameValuePairToRequest<P0, P1>( &self, flags: i32, strname: P0, strvalue: P1 ) -> Result<()>
pub unsafe fn resetExtensions(&self) -> Result<()>
pub unsafe fn resetAttributes(&self) -> Result<()>
pub unsafe fn createRequest<P0, P1>( &self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: P0, usage: P1 ) -> Result<BSTR>
pub unsafe fn createFileRequest<P0, P1, P2>( &self, flags: CERT_CREATE_REQUEST_FLAGS, strdnname: P0, strusage: P1, strrequestfilename: P2 ) -> Result<()>
pub unsafe fn acceptResponse<P0>(&self, strresponse: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn acceptFileResponse<P0>(
&self,
strresponsefilename: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn getCertFromResponse<P0>(&self, strresponse: P0) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn getCertFromFileResponse<P0>(
&self,
strresponsefilename: P0
) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn createPFX<P0>(&self, strpassword: P0) -> Result<BSTR>where
P0: IntoParam<BSTR>,
pub unsafe fn createFilePFX<P0, P1>( &self, strpassword: P0, strpfxfilename: P1 ) -> Result<()>
pub unsafe fn setPendingRequestInfo<P0, P1, P2>( &self, lrequestid: i32, strcadns: P0, strcaname: P1, strfriendlyname: P2 ) -> Result<()>
pub unsafe fn enumPendingRequest( &self, lindex: i32, ldesiredproperty: PENDING_REQUEST_DESIRED_PROPERTY ) -> Result<VARIANT>
pub unsafe fn removePendingRequest<P0>(&self, strthumbprint: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn GetKeyLenEx( &self, lsizespec: XEKL_KEYSIZE, lkeyspec: XEKL_KEYSPEC ) -> Result<i32>
pub unsafe fn InstallPKCS7Ex<P0>(&self, pkcs7: P0) -> Result<i32>where
P0: IntoParam<BSTR>,
pub unsafe fn addCertTypeToRequestEx<P0, P1>( &self, ltype: ADDED_CERT_TYPE, bstroidorname: P0, lmajorversion: i32, fminorversion: P1, lminorversion: i32 ) -> Result<()>
pub unsafe fn getProviderType<P0>(&self, strprovname: P0) -> Result<i32>where
P0: IntoParam<BSTR>,
pub unsafe fn SetSignerCertificate<P0>(&self, bstrcert: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SetClientId(&self, lclientid: i32) -> Result<()>
pub unsafe fn ClientId(&self) -> Result<i32>
pub unsafe fn addBlobPropertyToCertificate<P0>(
&self,
lpropertyid: i32,
lreserved: i32,
bstrproperty: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn resetBlobProperties(&self) -> Result<()>
pub unsafe fn SetIncludeSubjectKeyID<P0>(&self, finclude: P0) -> Result<()>where
P0: IntoParam<BOOL>,
pub unsafe fn IncludeSubjectKeyID(&self) -> Result<BOOL>
Trait Implementations§
§impl Interface for ICEnroll4
impl Interface for ICEnroll4
§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 ICEnroll4
impl StructuralPartialEq for ICEnroll4
Auto Trait Implementations§
impl RefUnwindSafe for ICEnroll4
impl !Send for ICEnroll4
impl !Sync for ICEnroll4
impl Unpin for ICEnroll4
impl UnwindSafe for ICEnroll4
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