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

Trait IEnroll_Impl

pub trait IEnroll_Impl: IUnknownImpl {
Show 70 methods // Required methods fn createFilePKCS10WStr( &self, dnname: &PCWSTR, usage: &PCWSTR, wszpkcs10filename: &PCWSTR, ) -> Result<()>; fn acceptFilePKCS7WStr(&self, wszpkcs7filename: &PCWSTR) -> Result<()>; fn createPKCS10WStr( &self, dnname: &PCWSTR, usage: &PCWSTR, ppkcs10blob: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>; fn acceptPKCS7Blob(&self, pblobpkcs7: *mut CRYPT_INTEGER_BLOB) -> Result<()>; fn getCertContextFromPKCS7( &self, pblobpkcs7: *mut CRYPT_INTEGER_BLOB, ) -> *mut CERT_CONTEXT; fn getMyStore(&self) -> HCERTSTORE; fn getCAStore(&self) -> HCERTSTORE; fn getROOTHStore(&self) -> HCERTSTORE; fn enumProvidersWStr( &self, dwindex: i32, dwflags: i32, pbstrprovname: *mut PWSTR, ) -> Result<()>; fn enumContainersWStr(&self, dwindex: i32, pbstr: *mut PWSTR) -> Result<()>; fn freeRequestInfoBlob( &self, pkcs7orpkcs10: &CRYPT_INTEGER_BLOB, ) -> Result<()>; fn MyStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>; fn SetMyStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>; fn MyStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>; fn SetMyStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>; fn MyStoreFlags(&self, pdwflags: *mut i32) -> Result<()>; fn SetMyStoreFlags(&self, dwflags: i32) -> Result<()>; fn CAStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>; fn SetCAStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>; fn CAStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>; fn SetCAStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>; fn CAStoreFlags(&self, pdwflags: *mut i32) -> Result<()>; fn SetCAStoreFlags(&self, dwflags: i32) -> Result<()>; fn RootStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>; fn SetRootStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>; fn RootStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>; fn SetRootStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>; fn RootStoreFlags(&self, pdwflags: *mut i32) -> Result<()>; fn SetRootStoreFlags(&self, dwflags: i32) -> Result<()>; fn RequestStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>; fn SetRequestStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>; fn RequestStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>; fn SetRequestStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>; fn RequestStoreFlags(&self, pdwflags: *mut i32) -> Result<()>; fn SetRequestStoreFlags(&self, dwflags: i32) -> Result<()>; fn ContainerNameWStr(&self, szwcontainer: *mut PWSTR) -> Result<()>; fn SetContainerNameWStr(&self, szwcontainer: &PCWSTR) -> Result<()>; fn ProviderNameWStr(&self, szwprovider: *mut PWSTR) -> Result<()>; fn SetProviderNameWStr(&self, szwprovider: &PCWSTR) -> Result<()>; fn ProviderType(&self, pdwtype: *mut i32) -> Result<()>; fn SetProviderType(&self, dwtype: i32) -> Result<()>; fn KeySpec(&self, pdw: *mut i32) -> Result<()>; fn SetKeySpec(&self, dw: i32) -> Result<()>; fn ProviderFlags(&self, pdwflags: *mut i32) -> Result<()>; fn SetProviderFlags(&self, dwflags: i32) -> Result<()>; fn UseExistingKeySet(&self, fuseexistingkeys: *mut BOOL) -> Result<()>; fn SetUseExistingKeySet(&self, fuseexistingkeys: BOOL) -> Result<()>; fn GenKeyFlags(&self, pdwflags: *mut i32) -> Result<()>; fn SetGenKeyFlags(&self, dwflags: i32) -> Result<()>; fn DeleteRequestCert(&self, fdelete: *mut BOOL) -> Result<()>; fn SetDeleteRequestCert(&self, fdelete: BOOL) -> Result<()>; fn WriteCertToUserDS(&self, fbool: *mut BOOL) -> Result<()>; fn SetWriteCertToUserDS(&self, fbool: BOOL) -> Result<()>; fn EnableT61DNEncoding(&self, fbool: *mut BOOL) -> Result<()>; fn SetEnableT61DNEncoding(&self, fbool: BOOL) -> Result<()>; fn WriteCertToCSP(&self, fbool: *mut BOOL) -> Result<()>; fn SetWriteCertToCSP(&self, fbool: BOOL) -> Result<()>; fn SPCFileNameWStr(&self, szw: *mut PWSTR) -> Result<()>; fn SetSPCFileNameWStr(&self, szw: &PCWSTR) -> Result<()>; fn PVKFileNameWStr(&self, szw: *mut PWSTR) -> Result<()>; fn SetPVKFileNameWStr(&self, szw: &PCWSTR) -> Result<()>; fn HashAlgorithmWStr(&self, szw: *mut PWSTR) -> Result<()>; fn SetHashAlgorithmWStr(&self, szw: &PCWSTR) -> Result<()>; fn RenewalCertificate( &self, ppcertcontext: *mut *mut CERT_CONTEXT, ) -> Result<()>; fn SetRenewalCertificate( &self, pcertcontext: *const CERT_CONTEXT, ) -> Result<()>; fn AddCertTypeToRequestWStr(&self, szw: &PCWSTR) -> Result<()>; fn AddNameValuePairToSignatureWStr( &self, name: &PCWSTR, value: &PCWSTR, ) -> Result<()>; fn AddExtensionsToRequest( &self, pcertextensions: *mut CERT_EXTENSIONS, ) -> Result<()>; fn AddAuthenticatedAttributesToPKCS7Request( &self, pattributes: *mut CRYPT_ATTRIBUTES, ) -> Result<()>; fn CreatePKCS7RequestFromRequest( &self, prequest: *mut CRYPT_INTEGER_BLOB, psigningcertcontext: *const CERT_CONTEXT, ppkcs7blob: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>;
}

Required Methods§

fn createFilePKCS10WStr( &self, dnname: &PCWSTR, usage: &PCWSTR, wszpkcs10filename: &PCWSTR, ) -> Result<()>

fn acceptFilePKCS7WStr(&self, wszpkcs7filename: &PCWSTR) -> Result<()>

fn createPKCS10WStr( &self, dnname: &PCWSTR, usage: &PCWSTR, ppkcs10blob: *mut CRYPT_INTEGER_BLOB, ) -> Result<()>

fn acceptPKCS7Blob(&self, pblobpkcs7: *mut CRYPT_INTEGER_BLOB) -> Result<()>

fn getCertContextFromPKCS7( &self, pblobpkcs7: *mut CRYPT_INTEGER_BLOB, ) -> *mut CERT_CONTEXT

fn getMyStore(&self) -> HCERTSTORE

fn getCAStore(&self) -> HCERTSTORE

fn getROOTHStore(&self) -> HCERTSTORE

fn enumProvidersWStr( &self, dwindex: i32, dwflags: i32, pbstrprovname: *mut PWSTR, ) -> Result<()>

fn enumContainersWStr(&self, dwindex: i32, pbstr: *mut PWSTR) -> Result<()>

fn freeRequestInfoBlob(&self, pkcs7orpkcs10: &CRYPT_INTEGER_BLOB) -> Result<()>

fn MyStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>

fn SetMyStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>

fn MyStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>

fn SetMyStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>

fn MyStoreFlags(&self, pdwflags: *mut i32) -> Result<()>

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

fn CAStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>

fn SetCAStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>

fn CAStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>

fn SetCAStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>

fn CAStoreFlags(&self, pdwflags: *mut i32) -> Result<()>

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

fn RootStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>

fn SetRootStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>

fn RootStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>

fn SetRootStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>

fn RootStoreFlags(&self, pdwflags: *mut i32) -> Result<()>

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

fn RequestStoreNameWStr(&self, szwname: *mut PWSTR) -> Result<()>

fn SetRequestStoreNameWStr(&self, szwname: &PCWSTR) -> Result<()>

fn RequestStoreTypeWStr(&self, szwtype: *mut PWSTR) -> Result<()>

fn SetRequestStoreTypeWStr(&self, szwtype: &PCWSTR) -> Result<()>

fn RequestStoreFlags(&self, pdwflags: *mut i32) -> Result<()>

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

fn ContainerNameWStr(&self, szwcontainer: *mut PWSTR) -> Result<()>

fn SetContainerNameWStr(&self, szwcontainer: &PCWSTR) -> Result<()>

fn ProviderNameWStr(&self, szwprovider: *mut PWSTR) -> Result<()>

fn SetProviderNameWStr(&self, szwprovider: &PCWSTR) -> Result<()>

fn ProviderType(&self, pdwtype: *mut i32) -> Result<()>

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

fn KeySpec(&self, pdw: *mut i32) -> Result<()>

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

fn ProviderFlags(&self, pdwflags: *mut i32) -> Result<()>

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

fn UseExistingKeySet(&self, fuseexistingkeys: *mut BOOL) -> Result<()>

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

fn GenKeyFlags(&self, pdwflags: *mut i32) -> Result<()>

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

fn DeleteRequestCert(&self, fdelete: *mut BOOL) -> Result<()>

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

fn WriteCertToUserDS(&self, fbool: *mut BOOL) -> Result<()>

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

fn EnableT61DNEncoding(&self, fbool: *mut BOOL) -> Result<()>

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

fn WriteCertToCSP(&self, fbool: *mut BOOL) -> Result<()>

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

fn SPCFileNameWStr(&self, szw: *mut PWSTR) -> Result<()>

fn SetSPCFileNameWStr(&self, szw: &PCWSTR) -> Result<()>

fn PVKFileNameWStr(&self, szw: *mut PWSTR) -> Result<()>

fn SetPVKFileNameWStr(&self, szw: &PCWSTR) -> Result<()>

fn HashAlgorithmWStr(&self, szw: *mut PWSTR) -> Result<()>

fn SetHashAlgorithmWStr(&self, szw: &PCWSTR) -> Result<()>

fn RenewalCertificate( &self, ppcertcontext: *mut *mut CERT_CONTEXT, ) -> Result<()>

fn SetRenewalCertificate(&self, pcertcontext: *const CERT_CONTEXT) -> Result<()>

fn AddCertTypeToRequestWStr(&self, szw: &PCWSTR) -> Result<()>

fn AddNameValuePairToSignatureWStr( &self, name: &PCWSTR, value: &PCWSTR, ) -> Result<()>

fn AddExtensionsToRequest( &self, pcertextensions: *mut CERT_EXTENSIONS, ) -> Result<()>

fn AddAuthenticatedAttributesToPKCS7Request( &self, pattributes: *mut CRYPT_ATTRIBUTES, ) -> Result<()>

fn CreatePKCS7RequestFromRequest( &self, prequest: *mut CRYPT_INTEGER_BLOB, psigningcertcontext: *const CERT_CONTEXT, ppkcs7blob: *mut CRYPT_INTEGER_BLOB, ) -> 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§