Struct IX509CertificateRequestPkcs7
pub struct IX509CertificateRequestPkcs7(/* private fields */);
Implementations§
§impl IX509CertificateRequestPkcs7
impl IX509CertificateRequestPkcs7
pub unsafe fn InitializeFromTemplateName( &self, context: X509CertificateEnrollmentContext, strtemplatename: &BSTR, ) -> Result<()>
pub unsafe fn InitializeFromCertificate( &self, context: X509CertificateEnrollmentContext, renewalrequest: VARIANT_BOOL, strcertificate: &BSTR, encoding: EncodingType, inheritoptions: X509RequestInheritOptions, ) -> Result<()>
pub unsafe fn InitializeFromInnerRequest<P0>(
&self,
pinnerrequest: P0,
) -> Result<()>where
P0: Param<IX509CertificateRequest>,
pub unsafe fn InitializeDecode( &self, strencodeddata: &BSTR, encoding: EncodingType, ) -> Result<()>
pub unsafe fn RequesterName(&self) -> Result<BSTR>
pub unsafe fn SetRequesterName(&self, value: &BSTR) -> Result<()>
pub unsafe fn SignerCertificate(&self) -> Result<ISignerCertificate>
pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> Result<()>where
P0: Param<ISignerCertificate>,
Methods from Deref<Target = IX509CertificateRequest>§
pub unsafe fn Initialize( &self, context: X509CertificateEnrollmentContext, ) -> Result<()>
pub unsafe fn Encode(&self) -> Result<()>
pub unsafe fn ResetForEncode(&self) -> Result<()>
pub unsafe fn GetInnerRequest( &self, level: InnerRequestLevel, ) -> Result<IX509CertificateRequest>
pub unsafe fn Type(&self) -> Result<X509RequestType>
pub unsafe fn EnrollmentContext( &self, ) -> Result<X509CertificateEnrollmentContext>
pub unsafe fn Silent(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetSilent(&self, value: VARIANT_BOOL) -> Result<()>
pub unsafe fn ParentWindow(&self) -> Result<i32>
pub unsafe fn SetParentWindow(&self, value: i32) -> Result<()>
pub unsafe fn UIContextMessage(&self) -> Result<BSTR>
pub unsafe fn SetUIContextMessage(&self, value: &BSTR) -> Result<()>
pub unsafe fn SuppressDefaults(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetSuppressDefaults(&self, value: VARIANT_BOOL) -> Result<()>
pub unsafe fn get_RenewalCertificate( &self, encoding: EncodingType, ) -> Result<BSTR>
pub unsafe fn put_RenewalCertificate( &self, encoding: EncodingType, value: &BSTR, ) -> Result<()>
pub unsafe fn ClientId(&self) -> Result<RequestClientInfoClientId>
pub unsafe fn SetClientId(&self, value: RequestClientInfoClientId) -> Result<()>
pub unsafe fn CspInformations(&self) -> Result<ICspInformations>
pub unsafe fn SetCspInformations<P0>(&self, pvalue: P0) -> Result<()>where
P0: Param<ICspInformations>,
pub unsafe fn HashAlgorithm(&self) -> Result<IObjectId>
pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> Result<()>where
P0: Param<IObjectId>,
pub unsafe fn AlternateSignatureAlgorithm(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetAlternateSignatureAlgorithm( &self, value: VARIANT_BOOL, ) -> Result<()>
pub unsafe fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IUnknown> for IX509CertificateRequestPkcs7
impl CanInto<IUnknown> for IX509CertificateRequestPkcs7
§impl CanInto<IX509CertificateRequest> for IX509CertificateRequestPkcs7
impl CanInto<IX509CertificateRequest> for IX509CertificateRequestPkcs7
§impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestCmc
impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestCmc
§impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestCmc2
impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestCmc2
§impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestPkcs7V2
impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestPkcs7V2
§impl Clone for IX509CertificateRequestPkcs7
impl Clone for IX509CertificateRequestPkcs7
§fn clone(&self) -> IX509CertificateRequestPkcs7
fn clone(&self) -> IX509CertificateRequestPkcs7
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IX509CertificateRequestPkcs7
impl Debug for IX509CertificateRequestPkcs7
§impl Deref for IX509CertificateRequestPkcs7
impl Deref for IX509CertificateRequestPkcs7
§impl From<&IX509CertificateRequestCmc> for &IX509CertificateRequestPkcs7
impl From<&IX509CertificateRequestCmc> for &IX509CertificateRequestPkcs7
§fn from(value: &IX509CertificateRequestCmc) -> Self
fn from(value: &IX509CertificateRequestCmc) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestCmc2> for &IX509CertificateRequestPkcs7
impl From<&IX509CertificateRequestCmc2> for &IX509CertificateRequestPkcs7
§fn from(value: &IX509CertificateRequestCmc2) -> Self
fn from(value: &IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestPkcs7> for &IDispatch
impl From<&IX509CertificateRequestPkcs7> for &IDispatch
§fn from(value: &IX509CertificateRequestPkcs7) -> Self
fn from(value: &IX509CertificateRequestPkcs7) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestPkcs7> for &IUnknown
impl From<&IX509CertificateRequestPkcs7> for &IUnknown
§fn from(value: &IX509CertificateRequestPkcs7) -> Self
fn from(value: &IX509CertificateRequestPkcs7) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestPkcs7> for &IX509CertificateRequest
impl From<&IX509CertificateRequestPkcs7> for &IX509CertificateRequest
§fn from(value: &IX509CertificateRequestPkcs7) -> Self
fn from(value: &IX509CertificateRequestPkcs7) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestPkcs7V2> for &IX509CertificateRequestPkcs7
impl From<&IX509CertificateRequestPkcs7V2> for &IX509CertificateRequestPkcs7
§fn from(value: &IX509CertificateRequestPkcs7V2) -> Self
fn from(value: &IX509CertificateRequestPkcs7V2) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc> for IX509CertificateRequestPkcs7
impl From<IX509CertificateRequestCmc> for IX509CertificateRequestPkcs7
§fn from(value: IX509CertificateRequestCmc) -> Self
fn from(value: IX509CertificateRequestCmc) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc2> for IX509CertificateRequestPkcs7
impl From<IX509CertificateRequestCmc2> for IX509CertificateRequestPkcs7
§fn from(value: IX509CertificateRequestCmc2) -> Self
fn from(value: IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestPkcs7> for IDispatch
impl From<IX509CertificateRequestPkcs7> for IDispatch
§fn from(value: IX509CertificateRequestPkcs7) -> Self
fn from(value: IX509CertificateRequestPkcs7) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestPkcs7> for IUnknown
impl From<IX509CertificateRequestPkcs7> for IUnknown
§fn from(value: IX509CertificateRequestPkcs7) -> Self
fn from(value: IX509CertificateRequestPkcs7) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestPkcs7> for IX509CertificateRequest
impl From<IX509CertificateRequestPkcs7> for IX509CertificateRequest
§fn from(value: IX509CertificateRequestPkcs7) -> Self
fn from(value: IX509CertificateRequestPkcs7) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestPkcs7V2> for IX509CertificateRequestPkcs7
impl From<IX509CertificateRequestPkcs7V2> for IX509CertificateRequestPkcs7
§fn from(value: IX509CertificateRequestPkcs7V2) -> Self
fn from(value: IX509CertificateRequestPkcs7V2) -> Self
Converts to this type from the input type.
§impl Interface for IX509CertificateRequestPkcs7
impl Interface for IX509CertificateRequestPkcs7
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IX509CertificateRequestPkcs7
impl PartialEq for IX509CertificateRequestPkcs7
impl Eq for IX509CertificateRequestPkcs7
impl StructuralPartialEq for IX509CertificateRequestPkcs7
Auto Trait Implementations§
impl Freeze for IX509CertificateRequestPkcs7
impl RefUnwindSafe for IX509CertificateRequestPkcs7
impl !Send for IX509CertificateRequestPkcs7
impl !Sync for IX509CertificateRequestPkcs7
impl Unpin for IX509CertificateRequestPkcs7
impl UnwindSafe for IX509CertificateRequestPkcs7
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more