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

Trait ICertEncodeAltName_Impl

pub trait ICertEncodeAltName_Impl: IDispatch_Impl {
    // Required methods
    fn Decode(&self, strbinary: &BSTR) -> Result<()>;
    fn GetNameCount(&self) -> Result<i32>;
    fn GetNameChoice(&self, nameindex: i32) -> Result<i32>;
    fn GetName(&self, nameindex: i32) -> Result<BSTR>;
    fn Reset(&self, namecount: i32) -> Result<()>;
    fn SetNameEntry(
        &self,
        nameindex: i32,
        namechoice: CERT_ALT_NAME,
        strname: &BSTR,
    ) -> Result<()>;
    fn Encode(&self) -> Result<BSTR>;
}

Required Methods§

fn Decode(&self, strbinary: &BSTR) -> Result<()>

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

fn GetNameChoice(&self, nameindex: i32) -> Result<i32>

fn GetName(&self, nameindex: i32) -> Result<BSTR>

fn Reset(&self, namecount: i32) -> Result<()>

fn SetNameEntry( &self, nameindex: i32, namechoice: CERT_ALT_NAME, strname: &BSTR, ) -> Result<()>

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

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§