Trait IX509PublicKey_Impl
pub trait IX509PublicKey_Impl: IDispatch_Impl {
// Required methods
fn Initialize(
&self,
pobjectid: Ref<'_, IObjectId>,
strencodedkey: &BSTR,
strencodedparameters: &BSTR,
encoding: EncodingType,
) -> Result<()>;
fn InitializeFromEncodedPublicKeyInfo(
&self,
strencodedpublickeyinfo: &BSTR,
encoding: EncodingType,
) -> Result<()>;
fn Algorithm(&self) -> Result<IObjectId>;
fn Length(&self) -> Result<i32>;
fn get_EncodedKey(&self, encoding: EncodingType) -> Result<BSTR>;
fn get_EncodedParameters(&self, encoding: EncodingType) -> Result<BSTR>;
fn ComputeKeyIdentifier(
&self,
algorithm: KeyIdentifierHashAlgorithm,
encoding: EncodingType,
) -> Result<BSTR>;
}
Required Methods§
fn Initialize( &self, pobjectid: Ref<'_, IObjectId>, strencodedkey: &BSTR, strencodedparameters: &BSTR, encoding: EncodingType, ) -> Result<()>
fn InitializeFromEncodedPublicKeyInfo( &self, strencodedpublickeyinfo: &BSTR, encoding: EncodingType, ) -> Result<()>
fn Algorithm(&self) -> Result<IObjectId>
fn Length(&self) -> Result<i32>
fn get_EncodedKey(&self, encoding: EncodingType) -> Result<BSTR>
fn get_EncodedParameters(&self, encoding: EncodingType) -> Result<BSTR>
fn ComputeKeyIdentifier( &self, algorithm: KeyIdentifierHashAlgorithm, encoding: EncodingType, ) -> 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.