pub struct IX509CertificateRequestCmc2(/* private fields */);
Implementations§
§impl IX509CertificateRequestCmc2
impl IX509CertificateRequestCmc2
pub unsafe fn InitializeFromTemplate<P0, P1>(
&self,
context: X509CertificateEnrollmentContext,
ppolicyserver: P0,
ptemplate: P1,
) -> Result<()>where
P0: Param<IX509EnrollmentPolicyServer>,
P1: Param<IX509CertificateTemplate>,
pub unsafe fn InitializeFromInnerRequestTemplate<P0, P1, P2>(
&self,
pinnerrequest: P0,
ppolicyserver: P1,
ptemplate: P2,
) -> Result<()>where
P0: Param<IX509CertificateRequest>,
P1: Param<IX509EnrollmentPolicyServer>,
P2: Param<IX509CertificateTemplate>,
pub unsafe fn PolicyServer(&self) -> Result<IX509EnrollmentPolicyServer>
pub unsafe fn Template(&self) -> Result<IX509CertificateTemplate>
pub unsafe fn CheckSignature( &self, allowedsignaturetypes: Pkcs10AllowedSignatureTypes, ) -> Result<()>
pub unsafe fn CheckCertificateSignature<P0, P1>(
&self,
psignercertificate: P0,
validatecertificatechain: P1,
) -> Result<()>where
P0: Param<ISignerCertificate>,
P1: Param<VARIANT_BOOL>,
Methods from Deref<Target = IX509CertificateRequestCmc>§
pub unsafe fn InitializeFromInnerRequestTemplateName<P0, P1>(
&self,
pinnerrequest: P0,
strtemplatename: P1,
) -> Result<()>where
P0: Param<IX509CertificateRequest>,
P1: Param<BSTR>,
pub unsafe fn TemplateObjectId(&self) -> Result<IObjectId>
pub unsafe fn NullSigned(&self) -> Result<VARIANT_BOOL>
pub unsafe fn CryptAttributes(&self) -> Result<ICryptAttributes>
pub unsafe fn NameValuePairs(&self) -> Result<IX509NameValuePairs>
pub unsafe fn X509Extensions(&self) -> Result<IX509Extensions>
pub unsafe fn CriticalExtensions(&self) -> Result<IObjectIds>
pub unsafe fn SuppressOids(&self) -> Result<IObjectIds>
pub unsafe fn TransactionId(&self) -> Result<i32>
pub unsafe fn SetTransactionId(&self, value: i32) -> Result<()>
pub unsafe fn get_SenderNonce(&self, encoding: EncodingType) -> Result<BSTR>
pub unsafe fn put_SenderNonce<P0>(
&self,
encoding: EncodingType,
value: P0,
) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn SignatureInformation(&self) -> Result<IX509SignatureInformation>
pub unsafe fn ArchivePrivateKey(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetArchivePrivateKey<P0>(&self, value: P0) -> Result<()>where
P0: Param<VARIANT_BOOL>,
pub unsafe fn get_KeyArchivalCertificate( &self, encoding: EncodingType, ) -> Result<BSTR>
pub unsafe fn put_KeyArchivalCertificate<P0>(
&self,
encoding: EncodingType,
value: P0,
) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn EncryptionAlgorithm(&self) -> Result<IObjectId>
pub unsafe fn SetEncryptionAlgorithm<P0>(&self, pvalue: P0) -> Result<()>where
P0: Param<IObjectId>,
pub unsafe fn EncryptionStrength(&self) -> Result<i32>
pub unsafe fn SetEncryptionStrength(&self, value: i32) -> Result<()>
pub unsafe fn get_EncryptedKeyHash( &self, encoding: EncodingType, ) -> Result<BSTR>
pub unsafe fn SignerCertificates(&self) -> Result<ISignerCertificates>
Methods from Deref<Target = IX509CertificateRequestPkcs7>§
pub unsafe fn InitializeFromTemplateName<P0>(
&self,
context: X509CertificateEnrollmentContext,
strtemplatename: P0,
) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn InitializeFromCertificate<P0, P1>(
&self,
context: X509CertificateEnrollmentContext,
renewalrequest: P0,
strcertificate: P1,
encoding: EncodingType,
inheritoptions: X509RequestInheritOptions,
) -> Result<()>where
P0: Param<VARIANT_BOOL>,
P1: Param<BSTR>,
pub unsafe fn InitializeFromInnerRequest<P0>(
&self,
pinnerrequest: P0,
) -> Result<()>where
P0: Param<IX509CertificateRequest>,
pub unsafe fn InitializeDecode<P0>(
&self,
strencodeddata: P0,
encoding: EncodingType,
) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn RequesterName(&self) -> Result<BSTR>
pub unsafe fn SetRequesterName<P0>(&self, value: P0) -> Result<()>where
P0: Param<BSTR>,
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<P0>(&self, value: P0) -> Result<()>where
P0: Param<VARIANT_BOOL>,
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<P0>(&self, value: P0) -> Result<()>where
P0: Param<BSTR>,
pub unsafe fn SuppressDefaults(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> Result<()>where
P0: Param<VARIANT_BOOL>,
pub unsafe fn get_RenewalCertificate( &self, encoding: EncodingType, ) -> Result<BSTR>
pub unsafe fn put_RenewalCertificate<P0>(
&self,
encoding: EncodingType,
value: P0,
) -> Result<()>where
P0: Param<BSTR>,
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<P0>(&self, value: P0) -> Result<()>where
P0: Param<VARIANT_BOOL>,
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 IX509CertificateRequestCmc2
impl CanInto<IUnknown> for IX509CertificateRequestCmc2
§impl CanInto<IX509CertificateRequest> for IX509CertificateRequestCmc2
impl CanInto<IX509CertificateRequest> for IX509CertificateRequestCmc2
§impl CanInto<IX509CertificateRequestCmc> for IX509CertificateRequestCmc2
impl CanInto<IX509CertificateRequestCmc> for IX509CertificateRequestCmc2
§impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestCmc2
impl CanInto<IX509CertificateRequestPkcs7> for IX509CertificateRequestCmc2
§impl Clone for IX509CertificateRequestCmc2
impl Clone for IX509CertificateRequestCmc2
§fn clone(&self) -> IX509CertificateRequestCmc2
fn clone(&self) -> IX509CertificateRequestCmc2
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 IX509CertificateRequestCmc2
impl Debug for IX509CertificateRequestCmc2
§impl Deref for IX509CertificateRequestCmc2
impl Deref for IX509CertificateRequestCmc2
§impl From<&IX509CertificateRequestCmc2> for &IDispatch
impl From<&IX509CertificateRequestCmc2> for &IDispatch
§fn from(value: &IX509CertificateRequestCmc2) -> Self
fn from(value: &IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestCmc2> for &IUnknown
impl From<&IX509CertificateRequestCmc2> for &IUnknown
§fn from(value: &IX509CertificateRequestCmc2) -> Self
fn from(value: &IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestCmc2> for &IX509CertificateRequest
impl From<&IX509CertificateRequestCmc2> for &IX509CertificateRequest
§fn from(value: &IX509CertificateRequestCmc2) -> Self
fn from(value: &IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestCmc2> for &IX509CertificateRequestCmc
impl From<&IX509CertificateRequestCmc2> for &IX509CertificateRequestCmc
§fn from(value: &IX509CertificateRequestCmc2) -> Self
fn from(value: &IX509CertificateRequestCmc2) -> 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<IX509CertificateRequestCmc2> for IDispatch
impl From<IX509CertificateRequestCmc2> for IDispatch
§fn from(value: IX509CertificateRequestCmc2) -> Self
fn from(value: IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc2> for IUnknown
impl From<IX509CertificateRequestCmc2> for IUnknown
§fn from(value: IX509CertificateRequestCmc2) -> Self
fn from(value: IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc2> for IX509CertificateRequest
impl From<IX509CertificateRequestCmc2> for IX509CertificateRequest
§fn from(value: IX509CertificateRequestCmc2) -> Self
fn from(value: IX509CertificateRequestCmc2) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc2> for IX509CertificateRequestCmc
impl From<IX509CertificateRequestCmc2> for IX509CertificateRequestCmc
§fn from(value: IX509CertificateRequestCmc2) -> Self
fn from(value: IX509CertificateRequestCmc2) -> 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 Interface for IX509CertificateRequestCmc2
impl Interface for IX509CertificateRequestCmc2
§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.
§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 IX509CertificateRequestCmc2
impl PartialEq for IX509CertificateRequestCmc2
§fn eq(&self, other: &IX509CertificateRequestCmc2) -> bool
fn eq(&self, other: &IX509CertificateRequestCmc2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IX509CertificateRequestCmc2
impl StructuralPartialEq for IX509CertificateRequestCmc2
Auto Trait Implementations§
impl Freeze for IX509CertificateRequestCmc2
impl RefUnwindSafe for IX509CertificateRequestCmc2
impl !Send for IX509CertificateRequestCmc2
impl !Sync for IX509CertificateRequestCmc2
impl Unpin for IX509CertificateRequestCmc2
impl UnwindSafe for IX509CertificateRequestCmc2
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)