pub struct IX509CertificateRequestCmc(/* private fields */);
Implementations§
§impl IX509CertificateRequestCmc
impl IX509CertificateRequestCmc
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: IntoParam<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: IntoParam<BSTR>,
pub unsafe fn SuppressDefaults(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetSuppressDefaults<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<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: IntoParam<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: IntoParam<ICspInformations>,
pub unsafe fn HashAlgorithm(&self) -> Result<IObjectId>
pub unsafe fn SetHashAlgorithm<P0>(&self, pvalue: P0) -> Result<()>where
P0: IntoParam<IObjectId>,
pub unsafe fn AlternateSignatureAlgorithm(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetAlternateSignatureAlgorithm<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn get_RawData(&self, encoding: EncodingType) -> Result<BSTR>
pub unsafe fn InitializeFromTemplateName<P0>(
&self,
context: X509CertificateEnrollmentContext,
strtemplatename: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn InitializeFromCertificate<P0, P1>(
&self,
context: X509CertificateEnrollmentContext,
renewalrequest: P0,
strcertificate: P1,
encoding: EncodingType,
inheritoptions: X509RequestInheritOptions
) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
P1: IntoParam<BSTR>,
pub unsafe fn InitializeFromInnerRequest<P0>(
&self,
pinnerrequest: P0
) -> Result<()>where
P0: IntoParam<IX509CertificateRequest>,
pub unsafe fn InitializeDecode<P0>(
&self,
strencodeddata: P0,
encoding: EncodingType
) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn RequesterName(&self) -> Result<BSTR>
pub unsafe fn SetRequesterName<P0>(&self, value: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn SignerCertificate(&self) -> Result<ISignerCertificate>
pub unsafe fn SetSignerCertificate<P0>(&self, pvalue: P0) -> Result<()>where
P0: IntoParam<ISignerCertificate>,
pub unsafe fn InitializeFromInnerRequestTemplateName<P0, P1>(
&self,
pinnerrequest: P0,
strtemplatename: P1
) -> Result<()>where
P0: IntoParam<IX509CertificateRequest>,
P1: IntoParam<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: IntoParam<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: IntoParam<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: IntoParam<BSTR>,
pub unsafe fn EncryptionAlgorithm(&self) -> Result<IObjectId>
pub unsafe fn SetEncryptionAlgorithm<P0>(&self, pvalue: P0) -> Result<()>where
P0: IntoParam<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>
Trait Implementations§
§impl Clone for IX509CertificateRequestCmc
impl Clone for IX509CertificateRequestCmc
§fn clone(&self) -> IX509CertificateRequestCmc
fn clone(&self) -> IX509CertificateRequestCmc
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 IX509CertificateRequestCmc
impl Debug for IX509CertificateRequestCmc
§impl From<&IX509CertificateRequestCmc> for &IDispatch
impl From<&IX509CertificateRequestCmc> for &IDispatch
§fn from(value: &IX509CertificateRequestCmc) -> Self
fn from(value: &IX509CertificateRequestCmc) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestCmc> for &IUnknown
impl From<&IX509CertificateRequestCmc> for &IUnknown
§fn from(value: &IX509CertificateRequestCmc) -> Self
fn from(value: &IX509CertificateRequestCmc) -> Self
Converts to this type from the input type.
§impl From<&IX509CertificateRequestCmc> for &IX509CertificateRequest
impl From<&IX509CertificateRequestCmc> for &IX509CertificateRequest
§fn from(value: &IX509CertificateRequestCmc) -> Self
fn from(value: &IX509CertificateRequestCmc) -> 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 &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<IX509CertificateRequestCmc> for IDispatch
impl From<IX509CertificateRequestCmc> for IDispatch
§fn from(value: IX509CertificateRequestCmc) -> Self
fn from(value: IX509CertificateRequestCmc) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc> for IUnknown
impl From<IX509CertificateRequestCmc> for IUnknown
§fn from(value: IX509CertificateRequestCmc) -> Self
fn from(value: IX509CertificateRequestCmc) -> Self
Converts to this type from the input type.
§impl From<IX509CertificateRequestCmc> for IX509CertificateRequest
impl From<IX509CertificateRequestCmc> for IX509CertificateRequest
§fn from(value: IX509CertificateRequestCmc) -> Self
fn from(value: IX509CertificateRequestCmc) -> 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 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 Interface for IX509CertificateRequestCmc
impl Interface for IX509CertificateRequestCmc
§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§impl PartialEq for IX509CertificateRequestCmc
impl PartialEq for IX509CertificateRequestCmc
§fn eq(&self, other: &IX509CertificateRequestCmc) -> bool
fn eq(&self, other: &IX509CertificateRequestCmc) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IX509CertificateRequestCmc
impl StructuralPartialEq for IX509CertificateRequestCmc
Auto Trait Implementations§
impl RefUnwindSafe for IX509CertificateRequestCmc
impl !Send for IX509CertificateRequestCmc
impl !Sync for IX509CertificateRequestCmc
impl Unpin for IX509CertificateRequestCmc
impl UnwindSafe for IX509CertificateRequestCmc
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