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

Trait IX509CertificateRequestCertificate_Impl

pub trait IX509CertificateRequestCertificate_Impl: IX509CertificateRequestPkcs10_Impl {
    // Required methods
    fn CheckPublicKeySignature(
        &self,
        ppublickey: Ref<'_, IX509PublicKey>,
    ) -> Result<()>;
    fn Issuer(&self) -> Result<IX500DistinguishedName>;
    fn SetIssuer(&self, pvalue: Ref<'_, IX500DistinguishedName>) -> Result<()>;
    fn NotBefore(&self) -> Result<f64>;
    fn SetNotBefore(&self, value: f64) -> Result<()>;
    fn NotAfter(&self) -> Result<f64>;
    fn SetNotAfter(&self, value: f64) -> Result<()>;
    fn get_SerialNumber(&self, encoding: EncodingType) -> Result<BSTR>;
    fn put_SerialNumber(
        &self,
        encoding: EncodingType,
        value: &BSTR,
    ) -> Result<()>;
    fn SignerCertificate(&self) -> Result<ISignerCertificate>;
    fn SetSignerCertificate(
        &self,
        pvalue: Ref<'_, ISignerCertificate>,
    ) -> Result<()>;
}

Required Methods§

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

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

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

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

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

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

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

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

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

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

fn SetSignerCertificate( &self, pvalue: Ref<'_, ISignerCertificate>, ) -> 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§