pub trait IOpcDigitalSignatureManager_Impl: Sized {
// Required methods
fn GetSignatureOriginPartName(&self) -> Result<IOpcPartUri>;
fn SetSignatureOriginPartName(
&self,
signatureoriginpartname: Option<&IOpcPartUri>,
) -> Result<()>;
fn GetSignatureEnumerator(&self) -> Result<IOpcDigitalSignatureEnumerator>;
fn RemoveSignature(
&self,
signaturepartname: Option<&IOpcPartUri>,
) -> Result<()>;
fn CreateSigningOptions(&self) -> Result<IOpcSigningOptions>;
fn Validate(
&self,
signature: Option<&IOpcDigitalSignature>,
certificate: *const CERT_CONTEXT,
) -> Result<OPC_SIGNATURE_VALIDATION_RESULT>;
fn Sign(
&self,
certificate: *const CERT_CONTEXT,
signingoptions: Option<&IOpcSigningOptions>,
) -> Result<IOpcDigitalSignature>;
fn ReplaceSignatureXml(
&self,
signaturepartname: Option<&IOpcPartUri>,
newsignaturexml: *const u8,
count: u32,
) -> Result<IOpcDigitalSignature>;
}
Required Methods§
fn GetSignatureOriginPartName(&self) -> Result<IOpcPartUri>
fn SetSignatureOriginPartName( &self, signatureoriginpartname: Option<&IOpcPartUri>, ) -> Result<()>
fn GetSignatureEnumerator(&self) -> Result<IOpcDigitalSignatureEnumerator>
fn RemoveSignature(&self, signaturepartname: Option<&IOpcPartUri>) -> Result<()>
fn CreateSigningOptions(&self) -> Result<IOpcSigningOptions>
fn Validate( &self, signature: Option<&IOpcDigitalSignature>, certificate: *const CERT_CONTEXT, ) -> Result<OPC_SIGNATURE_VALIDATION_RESULT>
fn Sign( &self, certificate: *const CERT_CONTEXT, signingoptions: Option<&IOpcSigningOptions>, ) -> Result<IOpcDigitalSignature>
fn ReplaceSignatureXml( &self, signaturepartname: Option<&IOpcPartUri>, newsignaturexml: *const u8, count: u32, ) -> Result<IOpcDigitalSignature>
Object Safety§
This trait is not object safe.