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

Trait IX509EnrollmentPolicyServer_Impl

pub trait IX509EnrollmentPolicyServer_Impl: IDispatch_Impl {
Show 24 methods // Required methods fn Initialize( &self, bstrpolicyserverurl: &BSTR, bstrpolicyserverid: &BSTR, authflags: X509EnrollmentAuthFlags, fisuntrusted: VARIANT_BOOL, context: X509CertificateEnrollmentContext, ) -> Result<()>; fn LoadPolicy(&self, option: X509EnrollmentPolicyLoadOption) -> Result<()>; fn GetTemplates(&self) -> Result<IX509CertificateTemplates>; fn GetCAsForTemplate( &self, ptemplate: Ref<'_, IX509CertificateTemplate>, ) -> Result<ICertificationAuthorities>; fn GetCAs(&self) -> Result<ICertificationAuthorities>; fn Validate(&self) -> Result<()>; fn GetCustomOids(&self) -> Result<IObjectIds>; fn GetNextUpdateTime(&self) -> Result<f64>; fn GetLastUpdateTime(&self) -> Result<f64>; fn GetPolicyServerUrl(&self) -> Result<BSTR>; fn GetPolicyServerId(&self) -> Result<BSTR>; fn GetFriendlyName(&self) -> Result<BSTR>; fn GetIsDefaultCEP(&self) -> Result<VARIANT_BOOL>; fn GetUseClientId(&self) -> Result<VARIANT_BOOL>; fn GetAllowUnTrustedCA(&self) -> Result<VARIANT_BOOL>; fn GetCachePath(&self) -> Result<BSTR>; fn GetCacheDir(&self) -> Result<BSTR>; fn GetAuthFlags(&self) -> Result<X509EnrollmentAuthFlags>; fn SetCredential( &self, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: &BSTR, strpassword: &BSTR, ) -> Result<()>; fn QueryChanges(&self) -> Result<VARIANT_BOOL>; fn InitializeImport(&self, val: &VARIANT) -> Result<()>; fn Export( &self, exportflags: X509EnrollmentPolicyExportFlags, ) -> Result<VARIANT>; fn Cost(&self) -> Result<u32>; fn SetCost(&self, value: u32) -> Result<()>;
}

Required Methods§

fn Initialize( &self, bstrpolicyserverurl: &BSTR, bstrpolicyserverid: &BSTR, authflags: X509EnrollmentAuthFlags, fisuntrusted: VARIANT_BOOL, context: X509CertificateEnrollmentContext, ) -> Result<()>

fn LoadPolicy(&self, option: X509EnrollmentPolicyLoadOption) -> Result<()>

fn GetTemplates(&self) -> Result<IX509CertificateTemplates>

fn GetCAsForTemplate( &self, ptemplate: Ref<'_, IX509CertificateTemplate>, ) -> Result<ICertificationAuthorities>

fn GetCAs(&self) -> Result<ICertificationAuthorities>

fn Validate(&self) -> Result<()>

fn GetCustomOids(&self) -> Result<IObjectIds>

fn GetNextUpdateTime(&self) -> Result<f64>

fn GetLastUpdateTime(&self) -> Result<f64>

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

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

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

fn GetIsDefaultCEP(&self) -> Result<VARIANT_BOOL>

fn GetUseClientId(&self) -> Result<VARIANT_BOOL>

fn GetAllowUnTrustedCA(&self) -> Result<VARIANT_BOOL>

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

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

fn GetAuthFlags(&self) -> Result<X509EnrollmentAuthFlags>

fn SetCredential( &self, hwndparent: i32, flag: X509EnrollmentAuthFlags, strcredential: &BSTR, strpassword: &BSTR, ) -> Result<()>

fn QueryChanges(&self) -> Result<VARIANT_BOOL>

fn InitializeImport(&self, val: &VARIANT) -> Result<()>

fn Export( &self, exportflags: X509EnrollmentPolicyExportFlags, ) -> Result<VARIANT>

fn Cost(&self) -> Result<u32>

fn SetCost(&self, value: u32) -> 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§