pub trait IX509EndorsementKey_Impl: Sized + IDispatch_Impl {
// Required methods
fn ProviderName(&self) -> Result<BSTR>;
fn SetProviderName(&self, value: &BSTR) -> Result<()>;
fn Length(&self) -> Result<i32>;
fn Opened(&self) -> Result<VARIANT_BOOL>;
fn AddCertificate(
&self,
encoding: EncodingType,
strcertificate: &BSTR,
) -> Result<()>;
fn RemoveCertificate(
&self,
encoding: EncodingType,
strcertificate: &BSTR,
) -> Result<()>;
fn GetCertificateByIndex(
&self,
manufactureronly: VARIANT_BOOL,
dwindex: i32,
encoding: EncodingType,
) -> Result<BSTR>;
fn GetCertificateCount(&self, manufactureronly: VARIANT_BOOL) -> Result<i32>;
fn ExportPublicKey(&self) -> Result<IX509PublicKey>;
fn Open(&self) -> Result<()>;
fn Close(&self) -> Result<()>;
}
Required Methods§
fn ProviderName(&self) -> Result<BSTR>
fn SetProviderName(&self, value: &BSTR) -> Result<()>
fn Length(&self) -> Result<i32>
fn Opened(&self) -> Result<VARIANT_BOOL>
fn AddCertificate( &self, encoding: EncodingType, strcertificate: &BSTR, ) -> Result<()>
fn RemoveCertificate( &self, encoding: EncodingType, strcertificate: &BSTR, ) -> Result<()>
fn GetCertificateByIndex( &self, manufactureronly: VARIANT_BOOL, dwindex: i32, encoding: EncodingType, ) -> Result<BSTR>
fn GetCertificateCount(&self, manufactureronly: VARIANT_BOOL) -> Result<i32>
fn ExportPublicKey(&self) -> Result<IX509PublicKey>
fn Open(&self) -> Result<()>
fn Close(&self) -> Result<()>
Object Safety§
This trait is not object safe.