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

Trait IX509CertificateRevocationList_Impl

pub trait IX509CertificateRevocationList_Impl: IDispatch_Impl {
Show 31 methods // Required methods fn Initialize(&self) -> Result<()>; fn InitializeDecode( &self, strencodeddata: &BSTR, encoding: EncodingType, ) -> Result<()>; fn Encode(&self) -> Result<()>; fn ResetForEncode(&self) -> Result<()>; fn CheckPublicKeySignature( &self, ppublickey: Ref<'_, IX509PublicKey>, ) -> Result<()>; fn CheckSignature(&self) -> Result<()>; fn Issuer(&self) -> Result<IX500DistinguishedName>; fn SetIssuer(&self, pvalue: Ref<'_, IX500DistinguishedName>) -> Result<()>; fn ThisUpdate(&self) -> Result<f64>; fn SetThisUpdate(&self, value: f64) -> Result<()>; fn NextUpdate(&self) -> Result<f64>; fn SetNextUpdate(&self, value: f64) -> Result<()>; fn X509CRLEntries(&self) -> Result<IX509CertificateRevocationListEntries>; fn X509Extensions(&self) -> Result<IX509Extensions>; fn CriticalExtensions(&self) -> Result<IObjectIds>; fn SignerCertificate(&self) -> Result<ISignerCertificate>; fn SetSignerCertificate( &self, pvalue: Ref<'_, ISignerCertificate>, ) -> Result<()>; fn get_CRLNumber(&self, encoding: EncodingType) -> Result<BSTR>; fn put_CRLNumber(&self, encoding: EncodingType, value: &BSTR) -> Result<()>; fn CAVersion(&self) -> Result<i32>; fn SetCAVersion(&self, pvalue: i32) -> Result<()>; fn BaseCRL(&self) -> Result<VARIANT_BOOL>; fn NullSigned(&self) -> Result<VARIANT_BOOL>; fn HashAlgorithm(&self) -> Result<IObjectId>; fn SetHashAlgorithm(&self, pvalue: Ref<'_, IObjectId>) -> Result<()>; fn AlternateSignatureAlgorithm(&self) -> Result<VARIANT_BOOL>; fn SetAlternateSignatureAlgorithm(&self, value: VARIANT_BOOL) -> Result<()>; fn SignatureInformation(&self) -> Result<IX509SignatureInformation>; fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>; fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> Result<BSTR>; fn get_Signature(&self, encoding: EncodingType) -> Result<BSTR>;
}

Required Methods§

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

fn InitializeDecode( &self, strencodeddata: &BSTR, encoding: EncodingType, ) -> Result<()>

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

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

fn CheckPublicKeySignature( &self, ppublickey: Ref<'_, IX509PublicKey>, ) -> Result<()>

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

fn Issuer(&self) -> Result<IX500DistinguishedName>

fn SetIssuer(&self, pvalue: Ref<'_, IX500DistinguishedName>) -> Result<()>

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

fn SetThisUpdate(&self, value: f64) -> Result<()>

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

fn SetNextUpdate(&self, value: f64) -> Result<()>

fn X509CRLEntries(&self) -> Result<IX509CertificateRevocationListEntries>

fn X509Extensions(&self) -> Result<IX509Extensions>

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

fn SignerCertificate(&self) -> Result<ISignerCertificate>

fn SetSignerCertificate( &self, pvalue: Ref<'_, ISignerCertificate>, ) -> Result<()>

fn get_CRLNumber(&self, encoding: EncodingType) -> Result<BSTR>

fn put_CRLNumber(&self, encoding: EncodingType, value: &BSTR) -> Result<()>

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

fn SetCAVersion(&self, pvalue: i32) -> Result<()>

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

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

fn HashAlgorithm(&self) -> Result<IObjectId>

fn SetHashAlgorithm(&self, pvalue: Ref<'_, IObjectId>) -> Result<()>

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

fn SetAlternateSignatureAlgorithm(&self, value: VARIANT_BOOL) -> Result<()>

fn SignatureInformation(&self) -> Result<IX509SignatureInformation>

fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>

fn get_RawDataToBeSigned(&self, encoding: EncodingType) -> Result<BSTR>

fn get_Signature(&self, 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.

Implementors§