windows::Win32::Security::Cryptography::Certificates

Trait ICEnroll_Impl

pub trait ICEnroll_Impl: IDispatch_Impl {
Show 56 methods // Required methods fn createFilePKCS10( &self, dnname: &BSTR, usage: &BSTR, wszpkcs10filename: &BSTR, ) -> Result<()>; fn acceptFilePKCS7(&self, wszpkcs7filename: &BSTR) -> Result<()>; fn createPKCS10(&self, dnname: &BSTR, usage: &BSTR) -> Result<BSTR>; fn acceptPKCS7(&self, pkcs7: &BSTR) -> Result<()>; fn getCertFromPKCS7(&self, wszpkcs7: &BSTR) -> Result<BSTR>; fn enumProviders(&self, dwindex: i32, dwflags: i32) -> Result<BSTR>; fn enumContainers(&self, dwindex: i32) -> Result<BSTR>; fn freeRequestInfo(&self, pkcs7orpkcs10: &BSTR) -> Result<()>; fn MyStoreName(&self) -> Result<BSTR>; fn SetMyStoreName(&self, bstrname: &BSTR) -> Result<()>; fn MyStoreType(&self) -> Result<BSTR>; fn SetMyStoreType(&self, bstrtype: &BSTR) -> Result<()>; fn MyStoreFlags(&self) -> Result<i32>; fn SetMyStoreFlags(&self, dwflags: i32) -> Result<()>; fn CAStoreName(&self) -> Result<BSTR>; fn SetCAStoreName(&self, bstrname: &BSTR) -> Result<()>; fn CAStoreType(&self) -> Result<BSTR>; fn SetCAStoreType(&self, bstrtype: &BSTR) -> Result<()>; fn CAStoreFlags(&self) -> Result<i32>; fn SetCAStoreFlags(&self, dwflags: i32) -> Result<()>; fn RootStoreName(&self) -> Result<BSTR>; fn SetRootStoreName(&self, bstrname: &BSTR) -> Result<()>; fn RootStoreType(&self) -> Result<BSTR>; fn SetRootStoreType(&self, bstrtype: &BSTR) -> Result<()>; fn RootStoreFlags(&self) -> Result<i32>; fn SetRootStoreFlags(&self, dwflags: i32) -> Result<()>; fn RequestStoreName(&self) -> Result<BSTR>; fn SetRequestStoreName(&self, bstrname: &BSTR) -> Result<()>; fn RequestStoreType(&self) -> Result<BSTR>; fn SetRequestStoreType(&self, bstrtype: &BSTR) -> Result<()>; fn RequestStoreFlags(&self) -> Result<i32>; fn SetRequestStoreFlags(&self, dwflags: i32) -> Result<()>; fn ContainerName(&self) -> Result<BSTR>; fn SetContainerName(&self, bstrcontainer: &BSTR) -> Result<()>; fn ProviderName(&self) -> Result<BSTR>; fn SetProviderName(&self, bstrprovider: &BSTR) -> Result<()>; fn ProviderType(&self) -> Result<i32>; fn SetProviderType(&self, dwtype: i32) -> Result<()>; fn KeySpec(&self) -> Result<i32>; fn SetKeySpec(&self, dw: i32) -> Result<()>; fn ProviderFlags(&self) -> Result<i32>; fn SetProviderFlags(&self, dwflags: i32) -> Result<()>; fn UseExistingKeySet(&self) -> Result<BOOL>; fn SetUseExistingKeySet(&self, fuseexistingkeys: BOOL) -> Result<()>; fn GenKeyFlags(&self) -> Result<i32>; fn SetGenKeyFlags(&self, dwflags: i32) -> Result<()>; fn DeleteRequestCert(&self) -> Result<BOOL>; fn SetDeleteRequestCert(&self, fdelete: BOOL) -> Result<()>; fn WriteCertToCSP(&self) -> Result<BOOL>; fn SetWriteCertToCSP(&self, fbool: BOOL) -> Result<()>; fn SPCFileName(&self) -> Result<BSTR>; fn SetSPCFileName(&self, bstr: &BSTR) -> Result<()>; fn PVKFileName(&self) -> Result<BSTR>; fn SetPVKFileName(&self, bstr: &BSTR) -> Result<()>; fn HashAlgorithm(&self) -> Result<BSTR>; fn SetHashAlgorithm(&self, bstr: &BSTR) -> Result<()>;
}

Required Methods§

fn createFilePKCS10( &self, dnname: &BSTR, usage: &BSTR, wszpkcs10filename: &BSTR, ) -> Result<()>

fn acceptFilePKCS7(&self, wszpkcs7filename: &BSTR) -> Result<()>

fn createPKCS10(&self, dnname: &BSTR, usage: &BSTR) -> Result<BSTR>

fn acceptPKCS7(&self, pkcs7: &BSTR) -> Result<()>

fn getCertFromPKCS7(&self, wszpkcs7: &BSTR) -> Result<BSTR>

fn enumProviders(&self, dwindex: i32, dwflags: i32) -> Result<BSTR>

fn enumContainers(&self, dwindex: i32) -> Result<BSTR>

fn freeRequestInfo(&self, pkcs7orpkcs10: &BSTR) -> Result<()>

fn MyStoreName(&self) -> Result<BSTR>

fn SetMyStoreName(&self, bstrname: &BSTR) -> Result<()>

fn MyStoreType(&self) -> Result<BSTR>

fn SetMyStoreType(&self, bstrtype: &BSTR) -> Result<()>

fn MyStoreFlags(&self) -> Result<i32>

fn SetMyStoreFlags(&self, dwflags: i32) -> Result<()>

fn CAStoreName(&self) -> Result<BSTR>

fn SetCAStoreName(&self, bstrname: &BSTR) -> Result<()>

fn CAStoreType(&self) -> Result<BSTR>

fn SetCAStoreType(&self, bstrtype: &BSTR) -> Result<()>

fn CAStoreFlags(&self) -> Result<i32>

fn SetCAStoreFlags(&self, dwflags: i32) -> Result<()>

fn RootStoreName(&self) -> Result<BSTR>

fn SetRootStoreName(&self, bstrname: &BSTR) -> Result<()>

fn RootStoreType(&self) -> Result<BSTR>

fn SetRootStoreType(&self, bstrtype: &BSTR) -> Result<()>

fn RootStoreFlags(&self) -> Result<i32>

fn SetRootStoreFlags(&self, dwflags: i32) -> Result<()>

fn RequestStoreName(&self) -> Result<BSTR>

fn SetRequestStoreName(&self, bstrname: &BSTR) -> Result<()>

fn RequestStoreType(&self) -> Result<BSTR>

fn SetRequestStoreType(&self, bstrtype: &BSTR) -> Result<()>

fn RequestStoreFlags(&self) -> Result<i32>

fn SetRequestStoreFlags(&self, dwflags: i32) -> Result<()>

fn ContainerName(&self) -> Result<BSTR>

fn SetContainerName(&self, bstrcontainer: &BSTR) -> Result<()>

fn ProviderName(&self) -> Result<BSTR>

fn SetProviderName(&self, bstrprovider: &BSTR) -> Result<()>

fn ProviderType(&self) -> Result<i32>

fn SetProviderType(&self, dwtype: i32) -> Result<()>

fn KeySpec(&self) -> Result<i32>

fn SetKeySpec(&self, dw: i32) -> Result<()>

fn ProviderFlags(&self) -> Result<i32>

fn SetProviderFlags(&self, dwflags: i32) -> Result<()>

fn UseExistingKeySet(&self) -> Result<BOOL>

fn SetUseExistingKeySet(&self, fuseexistingkeys: BOOL) -> Result<()>

fn GenKeyFlags(&self) -> Result<i32>

fn SetGenKeyFlags(&self, dwflags: i32) -> Result<()>

fn DeleteRequestCert(&self) -> Result<BOOL>

fn SetDeleteRequestCert(&self, fdelete: BOOL) -> Result<()>

fn WriteCertToCSP(&self) -> Result<BOOL>

fn SetWriteCertToCSP(&self, fbool: BOOL) -> Result<()>

fn SPCFileName(&self) -> Result<BSTR>

fn SetSPCFileName(&self, bstr: &BSTR) -> Result<()>

fn PVKFileName(&self) -> Result<BSTR>

fn SetPVKFileName(&self, bstr: &BSTR) -> Result<()>

fn HashAlgorithm(&self) -> Result<BSTR>

fn SetHashAlgorithm(&self, bstr: &BSTR) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§