Trait windows::Win32::Storage::Xps::IXpsSignature_Impl

pub trait IXpsSignature_Impl: Sized {
    // Required methods
    fn GetSignatureId(&self) -> Result<PWSTR>;
    fn GetSignatureValue(
        &self,
        signaturehashvalue: *mut *mut u8,
        count: *mut u32,
    ) -> Result<()>;
    fn GetCertificateEnumerator(&self) -> Result<IOpcCertificateEnumerator>;
    fn GetSigningTime(&self) -> Result<PWSTR>;
    fn GetSigningTimeFormat(&self) -> Result<OPC_SIGNATURE_TIME_FORMAT>;
    fn GetSignaturePartName(&self) -> Result<IOpcPartUri>;
    fn Verify(
        &self,
        x509certificate: *const CERT_CONTEXT,
    ) -> Result<XPS_SIGNATURE_STATUS>;
    fn GetPolicy(&self) -> Result<XPS_SIGN_POLICY>;
    fn GetCustomObjectEnumerator(
        &self,
    ) -> Result<IOpcSignatureCustomObjectEnumerator>;
    fn GetCustomReferenceEnumerator(
        &self,
    ) -> Result<IOpcSignatureReferenceEnumerator>;
    fn GetSignatureXml(
        &self,
        signaturexml: *mut *mut u8,
        count: *mut u32,
    ) -> Result<()>;
    fn SetSignatureXml(&self, signaturexml: *const u8, count: u32) -> Result<()>;
}

Required Methods§

fn GetSignatureId(&self) -> Result<PWSTR>

fn GetSignatureValue( &self, signaturehashvalue: *mut *mut u8, count: *mut u32, ) -> Result<()>

fn GetCertificateEnumerator(&self) -> Result<IOpcCertificateEnumerator>

fn GetSigningTime(&self) -> Result<PWSTR>

fn GetSigningTimeFormat(&self) -> Result<OPC_SIGNATURE_TIME_FORMAT>

fn GetSignaturePartName(&self) -> Result<IOpcPartUri>

fn Verify( &self, x509certificate: *const CERT_CONTEXT, ) -> Result<XPS_SIGNATURE_STATUS>

fn GetPolicy(&self) -> Result<XPS_SIGN_POLICY>

fn GetCustomObjectEnumerator( &self, ) -> Result<IOpcSignatureCustomObjectEnumerator>

fn GetCustomReferenceEnumerator( &self, ) -> Result<IOpcSignatureReferenceEnumerator>

fn GetSignatureXml( &self, signaturexml: *mut *mut u8, count: *mut u32, ) -> Result<()>

fn SetSignatureXml(&self, signaturexml: *const u8, count: u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§